/// <summary> /// Constructor for ProvisioningTemplate class /// </summary> public ProvisioningTemplate() { this.connector = new FileSystemConnector(".", ""); this._localizations = new LocalizationCollection(this); this._siteFields = new FieldCollection(this); this._contentTypes = new ContentTypeCollection(this); this._propertyBags = new PropertyBagEntryCollection(this); this._lists = new ListInstanceCollection(this); this._siteSecurity = new SiteSecurity(); this._siteSecurity.ParentTemplate = this; this._composedLook = new ComposedLook(); this._composedLook.ParentTemplate = this; this._features = new Features(); this._features.ParentTemplate = this; this._customActions = new CustomActions(); this._customActions.ParentTemplate = this; this._files = new FileCollection(this); this._directories = new DirectoryCollection(this); this._providers = new ProviderCollection(this); // Deprecated this._extensibilityHandlers = new ExtensibilityHandlerCollection(this); this._pages = new PageCollection(this); this._termGroups = new TermGroupCollection(this); this._supportedUILanguages = new SupportedUILanguageCollection(this); this._addins = new AddInCollection(this); this._siteWebhooks = new SiteWebhookCollection(this); this._clientSidePages = new ClientSidePageCollection(this); }
/// <summary> /// Constructor for the Folder class /// </summary> public Folder() { this.Security = new ObjectSecurity(); this._folders = new FolderCollection(this.ParentTemplate); this._propertyBags = new PropertyBagEntryCollection(this.ParentTemplate); }