Class SubclassClassifier<T, C>
Inheritance
System.Object
SubclassClassifier<T, C>
Assembly: Steeltoe.Common.dll
Syntax
public class SubclassClassifier<T, C> : object, IClassifier<T, C>
Type Parameters
Constructors
|
Edit this page
View Source
SubclassClassifier()
Declaration
public SubclassClassifier()
|
Edit this page
View Source
SubclassClassifier(C)
Declaration
public SubclassClassifier(C defaultValue)
Parameters
Type |
Name |
Description |
C |
defaultValue |
|
|
Edit this page
View Source
SubclassClassifier(ConcurrentDictionary<Type, C>, C)
Declaration
public SubclassClassifier(ConcurrentDictionary<Type, C> typeMap, C defaultValue)
Parameters
Type |
Name |
Description |
ConcurrentDictionary<Type, C> |
typeMap |
|
C |
defaultValue |
|
Properties
|
Edit this page
View Source
DefaultValue
Declaration
public C DefaultValue { get; set; }
Property Value
|
Edit this page
View Source
TypeMap
Declaration
protected ConcurrentDictionary<Type, C> TypeMap { get; set; }
Property Value
Type |
Description |
ConcurrentDictionary<Type, C> |
|
Methods
|
Edit this page
View Source
Classify(T)
Declaration
public virtual C Classify(T classifiable)
Parameters
Type |
Name |
Description |
T |
classifiable |
|
Returns
Implements