Show / Hide Table of Contents

Class ModelToManifestConversionContext

A model which describes the contextual state required in order to convert a validation model into a validation manifest.

Inheritance
System.Object
ModelToManifestConversionContext
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 ModelToManifestConversionContext

Properties

| Improve this Doc View Source

AccessorFromParent

Gets or sets an optional accessor function which would be used to traverse from the ParentManifestValue to the CurrentValue.

Declaration
public Func<object, object> AccessorFromParent { get; set; }
Property Value
Type Description
System.Func<System.Object, System.Object>
| Improve this Doc View Source

ConversionType

Gets a value that indicates the conversion type.

Declaration
public ModelToManifestConversionType ConversionType { get; set; }
Property Value
Type Description
ModelToManifestConversionType
| Improve this Doc View Source

CurrentValue

Gets or sets the current model Value being converted.

Declaration
public Value CurrentValue { get; set; }
Property Value
Type Description
Value
| Improve this Doc View Source

MemberName

Gets or sets an optional member name which would be used to traverse from the ParentManifestValue to the CurrentValue.

Declaration
public string MemberName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ParentManifestValue

Gets or sets an optional reference to the parent (already-converted) ManifestItem which should be used as the parent of the CurrentValue.

Declaration
public ManifestItem ParentManifestValue { get; set; }
Property Value
Type Description
ManifestItem
| Improve this Doc View Source

PolymorphicTypeName

Gets or sets the string name of the polymorphic type. Unused when ConversionType is not PolymorphicType.

Declaration
public string PolymorphicTypeName { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

ValidatedType

Gets or sets the type of the object which would be validated by the CurrentValue.

Declaration
public Type ValidatedType { get; set; }
Property Value
Type Description
System.Type
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX