Class IdentityAccessorPopulatingManifestFromModelConversionContextDecorator
A decorator for IGetsManifestItemFromModelToManifestConversionContext which populates the IdentityAccessor if the result of the appropriate type.
Inheritance
System.Object
IdentityAccessorPopulatingManifestFromModelConversionContextDecorator
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.ManifestModel
Assembly: CSF.Validation.dll
Syntax
public class IdentityAccessorPopulatingManifestFromModelConversionContextDecorator : IGetsManifestItemFromModelToManifestConversionContext
Constructors
| Improve this Doc View SourceIdentityAccessorPopulatingManifestFromModelConversionContextDecorator(IGetsManifestItemFromModelToManifestConversionContext, IGetsAccessorFunction)
Initialises a new instance of IdentityAccessorPopulatingManifestFromModelConversionContextDecorator.
Declaration
public IdentityAccessorPopulatingManifestFromModelConversionContextDecorator(IGetsManifestItemFromModelToManifestConversionContext wrapped, IGetsAccessorFunction accessorFactory)
Parameters
Type | Name | Description |
---|---|---|
IGetsManifestItemFromModelToManifestConversionContext | wrapped | The wrapped service. |
IGetsAccessorFunction | accessorFactory | An accessor function factory. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | If any parameter is null. |
Methods
| Improve this Doc View SourceGetManifestItem(ModelToManifestConversionContext)
Gets a manifest item from the specified conversion context.
Declaration
public ManifestItem GetManifestItem(ModelToManifestConversionContext context)
Parameters
Type | Name | Description |
---|---|---|
ModelToManifestConversionContext | context | A conversion context. |
Returns
Type | Description |
---|---|
ManifestItem | A manifest item. |