/// <summary> /// Creates an instance of <see cref="AomPropertyType" /> /// </summary> /// <param name="name">The name of a property that this entity describes</param> /// <param name="propertyValueType"> /// An instance of <see cref="Type" /> that represents the type of the described property /// </param> public AomPropertyType(string name, Type propertyValueType) { AomPropertyType.ValidateConstructorInputs(name, propertyValueType); this._name = name; this._fullTypeName = propertyValueType.AssemblyQualifiedName; this._type = propertyValueType; }
/// <summary> /// Creates an instance of <see cref="AomProperty" />. /// </summary> /// <param name="type"> /// An instance of <see cref="AomPropertyType" /> that represents the type of the property /// </param> public AomProperty(AomPropertyType type) { if (type == null) { throw new ArgumentNullException("type"); } this._type = type; }
/// <summary> /// Creates an instance of <see cref="AomProperty" /> /// /// </summary> /// <param name="type"> /// An instance of <see cref="AomPropertyType" /> that represents the type of the property /// </param> /// <param name="value">The value of the property</param> public AomProperty(AomPropertyType type, object value) { if (type == null) { throw new ArgumentNullException("type"); } this._type = type; this.SetCurrentValue(value); }