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
originalCommandServiceConfiguration<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
Defaults to true.
public bool IgnoreCase { get; init; }
Property Value
ParameterSeparators
Defaults to [' ', '\n'].
public IEnumerable<char> ParameterSeparators { get; init; }
Property Value
ResultResolverProvider
public IResultResolverProvider<TContext> ResultResolverProvider { get; init; }
Property Value
- IResultResolverProvider<TContext>
ServiceResolverProvider
public IServiceResolverProvider ServiceResolverProvider { get; init; }
Property Value
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
otherCommandServiceConfiguration<TContext>
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CommandServiceConfiguration<TContext>?, CommandServiceConfiguration<TContext>?)
public static bool operator ==(CommandServiceConfiguration<TContext>? left, CommandServiceConfiguration<TContext>? right)
Parameters
leftCommandServiceConfiguration<TContext>rightCommandServiceConfiguration<TContext>
Returns
operator !=(CommandServiceConfiguration<TContext>?, CommandServiceConfiguration<TContext>?)
public static bool operator !=(CommandServiceConfiguration<TContext>? left, CommandServiceConfiguration<TContext>? right)
Parameters
leftCommandServiceConfiguration<TContext>rightCommandServiceConfiguration<TContext>