Table of Contents

Class ComponentInteractionServiceConfiguration<TContext>

Namespace
NetCord.Services.ComponentInteractions
Assembly
NetCord.Services.dll
public record ComponentInteractionServiceConfiguration<TContext> : IEquatable<ComponentInteractionServiceConfiguration<TContext>> where TContext : IComponentInteractionContext

Type Parameters

TContext
Inheritance
ComponentInteractionServiceConfiguration<TContext>
Implements
Inherited Members

Constructors

ComponentInteractionServiceConfiguration(ComponentInteractionServiceConfiguration<TContext>)

protected ComponentInteractionServiceConfiguration(ComponentInteractionServiceConfiguration<TContext> original)

Parameters

original ComponentInteractionServiceConfiguration<TContext>

Properties

CultureInfo

public CultureInfo CultureInfo { get; init; }

Property Value

CultureInfo

Default

public static ComponentInteractionServiceConfiguration<TContext> Default { get; }

Property Value

ComponentInteractionServiceConfiguration<TContext>

EnumTypeReader

public ComponentInteractionTypeReader<TContext> EnumTypeReader { get; init; }

Property Value

ComponentInteractionTypeReader<TContext>

EqualityContract

protected virtual Type EqualityContract { get; }

Property Value

Type

IgnoreCase

Default = false

public bool IgnoreCase { get; init; }

Property Value

bool

ParameterSeparator

public char ParameterSeparator { get; init; }

Property Value

char

ResultResolverProvider

public IResultResolverProvider<TContext> ResultResolverProvider { get; init; }

Property Value

IResultResolverProvider<TContext>

TypeReaders

public ImmutableDictionary<Type, ComponentInteractionTypeReader<TContext>> TypeReaders { get; init; }

Property Value

ImmutableDictionary<Type, ComponentInteractionTypeReader<TContext>>

Methods

Equals(ComponentInteractionServiceConfiguration<TContext>?)

public virtual bool Equals(ComponentInteractionServiceConfiguration<TContext>? other)

Parameters

other ComponentInteractionServiceConfiguration<TContext>

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected virtual bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

<Clone>$()

public virtual ComponentInteractionServiceConfiguration<TContext> <Clone>$()

Returns

ComponentInteractionServiceConfiguration<TContext>

Operators

operator ==(ComponentInteractionServiceConfiguration<TContext>?, ComponentInteractionServiceConfiguration<TContext>?)

public static bool operator ==(ComponentInteractionServiceConfiguration<TContext>? left, ComponentInteractionServiceConfiguration<TContext>? right)

Parameters

left ComponentInteractionServiceConfiguration<TContext>
right ComponentInteractionServiceConfiguration<TContext>

Returns

bool

operator !=(ComponentInteractionServiceConfiguration<TContext>?, ComponentInteractionServiceConfiguration<TContext>?)

public static bool operator !=(ComponentInteractionServiceConfiguration<TContext>? left, ComponentInteractionServiceConfiguration<TContext>? right)

Parameters

left ComponentInteractionServiceConfiguration<TContext>
right ComponentInteractionServiceConfiguration<TContext>

Returns

bool