1 // Licensed to the .NET Foundation under one or more agreements. 2 // The .NET Foundation licenses this file to you under the MIT license. 3 // See the LICENSE file in the project root for more information. 4 5 [assembly:System.Reflection.AssemblyVersionAttribute("4.0.0.0")] 6 [assembly:System.CLSCompliantAttribute(true)] 7 [assembly:System.Diagnostics.DebuggableAttribute((System.Diagnostics.DebuggableAttribute.DebuggingModes)(2))] 8 [assembly:System.Reflection.AssemblyCompanyAttribute("Mono development team")] 9 [assembly:System.Reflection.AssemblyCopyrightAttribute("(c) Various Mono authors")] 10 [assembly:System.Reflection.AssemblyDefaultAliasAttribute("System.ComponentModel.DataAnnotations.dll")] 11 [assembly:System.Reflection.AssemblyDescriptionAttribute("System.ComponentModel.DataAnnotations.dll")] 12 [assembly:System.Reflection.AssemblyFileVersionAttribute("4.6.57.0")] 13 [assembly:System.Reflection.AssemblyInformationalVersionAttribute("4.6.57.0")] 14 [assembly:System.Reflection.AssemblyProductAttribute("Mono Common Language Infrastructure")] 15 [assembly:System.Reflection.AssemblyTitleAttribute("System.ComponentModel.DataAnnotations.dll")] 16 [assembly:System.Resources.NeutralResourcesLanguageAttribute("en-US")] 17 [assembly:System.Resources.SatelliteContractVersionAttribute("4.0.0.0")] 18 [assembly:System.Runtime.CompilerServices.CompilationRelaxationsAttribute(8)] 19 [assembly:System.Runtime.CompilerServices.ReferenceAssemblyAttribute] 20 [assembly:System.Runtime.CompilerServices.RuntimeCompatibilityAttribute(WrapNonExceptionThrows=true)] 21 [assembly:System.Runtime.InteropServices.ComVisibleAttribute(false)] 22 [assembly:System.Security.AllowPartiallyTrustedCallersAttribute] 23 namespace System.ComponentModel.DataAnnotations 24 { 25 public partial class AssociatedMetadataTypeTypeDescriptionProvider : System.ComponentModel.TypeDescriptionProvider 26 { AssociatedMetadataTypeTypeDescriptionProvider(System.Type type)27 public AssociatedMetadataTypeTypeDescriptionProvider(System.Type type) { } AssociatedMetadataTypeTypeDescriptionProvider(System.Type type, System.Type associatedMetadataType)28 public AssociatedMetadataTypeTypeDescriptionProvider(System.Type type, System.Type associatedMetadataType) { } GetTypeDescriptor(System.Type objectType, object instance)29 public override System.ComponentModel.ICustomTypeDescriptor GetTypeDescriptor(System.Type objectType, object instance) { throw null; } 30 } 31 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false, Inherited=true)] 32 public sealed partial class AssociationAttribute : System.Attribute 33 { AssociationAttribute(string name, string thisKey, string otherKey)34 public AssociationAttribute(string name, string thisKey, string otherKey) { } 35 public bool IsForeignKey { get { throw null; } set { } } 36 public string Name { get { throw null; } } 37 public string OtherKey { get { throw null; } } 38 public System.Collections.Generic.IEnumerable<string> OtherKeyMembers { get { throw null; } } 39 public string ThisKey { get { throw null; } } 40 public System.Collections.Generic.IEnumerable<string> ThisKeyMembers { get { throw null; } } 41 } 42 [System.AttributeUsageAttribute((System.AttributeTargets)(28), AllowMultiple=false, Inherited=true)] 43 public sealed partial class BindableTypeAttribute : System.Attribute 44 { BindableTypeAttribute()45 public BindableTypeAttribute() { } 46 public bool IsBindable { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 47 } 48 [System.AttributeUsageAttribute((System.AttributeTargets)(128), AllowMultiple=false)] 49 public partial class CompareAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 50 { CompareAttribute(string otherProperty)51 public CompareAttribute(string otherProperty) { } 52 public string OtherProperty { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 53 public string OtherPropertyDisplayName { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 54 public override bool RequiresValidationContext { get { throw null; } } FormatErrorMessage(string name)55 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)56 protected override System.ComponentModel.DataAnnotations.ValidationResult IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { throw null; } 57 } 58 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false, Inherited=true)] 59 public sealed partial class ConcurrencyCheckAttribute : System.Attribute 60 { ConcurrencyCheckAttribute()61 public ConcurrencyCheckAttribute() { } 62 } 63 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 64 public sealed partial class CreditCardAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 65 { CreditCardAttribute()66 public CreditCardAttribute() : base (default(System.ComponentModel.DataAnnotations.DataType)) { } IsValid(object value)67 public override bool IsValid(object value) { throw null; } 68 } 69 [System.AttributeUsageAttribute((System.AttributeTargets)(2500), AllowMultiple=true)] 70 public sealed partial class CustomValidationAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 71 { CustomValidationAttribute(System.Type validatorType, string method)72 public CustomValidationAttribute(System.Type validatorType, string method) { } 73 public string Method { get { throw null; } } 74 public override object TypeId { get { throw null; } } 75 public System.Type ValidatorType { get { throw null; } } FormatErrorMessage(string name)76 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)77 protected override System.ComponentModel.DataAnnotations.ValidationResult IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { throw null; } 78 } 79 public enum DataType 80 { 81 CreditCard = 14, 82 Currency = 6, 83 Custom = 0, 84 Date = 2, 85 DateTime = 1, 86 Duration = 4, 87 EmailAddress = 10, 88 Html = 8, 89 ImageUrl = 13, 90 MultilineText = 9, 91 Password = 11, 92 PhoneNumber = 5, 93 PostalCode = 15, 94 Text = 7, 95 Time = 3, 96 Upload = 16, 97 Url = 12, 98 } 99 [System.AttributeUsageAttribute((System.AttributeTargets)(2496), AllowMultiple=false)] 100 public partial class DataTypeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 101 { DataTypeAttribute(System.ComponentModel.DataAnnotations.DataType dataType)102 public DataTypeAttribute(System.ComponentModel.DataAnnotations.DataType dataType) { } DataTypeAttribute(string customDataType)103 public DataTypeAttribute(string customDataType) { } 104 public string CustomDataType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 105 public System.ComponentModel.DataAnnotations.DataType DataType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 106 public System.ComponentModel.DataAnnotations.DisplayFormatAttribute DisplayFormat { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]protected set { } } GetDataTypeName()107 public virtual string GetDataTypeName() { throw null; } IsValid(object value)108 public override bool IsValid(object value) { throw null; } 109 } 110 [System.AttributeUsageAttribute((System.AttributeTargets)(2496), AllowMultiple=false)] 111 public sealed partial class DisplayAttribute : System.Attribute 112 { DisplayAttribute()113 public DisplayAttribute() { } 114 public bool AutoGenerateField { get { throw null; } set { } } 115 public bool AutoGenerateFilter { get { throw null; } set { } } 116 public string Description { get { throw null; } set { } } 117 public string GroupName { get { throw null; } set { } } 118 public string Name { get { throw null; } set { } } 119 public int Order { get { throw null; } set { } } 120 public string Prompt { get { throw null; } set { } } 121 public System.Type ResourceType { get { throw null; } set { } } 122 public string ShortName { get { throw null; } set { } } GetAutoGenerateField()123 public System.Nullable<bool> GetAutoGenerateField() { throw null; } GetAutoGenerateFilter()124 public System.Nullable<bool> GetAutoGenerateFilter() { throw null; } GetDescription()125 public string GetDescription() { throw null; } GetGroupName()126 public string GetGroupName() { throw null; } GetName()127 public string GetName() { throw null; } GetOrder()128 public System.Nullable<int> GetOrder() { throw null; } GetPrompt()129 public string GetPrompt() { throw null; } GetShortName()130 public string GetShortName() { throw null; } 131 } 132 [System.AttributeUsageAttribute((System.AttributeTargets)(4), Inherited=true, AllowMultiple=false)] 133 public partial class DisplayColumnAttribute : System.Attribute 134 { DisplayColumnAttribute(string displayColumn)135 public DisplayColumnAttribute(string displayColumn) { } DisplayColumnAttribute(string displayColumn, string sortColumn)136 public DisplayColumnAttribute(string displayColumn, string sortColumn) { } DisplayColumnAttribute(string displayColumn, string sortColumn, bool sortDescending)137 public DisplayColumnAttribute(string displayColumn, string sortColumn, bool sortDescending) { } 138 public string DisplayColumn { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 139 public string SortColumn { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 140 public bool SortDescending { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 141 } 142 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 143 public partial class DisplayFormatAttribute : System.Attribute 144 { DisplayFormatAttribute()145 public DisplayFormatAttribute() { } 146 public bool ApplyFormatInEditMode { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 147 public bool ConvertEmptyStringToNull { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 148 public string DataFormatString { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 149 public bool HtmlEncode { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 150 public string NullDisplayText { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 151 } 152 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false, Inherited=true)] 153 public sealed partial class EditableAttribute : System.Attribute 154 { EditableAttribute(bool allowEdit)155 public EditableAttribute(bool allowEdit) { } 156 public bool AllowEdit { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 157 public bool AllowInitialValue { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } 158 } 159 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 160 public sealed partial class EmailAddressAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 161 { EmailAddressAttribute()162 public EmailAddressAttribute() : base (default(System.ComponentModel.DataAnnotations.DataType)) { } IsValid(object value)163 public override bool IsValid(object value) { throw null; } 164 } 165 [System.AttributeUsageAttribute((System.AttributeTargets)(2496), AllowMultiple=false)] 166 public sealed partial class EnumDataTypeAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 167 { EnumDataTypeAttribute(System.Type enumType)168 public EnumDataTypeAttribute(System.Type enumType) : base (default(System.ComponentModel.DataAnnotations.DataType)) { } 169 public System.Type EnumType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } IsValid(object value)170 public override bool IsValid(object value) { throw null; } 171 } 172 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 173 public sealed partial class FileExtensionsAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 174 { FileExtensionsAttribute()175 public FileExtensionsAttribute() : base (default(System.ComponentModel.DataAnnotations.DataType)) { } 176 public string Extensions { get { throw null; } set { } } FormatErrorMessage(string name)177 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)178 public override bool IsValid(object value) { throw null; } 179 } 180 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 181 public sealed partial class FilterUIHintAttribute : System.Attribute 182 { FilterUIHintAttribute(string filterUIHint)183 public FilterUIHintAttribute(string filterUIHint) { } FilterUIHintAttribute(string filterUIHint, string presentationLayer)184 public FilterUIHintAttribute(string filterUIHint, string presentationLayer) { } FilterUIHintAttribute(string filterUIHint, string presentationLayer, params object[] controlParameters)185 public FilterUIHintAttribute(string filterUIHint, string presentationLayer, params object[] controlParameters) { } 186 public System.Collections.Generic.IDictionary<string, object> ControlParameters { get { throw null; } } 187 public string FilterUIHint { get { throw null; } } 188 public string PresentationLayer { get { throw null; } } 189 public override object TypeId { get { throw null; } } Equals(object obj)190 public override bool Equals(object obj) { throw null; } GetHashCode()191 public override int GetHashCode() { throw null; } 192 } 193 public partial interface IValidatableObject 194 { Validate(System.ComponentModel.DataAnnotations.ValidationContext validationContext)195 System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> Validate(System.ComponentModel.DataAnnotations.ValidationContext validationContext); 196 } 197 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false, Inherited=true)] 198 public sealed partial class KeyAttribute : System.Attribute 199 { KeyAttribute()200 public KeyAttribute() { } 201 } 202 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 203 public partial class MaxLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 204 { MaxLengthAttribute()205 public MaxLengthAttribute() { } MaxLengthAttribute(int length)206 public MaxLengthAttribute(int length) { } 207 public int Length { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } FormatErrorMessage(string name)208 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)209 public override bool IsValid(object value) { throw null; } 210 } 211 [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false)] 212 public sealed partial class MetadataTypeAttribute : System.Attribute 213 { MetadataTypeAttribute(System.Type metadataClassType)214 public MetadataTypeAttribute(System.Type metadataClassType) { } 215 public System.Type MetadataClassType { get { throw null; } } 216 } 217 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 218 public partial class MinLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 219 { MinLengthAttribute(int length)220 public MinLengthAttribute(int length) { } 221 public int Length { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } FormatErrorMessage(string name)222 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)223 public override bool IsValid(object value) { throw null; } 224 } 225 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 226 public sealed partial class PhoneAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 227 { PhoneAttribute()228 public PhoneAttribute() : base (default(System.ComponentModel.DataAnnotations.DataType)) { } IsValid(object value)229 public override bool IsValid(object value) { throw null; } 230 } 231 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 232 public partial class RangeAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 233 { RangeAttribute(double minimum, double maximum)234 public RangeAttribute(double minimum, double maximum) { } RangeAttribute(int minimum, int maximum)235 public RangeAttribute(int minimum, int maximum) { } RangeAttribute(System.Type type, string minimum, string maximum)236 public RangeAttribute(System.Type type, string minimum, string maximum) { } 237 public object Maximum { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 238 public object Minimum { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 239 public System.Type OperandType { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } FormatErrorMessage(string name)240 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)241 public override bool IsValid(object value) { throw null; } 242 } 243 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 244 public partial class RegularExpressionAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 245 { RegularExpressionAttribute(string pattern)246 public RegularExpressionAttribute(string pattern) { } 247 public string Pattern { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } FormatErrorMessage(string name)248 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)249 public override bool IsValid(object value) { throw null; } 250 } 251 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 252 public partial class RequiredAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 253 { RequiredAttribute()254 public RequiredAttribute() { } 255 public bool AllowEmptyStrings { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } IsValid(object value)256 public override bool IsValid(object value) { throw null; } 257 } 258 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 259 public partial class ScaffoldColumnAttribute : System.Attribute 260 { ScaffoldColumnAttribute(bool scaffold)261 public ScaffoldColumnAttribute(bool scaffold) { } 262 public bool Scaffold { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 263 } 264 [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false)] 265 public partial class ScaffoldTableAttribute : System.Attribute 266 { ScaffoldTableAttribute(bool scaffold)267 public ScaffoldTableAttribute(bool scaffold) { } 268 public bool Scaffold { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 269 } 270 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 271 public partial class StringLengthAttribute : System.ComponentModel.DataAnnotations.ValidationAttribute 272 { StringLengthAttribute(int maximumLength)273 public StringLengthAttribute(int maximumLength) { } 274 public int MaximumLength { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 275 public int MinimumLength { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } [System.Runtime.CompilerServices.CompilerGeneratedAttribute]set { } } FormatErrorMessage(string name)276 public override string FormatErrorMessage(string name) { throw null; } IsValid(object value)277 public override bool IsValid(object value) { throw null; } 278 } 279 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false, Inherited=true)] 280 public sealed partial class TimestampAttribute : System.Attribute 281 { TimestampAttribute()282 public TimestampAttribute() { } 283 } 284 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=true)] 285 public partial class UIHintAttribute : System.Attribute 286 { UIHintAttribute(string uiHint)287 public UIHintAttribute(string uiHint) { } UIHintAttribute(string uiHint, string presentationLayer)288 public UIHintAttribute(string uiHint, string presentationLayer) { } UIHintAttribute(string uiHint, string presentationLayer, params object[] controlParameters)289 public UIHintAttribute(string uiHint, string presentationLayer, params object[] controlParameters) { } 290 public System.Collections.Generic.IDictionary<string, object> ControlParameters { get { throw null; } } 291 public string PresentationLayer { get { throw null; } } 292 public override object TypeId { get { throw null; } } 293 public string UIHint { get { throw null; } } Equals(object obj)294 public override bool Equals(object obj) { throw null; } GetHashCode()295 public override int GetHashCode() { throw null; } 296 } 297 [System.AttributeUsageAttribute((System.AttributeTargets)(2432), AllowMultiple=false)] 298 public sealed partial class UrlAttribute : System.ComponentModel.DataAnnotations.DataTypeAttribute 299 { UrlAttribute()300 public UrlAttribute() : base (default(System.ComponentModel.DataAnnotations.DataType)) { } IsValid(object value)301 public override bool IsValid(object value) { throw null; } 302 } 303 public abstract partial class ValidationAttribute : System.Attribute 304 { ValidationAttribute()305 protected ValidationAttribute() { } ValidationAttribute(System.Func<string> errorMessageAccessor)306 protected ValidationAttribute(System.Func<string> errorMessageAccessor) { } ValidationAttribute(string errorMessage)307 protected ValidationAttribute(string errorMessage) { } 308 public string ErrorMessage { get { throw null; } set { } } 309 public string ErrorMessageResourceName { get { throw null; } set { } } 310 public System.Type ErrorMessageResourceType { get { throw null; } set { } } 311 protected string ErrorMessageString { get { throw null; } } 312 public virtual bool RequiresValidationContext { get { throw null; } } FormatErrorMessage(string name)313 public virtual string FormatErrorMessage(string name) { throw null; } GetValidationResult(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)314 public System.ComponentModel.DataAnnotations.ValidationResult GetValidationResult(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { throw null; } IsValid(object value)315 public virtual bool IsValid(object value) { throw null; } IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)316 protected virtual System.ComponentModel.DataAnnotations.ValidationResult IsValid(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { throw null; } Validate(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)317 public void Validate(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { } Validate(object value, string name)318 public void Validate(object value, string name) { } 319 } 320 public sealed partial class ValidationContext : System.IServiceProvider 321 { ValidationContext(object instance)322 public ValidationContext(object instance) { } ValidationContext(object instance, System.Collections.Generic.IDictionary<object, object> items)323 public ValidationContext(object instance, System.Collections.Generic.IDictionary<object, object> items) { } ValidationContext(object instance, System.IServiceProvider serviceProvider, System.Collections.Generic.IDictionary<object, object> items)324 public ValidationContext(object instance, System.IServiceProvider serviceProvider, System.Collections.Generic.IDictionary<object, object> items) { } 325 public string DisplayName { get { throw null; } set { } } 326 public System.Collections.Generic.IDictionary<object, object> Items { get { throw null; } } 327 public string MemberName { get { throw null; } set { } } 328 public object ObjectInstance { get { throw null; } } 329 public System.Type ObjectType { get { throw null; } } 330 public System.ComponentModel.Design.IServiceContainer ServiceContainer { get { throw null; } } GetService(System.Type serviceType)331 public object GetService(System.Type serviceType) { throw null; } InitializeServiceProvider(System.Func<System.Type, object> serviceProvider)332 public void InitializeServiceProvider(System.Func<System.Type, object> serviceProvider) { } 333 } 334 [System.SerializableAttribute] 335 public partial class ValidationException : System.Exception 336 { ValidationException()337 public ValidationException() { } ValidationException(System.ComponentModel.DataAnnotations.ValidationResult validationResult, System.ComponentModel.DataAnnotations.ValidationAttribute validatingAttribute, object value)338 public ValidationException(System.ComponentModel.DataAnnotations.ValidationResult validationResult, System.ComponentModel.DataAnnotations.ValidationAttribute validatingAttribute, object value) { } ValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context)339 protected ValidationException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context) { } ValidationException(string message)340 public ValidationException(string message) { } ValidationException(string errorMessage, System.ComponentModel.DataAnnotations.ValidationAttribute validatingAttribute, object value)341 public ValidationException(string errorMessage, System.ComponentModel.DataAnnotations.ValidationAttribute validatingAttribute, object value) { } ValidationException(string message, System.Exception innerException)342 public ValidationException(string message, System.Exception innerException) { } 343 public System.ComponentModel.DataAnnotations.ValidationAttribute ValidationAttribute { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 344 public System.ComponentModel.DataAnnotations.ValidationResult ValidationResult { get { throw null; } } 345 public object Value { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 346 } 347 public partial class ValidationResult 348 { 349 public static readonly System.ComponentModel.DataAnnotations.ValidationResult Success; ValidationResult(System.ComponentModel.DataAnnotations.ValidationResult validationResult)350 protected ValidationResult(System.ComponentModel.DataAnnotations.ValidationResult validationResult) { } ValidationResult(string errorMessage)351 public ValidationResult(string errorMessage) { } ValidationResult(string errorMessage, System.Collections.Generic.IEnumerable<string> memberNames)352 public ValidationResult(string errorMessage, System.Collections.Generic.IEnumerable<string> memberNames) { } 353 public string ErrorMessage { get { throw null; } set { } } 354 public System.Collections.Generic.IEnumerable<string> MemberNames { get { throw null; } } ToString()355 public override string ToString() { throw null; } 356 } 357 public static partial class Validator 358 { TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults)359 public static bool TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults) { throw null; } TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults, bool validateAllProperties)360 public static bool TryValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults, bool validateAllProperties) { throw null; } TryValidateProperty(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults)361 public static bool TryValidateProperty(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults) { throw null; } TryValidateValue(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationAttribute> validationAttributes)362 public static bool TryValidateValue(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.ICollection<System.ComponentModel.DataAnnotations.ValidationResult> validationResults, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationAttribute> validationAttributes) { throw null; } ValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext)363 public static void ValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { } ValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, bool validateAllProperties)364 public static void ValidateObject(object instance, System.ComponentModel.DataAnnotations.ValidationContext validationContext, bool validateAllProperties) { } ValidateProperty(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext)365 public static void ValidateProperty(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext) { } ValidateValue(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationAttribute> validationAttributes)366 public static void ValidateValue(object value, System.ComponentModel.DataAnnotations.ValidationContext validationContext, System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationAttribute> validationAttributes) { } 367 } 368 } 369 namespace System.ComponentModel.DataAnnotations.Schema 370 { 371 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 372 public partial class ColumnAttribute : System.Attribute 373 { ColumnAttribute()374 public ColumnAttribute() { } ColumnAttribute(string name)375 public ColumnAttribute(string name) { } 376 public string Name { get { throw null; } } 377 public int Order { get { throw null; } set { } } 378 public string TypeName { get { throw null; } set { } } 379 } 380 [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false)] 381 public partial class ComplexTypeAttribute : System.Attribute 382 { ComplexTypeAttribute()383 public ComplexTypeAttribute() { } 384 } 385 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 386 public partial class DatabaseGeneratedAttribute : System.Attribute 387 { DatabaseGeneratedAttribute(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption)388 public DatabaseGeneratedAttribute(System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption databaseGeneratedOption) { } 389 public System.ComponentModel.DataAnnotations.Schema.DatabaseGeneratedOption DatabaseGeneratedOption { [System.Runtime.CompilerServices.CompilerGeneratedAttribute]get { throw null; } } 390 } 391 public enum DatabaseGeneratedOption 392 { 393 Computed = 2, 394 Identity = 1, 395 None = 0, 396 } 397 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 398 public partial class ForeignKeyAttribute : System.Attribute 399 { ForeignKeyAttribute(string name)400 public ForeignKeyAttribute(string name) { } 401 public string Name { get { throw null; } } 402 } 403 [System.AttributeUsageAttribute((System.AttributeTargets)(384), AllowMultiple=false)] 404 public partial class InversePropertyAttribute : System.Attribute 405 { InversePropertyAttribute(string property)406 public InversePropertyAttribute(string property) { } 407 public string Property { get { throw null; } } 408 } 409 [System.AttributeUsageAttribute((System.AttributeTargets)(388), AllowMultiple=false)] 410 public partial class NotMappedAttribute : System.Attribute 411 { NotMappedAttribute()412 public NotMappedAttribute() { } 413 } 414 [System.AttributeUsageAttribute((System.AttributeTargets)(4), AllowMultiple=false)] 415 public partial class TableAttribute : System.Attribute 416 { TableAttribute(string name)417 public TableAttribute(string name) { } 418 public string Name { get { throw null; } } 419 public string Schema { get { throw null; } set { } } 420 } 421 } 422