public static void CreateStronglyTypedCollection() { var ns = new NamespaceDeclaration("Collections"); var st = new CollectionTemplate(); st.ElementType = typeof(string).Name; st.Generate(ns); Output(ns); }
public EndpointUrlBuilder(ManagementOptions options) { _taxonomyTemplate = new TaxonomyTemplate(); _assetTemplate = new AssetTemplate(); _assetRenditionTemplate = new AssetRenditionTemplate(); _languageTemplate = new LanguageTemplate(); _snippetTemplate = new SnippetTemplate(); _collectionTemplate = new CollectionTemplate(); _typeTemplate = new TypeTemplate(); _validateTemplate = new ValidateTemplate(); _variantTemplate = new VariantTemplate(); _webhookTemplate = new WebhookTemplate(); _workflowTemplate = new WorkflowTemplate(); _itemTemplate = new ItemTemplate(); _projectRolesTemplate = new ProjectRolesTemplate(); _userTemplate = new UserTemplate(); _options = options; }