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);
     }
 }