SenseNet.ContentRepository.Storage.Schema.SchemaWriter.CreateContentListType C# (CSharp) Метод

CreateContentListType() публичный абстрактный Метод

public abstract CreateContentListType ( string name ) : void
name string
Результат void
        public abstract void CreateContentListType(string name);
        public abstract void DeleteContentListType(ContentListType contentListType);

Usage Example

Пример #1
0
 private static void WriteCreateOrModifyContentListTypes(SchemaEditor origSchema, SchemaEditor newSchema, List <PropertySet> modifiedPropertySets, SchemaWriter writer)
 {
     foreach (var newType in newSchema.ContentListTypes)
     {
         if (NeedToCreate <ContentListType>(origSchema.ContentListTypes, newType))
         {
             writer.CreateContentListType(newType.Name);
         }
         WriteAddOrRemovePropertyTypes(origSchema.ContentListTypes[newType.Name], newType, modifiedPropertySets, writer);
     }
 }