Rebel.Cms.Web.Model.BackOffice.Editors.PackageDefinitionEditorModel.PackageDefinitionEditorModel C# (CSharp) Method

PackageDefinitionEditorModel() public method

public PackageDefinitionEditorModel ( ) : System
return System
        public PackageDefinitionEditorModel()
        {
            DocumentTypeIds = Enumerable.Empty<HiveId>();
            MediaTypeIds = Enumerable.Empty<HiveId>();
            TemplateIds = Enumerable.Empty<HiveId>();
            PartialIds = Enumerable.Empty<HiveId>();
            StylesheetIds = Enumerable.Empty<HiveId>();
            ScriptIds = Enumerable.Empty<HiveId>();
            MacroIds = Enumerable.Empty<HiveId>();
            LanguageIds = Enumerable.Empty<string>();
            DictionaryItemIds = Enumerable.Empty<HiveId>();
            DataTypeIds = Enumerable.Empty<HiveId>();
            AdditionalFiles = Enumerable.Empty<string>();

            Config = @"<?xml version=""1.0"" encoding=""utf-8"" ?>
<configuration>

  <system.web>
    <pages>
      <namespaces>
        <add namespace=""System.Web.Mvc"" />
      </namespaces>
    </pages>
  </system.web>

</configuration>";

            PopulateUIElements();
        }