/// <summary> /// Returns a descriptor populated from this instance. /// </summary> /// <returns></returns> public virtual SettingsGroupDescriptor GetDescriptor() { return(new SettingsGroupDescriptor( _name, VersionUtils.FromPaddedVersionString(_versionString), _description, _assemblyQualifiedTypeName, _hasUserScopedSettings)); }
private static ConfigurationDocumentHeader GetDocumentHeader(ConfigurationDocument document) { var key = new ConfigurationDocumentKey( document.DocumentName, VersionUtils.FromPaddedVersionString(document.DocumentVersionString), document.User, document.InstanceKey); return(new ConfigurationDocumentHeader(key, document.CreationTime, document.Body.ModifiedTime)); }