Class CommandServiceConfiguration<TContext>
public record CommandServiceConfiguration<TContext> : IEquatable<CommandServiceConfiguration<TContext>> where TContext : ICommandContext
Type Parameters
TContext
- Inheritance
-
CommandServiceConfiguration<TContext>
- Implements
-
IEquatable<CommandServiceConfiguration<TContext>>
- Inherited Members
Constructors
CommandServiceConfiguration(CommandServiceConfiguration<TContext>)
protected CommandServiceConfiguration(CommandServiceConfiguration<TContext> original)
Parameters
original
CommandServiceConfiguration<TContext>
Properties
CultureInfo
public CultureInfo CultureInfo { get; init; }
Property Value
Default
public static CommandServiceConfiguration<TContext> Default { get; }
Property Value
- CommandServiceConfiguration<TContext>
EnumTypeReader
public CommandTypeReader<TContext> EnumTypeReader { get; init; }
Property Value
- CommandTypeReader<TContext>
EqualityContract
protected virtual Type EqualityContract { get; }
Property Value
IgnoreCase
Default = true
public bool IgnoreCase { get; init; }
Property Value
ParameterSeparators
Default = ' ', '\n'
public IEnumerable<char> ParameterSeparators { get; init; }
Property Value
ResultResolverProvider
public IResultResolverProvider<TContext> ResultResolverProvider { get; init; }
Property Value
- IResultResolverProvider<TContext>
TypeReaders
public ImmutableDictionary<Type, CommandTypeReader<TContext>> TypeReaders { get; init; }
Property Value
- ImmutableDictionary<Type, CommandTypeReader<TContext>>
Methods
Equals(CommandServiceConfiguration<TContext>?)
public virtual bool Equals(CommandServiceConfiguration<TContext>? other)
Parameters
other
CommandServiceConfiguration<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 CommandServiceConfiguration<TContext> <Clone>$()
Returns
- CommandServiceConfiguration<TContext>
Operators
operator ==(CommandServiceConfiguration<TContext>?, CommandServiceConfiguration<TContext>?)
public static bool operator ==(CommandServiceConfiguration<TContext>? left, CommandServiceConfiguration<TContext>? right)
Parameters
left
CommandServiceConfiguration<TContext>right
CommandServiceConfiguration<TContext>
Returns
operator !=(CommandServiceConfiguration<TContext>?, CommandServiceConfiguration<TContext>?)
public static bool operator !=(CommandServiceConfiguration<TContext>? left, CommandServiceConfiguration<TContext>? right)
Parameters
left
CommandServiceConfiguration<TContext>right
CommandServiceConfiguration<TContext>