Search Results for

    Show / Hide Table of Contents

    Class OneOfThese

    Inheritance
    Object
    Attribute
    ValidationAttribute
    OneOfThese
    Inherited Members
    ValidationAttribute.FormatErrorMessage(String)
    ValidationAttribute.GetValidationResult(Object, ValidationContext)
    ValidationAttribute.IsValid(Object)
    ValidationAttribute.Validate(Object, ValidationContext)
    ValidationAttribute.Validate(Object, String)
    ValidationAttribute.ErrorMessage
    ValidationAttribute.ErrorMessageResourceName
    ValidationAttribute.ErrorMessageResourceType
    ValidationAttribute.ErrorMessageString
    ValidationAttribute.RequiresValidationContext
    Attribute.Equals(Object)
    Attribute.GetCustomAttribute(Assembly, Type)
    Attribute.GetCustomAttribute(Assembly, Type, Boolean)
    Attribute.GetCustomAttribute(MemberInfo, Type)
    Attribute.GetCustomAttribute(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttribute(Module, Type)
    Attribute.GetCustomAttribute(Module, Type, Boolean)
    Attribute.GetCustomAttribute(ParameterInfo, Type)
    Attribute.GetCustomAttribute(ParameterInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Assembly)
    Attribute.GetCustomAttributes(Assembly, Boolean)
    Attribute.GetCustomAttributes(Assembly, Type)
    Attribute.GetCustomAttributes(Assembly, Type, Boolean)
    Attribute.GetCustomAttributes(MemberInfo)
    Attribute.GetCustomAttributes(MemberInfo, Boolean)
    Attribute.GetCustomAttributes(MemberInfo, Type)
    Attribute.GetCustomAttributes(MemberInfo, Type, Boolean)
    Attribute.GetCustomAttributes(Module)
    Attribute.GetCustomAttributes(Module, Boolean)
    Attribute.GetCustomAttributes(Module, Type)
    Attribute.GetCustomAttributes(Module, Type, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo)
    Attribute.GetCustomAttributes(ParameterInfo, Boolean)
    Attribute.GetCustomAttributes(ParameterInfo, Type)
    Attribute.GetCustomAttributes(ParameterInfo, Type, Boolean)
    Attribute.GetHashCode()
    Attribute.IsDefaultAttribute()
    Attribute.IsDefined(Assembly, Type)
    Attribute.IsDefined(Assembly, Type, Boolean)
    Attribute.IsDefined(MemberInfo, Type)
    Attribute.IsDefined(MemberInfo, Type, Boolean)
    Attribute.IsDefined(Module, Type)
    Attribute.IsDefined(Module, Type, Boolean)
    Attribute.IsDefined(ParameterInfo, Type)
    Attribute.IsDefined(ParameterInfo, Type, Boolean)
    Attribute.Match(Object)
    Attribute.TypeId
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: AnalysisPrograms.Production.Validation
    Assembly: AnalysisPrograms.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class OneOfThese : ValidationAttribute

    Constructors

    | Improve this Doc View Source

    OneOfThese(String[])

    Declaration
    public OneOfThese(params string[] validItems)
    Parameters
    Type Name Description
    String[] validItems

    Properties

    | Improve this Doc View Source

    ExceptionMessage

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

    ValidItems

    Declaration
    public string[] ValidItems { get; set; }
    Property Value
    Type Description
    String[]

    Methods

    | Improve this Doc View Source

    IsValid(Object, ValidationContext)

    Declaration
    protected override ValidationResult IsValid(object value, ValidationContext validationContext)
    Parameters
    Type Name Description
    Object value
    ValidationContext validationContext
    Returns
    Type Description
    ValidationResult
    Overrides
    ValidationAttribute.IsValid(Object, ValidationContext)

    Extension Methods

    ObjectExtensions.NotNull(Object)
    ObjectExtensions.AsArray<T>(T)
    ObjectExtensions.AsList<T>(T)
    ObjectExtensions.Wrap<T>(T)
    SystemExtensions.BinarySerialize(Object)
    ConfigFileExtensions.NotNull(Object, FileInfo, String, String)
    ConfigFileExtensions.ValidateNotNull(Object, String, String)
    ConfigFileExtensions.ValidateLessThan<T>(Object, Nullable<T>, String, Nullable<T>, String, String)
    ExtensionsXml.SerializeObject<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Generated by DocFX AP docs version: 21.7.0.4-master-e26127a50d7bd7472d47288f10e61014fb981f7f-DIRTY-CI:144 Back to top