Пример #1
0
        public static ContentEmbedded CreateContentEmbedded(this ContentSchema schema)
        {
            ContentEmbedded item = new ContentEmbedded(schema);

            ApplySchema(item, schema);

            return(item);
        }
Пример #2
0
        public static ContentItem CreateContentItem(this ContentSchema schema)
        {
            ContentItem item = new ContentItem(schema);

            ApplySchema(item, schema);

            return(item);
        }
Пример #3
0
 public ContentItem(Guid id, ContentSchema schema)
     : this(schema)
 {
     _id = id;
 }
Пример #4
0
 public ContentItem(ContentSchema schema)
 {
     _schema = schema;
     _fields = new ContentFields();
 }
Пример #5
0
 public ContentEmbedded(ContentSchema schema)
 {
     _schema = schema;
     _fields = new ContentFields();
 }