/// <summary> /// Add sections of content to the URN separated by ':'. Each section will /// be individually escaped. /// </summary> /// <param name="content">The content sections to add.</param> /// <returns></returns> public ISectionedContent WithSectionedContent(params string[] content) { this.namespaceSpecificString = new SectionedNamespaceSpecificString(content); return(this); }
/// <summary> /// Add a custom namespace specific string to the URN. /// </summary> /// <typeparam name="TNss">The type of NSS to add.</typeparam> /// <param name="content">The NSS to add that contains the content for the URN.</param> /// <returns></returns> public IBuildableUrn WithCustomNss <TNss>(TNss content) where TNss : NamespaceSpecificString { this.namespaceSpecificString = content; return(this); }
/// <summary> /// Add raw content to the URN, this will be escaped. /// </summary> /// <param name="content">The content to add.</param> /// <returns></returns> public IRawUrn WithRawContent(string content) { this.namespaceSpecificString = new RawNamespaceSpecificString(content); return(this); }