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); }
public Propity(Property property) { _property = property; }