/// <summary> /// Initializes a new instance of the <see cref="PropertyBag" /> class. /// </summary> /// <param name="typeName">Name of the type.</param> /// <param name="typeDefinition">The type definition.</param> /// <param name="propertyName">Name of the property.</param> /// <param name="propertyType">Type of the property.</param> /// <param name="collectionInnerTypes">The collection inner types.</param> /// <param name="transformablePropertyType">Type of the transformable property.</param> /// <param name="hasDefaultValue">if set to <c>true</c> [has default value].</param> /// <param name="defaultValue">The default value.</param> public PropertyBag(string typeName, Type typeDefinition, string propertyName, Type propertyType, List <PropertyBagTypeInfo> collectionInnerTypes, TransformablePropertyTypeEnum transformablePropertyType, bool hasDefaultValue, object defaultValue) { TypeName = typeName; PropertyName = propertyName; PropertyType = propertyType; CollectionInnerTypes = collectionInnerTypes; HasDefaultValue = hasDefaultValue; DefaultValue = defaultValue; TransformablePropertyType = transformablePropertyType; TypeDefinition = typeDefinition; }
/// <summary> /// Initializes a new instance of the <see cref="PropertyBag" /> class. /// </summary> /// <param name="typeName">Name of the type.</param> /// <param name="typeDefinition">The type definition.</param> /// <param name="propertyName">Name of the property.</param> /// <param name="propertyType">Type of the property.</param> /// <param name="collectionInnerTypes">The collection inner types.</param> /// <param name="transformablePropertyType">Type of the transformable property.</param> /// <param name="hasDefaultValue">if set to <c>true</c> [has default value].</param> /// <param name="defaultValue">The default value.</param> public PropertyBag(string typeName, Type typeDefinition, string propertyName, Type propertyType, List<PropertyBagTypeInfo> collectionInnerTypes, TransformablePropertyTypeEnum transformablePropertyType, bool hasDefaultValue, object defaultValue) { TypeName = typeName; PropertyName = propertyName; PropertyType = propertyType; CollectionInnerTypes = collectionInnerTypes; HasDefaultValue = hasDefaultValue; DefaultValue = defaultValue; TransformablePropertyType = transformablePropertyType; TypeDefinition = typeDefinition; }