1 write to EnumType
System.ComponentModel.DataAnnotations (1)
DataAnnotations\EnumDataTypeAttribute.cs (1)
14this.EnumType = enumType;
10 references to EnumType
System.ComponentModel.DataAnnotations (9)
DataAnnotations\EnumDataTypeAttribute.cs (9)
23if (this.EnumType == null) { 26if (!this.EnumType.IsEnum) { 27throw new InvalidOperationException(String.Format(CultureInfo.CurrentCulture, DataAnnotationsResources.EnumDataTypeAttribute_TypeNeedsToBeAnEnum, this.EnumType.FullName)); 39if (valueType.IsEnum && this.EnumType != valueType) { 66convertedValue = Enum.Parse(this.EnumType, stringValue, false); 68convertedValue = Enum.ToObject(this.EnumType, value); 76if (IsEnumTypeInFlagsMode(this.EnumType)) { 81string underlying = GetUnderlyingTypeValueString(this.EnumType, convertedValue); 85return Enum.IsDefined(this.EnumType, convertedValue);
System.Web.DynamicData (1)
DynamicData\DynamicDataExtensions.cs (1)
389return column.Attributes.GetAttributePropertyValue<EnumDataTypeAttribute, Type>(a => a.EnumType, null) ??