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
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
IgnoreCase
Default = false
public bool IgnoreCase { get; init; }
Property Value
ParameterSeparator
public char ParameterSeparator { get; init; }
Property Value
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
Equals(object?)
public override bool Equals(object? obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builder
StringBuilder
Returns
ToString()
public override string ToString()
Returns
<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
operator !=(ComponentInteractionServiceConfiguration<TContext>?, ComponentInteractionServiceConfiguration<TContext>?)
public static bool operator !=(ComponentInteractionServiceConfiguration<TContext>? left, ComponentInteractionServiceConfiguration<TContext>? right)
Parameters
left
ComponentInteractionServiceConfiguration<TContext>right
ComponentInteractionServiceConfiguration<TContext>