Пример #1
0
        public static void AddPropity(this IContentType contentType, string propertyName = null, string type = null, object defaltValue = null)
        {
            var property = new Property
            {
                Name = propertyName,
                Type = type,
                DefaultValue = defaltValue
            };

            contentType.Properties.Add(property);
        }
Пример #2
0
 public Propity(Property property)
 {
     _property = property;
 }