public DynamicTypeDescriptorBuilder AddProperty(DynamicTypeProperty property, Action <DynamicTypePropertyBuilder> configuration = null)
        {
            var builder = new DynamicTypePropertyBuilder(property);

            configuration?.Invoke(builder);
            dynamicTypeDescriptor.AddProperty(builder.Build());
            return(this);
        }
 public DynamicTypePropertiesBuilder(PropertyInfo propertyInfo)
 {
     property = new DynamicTypeProperty(propertyInfo);
 }
 internal void AddProperty(DynamicTypeProperty property)
 {
     properties.Add(property);
 }
 public DynamicTypePropertiesBuilder(string name, Type type)
 {
     property = new DynamicTypeProperty(name, type);
 }
 public DynamicTypePropertyBuilder(DynamicTypeProperty property)
 {
     this.property = property;
 }