Show / Hide Table of Contents

Class ValidationAnnotation

A validation annotation.

Inheritance
System.Object
System.Dynamic.DynamicObject
ExpandoBase
Expando
NamedElementBase<IAnnotation>
Annotation
AttributeAnnotation<System.ComponentModel.DataAnnotations.ValidationAttribute>
ValidationAnnotation
Implements
IAttributeAnnotation
IAnnotation
INamedElement
IAggregatedElementInfo
IElementInfo
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
IAttributeProvider
Inherited Members
AttributeAnnotation<ValidationAttribute>.Attribute
AttributeAnnotation<ValidationAttribute>.IAttributeAnnotation.Attribute
AttributeAnnotation<ValidationAttribute>.GetAttributes<TRuntimeAttribute>()
Annotation.AllowMultiple
Annotation.Annotations
NamedElementBase<IAnnotation>.Logger
NamedElementBase<IAnnotation>.Name
NamedElementBase<IAnnotation>.IElementInfo.DeclaringContainer
NamedElementBase<IAnnotation>.IElementInfo.Annotations
NamedElementBase<IAnnotation>.IAggregatedElementInfo.Parts
NamedElementBase<IAnnotation>.QualifiedFullName
NamedElementBase<IAnnotation>.FullName
NamedElementBase<IAnnotation>.DeclaringContainer
NamedElementBase<IAnnotation>.ModelSpace
NamedElementBase<IAnnotation>.IsInherited
NamedElementBase<IAnnotation>.ConstructionMonitor
NamedElementBase<IAnnotation>.Parts
NamedElementBase<IAnnotation>.ToString()
NamedElementBase<IAnnotation>.OnCompleteConstruction(IModelConstructionContext)
NamedElementBase<IAnnotation>.AddPart(Object)
NamedElementBase<IAnnotation>.AddMember(INamedElement)
ExpandoBase.Item[String]
ExpandoBase.GetDynamicMemberNames()
ExpandoBase.HasDynamicMember(String)
ExpandoBase.TryGetMember(GetMemberBinder, Object)
ExpandoBase.TrySetMember(SetMemberBinder, Object)
ExpandoBase.TryInvokeMember(InvokeMemberBinder, Object[], Object)
ExpandoBase.ToDictionary(Func<String, String>, Func<Object, Object>)
ExpandoBase.GetInnerObjectTypeInfo()
ExpandoBase.GetThisTypeInfo()
ExpandoBase.TryGetValue(String, Object)
ExpandoBase.TrySetValue(String, Object)
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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)
Namespace: Kephas.Data.Model.Elements.Annotations
Assembly: Kephas.Data.Model.dll
Syntax
public class ValidationAnnotation : AttributeAnnotation<ValidationAttribute>, IConstructibleElement, IAttributeAnnotation, IAnnotation, INamedElement, IAggregatedElementInfo, IElementInfo, IExpando, IDynamicMetaObjectProvider, IIndexable, IAttributeProvider

Constructors

| Improve this Doc View Source

ValidationAnnotation(IModelConstructionContext, String, ValidationAttribute)

Initializes a new instance of the ValidationAnnotation class.

Declaration
public ValidationAnnotation(IModelConstructionContext constructionContext, string name, ValidationAttribute validationAttribute)
Parameters
Type Name Description
IModelConstructionContext constructionContext

Context for the construction.

System.String name

The model element name.

System.ComponentModel.DataAnnotations.ValidationAttribute validationAttribute

The validation attribute.

Methods

| Improve this Doc View Source

GetValidationAttribute()

Gets validation attribute.

Declaration
public ValidationAttribute GetValidationAttribute()
Returns
Type Description
System.ComponentModel.DataAnnotations.ValidationAttribute

The validation attribute.

Implements

IAttributeAnnotation
IAnnotation
INamedElement
IAggregatedElementInfo
IElementInfo
IExpando
System.Dynamic.IDynamicMetaObjectProvider
IIndexable
IAttributeProvider

Extension Methods

DynamicObjectExtensions.SetPropertyValue(Object, String, Object)
DynamicObjectExtensions.TrySetPropertyValue(Object, String, Object)
DynamicObjectExtensions.GetPropertyValue(Object, String)
DynamicObjectExtensions.TryGetPropertyValue(Object, String, out Object)
DynamicObjectExtensions.GetRuntimeTypeInfo(Object)
DynamicObjectExtensions.ToDynamic(Object)
DynamicObjectExtensions.ToExpando(Object)
BehaviorValue.ToBehaviorValue<TValue>(TValue)
CollectionExtensions.AddRange<T, TItem>(T, IEnumerable<TItem>)
LoggingExtensions.GetLogger(Object, IContext)
TypeExtensions.GetAbstractType(Object)
TypeExtensions.GetAbstractTypeInfo(Object)
ReflectionHelper.GetTypeInfo(Object)
RuntimeTypeInfoExtensions.IsExcludedFromModel(IAttributeProvider)
EntityEntryExtensions.TryGetAttachedEntityEntry(Object)
  • Improve this Doc
  • View Source
Back to top Generated by DocFX