Class OneWayOperationValidator
Provides the capability to validate if a given type has conforms to Copper's one-way operation requirements.
Inheritance
System.Object
OneWayOperationValidator
Namespace: Copper.Common.Validators
Assembly: Copper.Common.dll
Syntax
public static class OneWayOperationValidator
Methods
View SourceHasOneWayOperations(Type)
Determines whether the type to validate has only valid one-way operations.
Declaration
public static bool HasOneWayOperations(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type to validate. |
Returns
Type | Description |
---|---|
System.Boolean |
|
Validate(Type)
Determines whether the type to validate has only valid one-way operations.
Declaration
public static void Validate(Type type)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type to validate. |
Validate<TType>()
Determines whether the type to validate has only valid one-way operations.
Declaration
public static void Validate<TType>()
Type Parameters
Name | Description |
---|---|
TType | The type to validate. |