private VolumeMetadataBuilder(string label, string contentType, string rootName) { Root = Configuration.NewEmptyRoot(rootName.Default(VolumeMetadata.CONFIG_VOLUME_SECTION)); SectionSystem = Root.AddChildNode(VolumeMetadata.CONFIG_SYS_SECTION); SectionSystem.AddAttributeNode(VolumeMetadata.CONFIG_ID_ATTR, Guid.NewGuid()); SectionSystem.AddAttributeNode(VolumeMetadata.CONFIG_LABEL_ATTR, label.NonBlankMinMax(1, 1024, nameof(label))); SectionSystem.AddAttributeNode(VolumeMetadata.CONFIG_CONTENT_TYPE_ATTR, contentType.NonBlankMinMax(1, 1024, nameof(contentType))); }