public static Type ClrTypeFromPropertyTag(uint propertyTag) { return(InternalSchema.ClrTypeFromPropTag((PropTag)propertyTag)); }
private UnresolvedPropertyDefinition(PropTag propTag) : base(string.Empty, InternalSchema.ClrTypeFromPropTag(propTag)) { this.propertyTag = (uint)propTag; }
private PropertyTagPropertyDefinition(string displayName, PropTag propertyTag, PropertyTagPropertyDefinition.PropTagKey key, PropertyFlags flags, bool isCustom, PropertyDefinitionConstraint[] constraints) : base(PropertyTypeSpecifier.PropertyTag, displayName, InternalSchema.ClrTypeFromPropTag(propertyTag), propertyTag.ValueType(), PropertyTagPropertyDefinition.CalculatePropertyTagPropertyFlags(propertyTag, flags), constraints) { if (propertyTag.IsNamedProperty() || !propertyTag.IsValid()) { throw new ArgumentException("Invalid property tag", "propertyTag"); } this.InternalKey = key; this.propertyTag = propertyTag; }