Exemplo n.º 1
0
 /// <summary>
 /// Constructor.
 /// </summary>
 public SettingsGroupDescriptor(Type settingsClass)
 {
     _name                      = SettingsClassMetaDataReader.GetGroupName(settingsClass);
     _version                   = SettingsClassMetaDataReader.GetVersion(settingsClass);
     _description               = SettingsClassMetaDataReader.GetGroupDescription(settingsClass);
     _hasUserScopedSettings     = SettingsClassMetaDataReader.HasUserScopedSettings(settingsClass);
     _assemblyQualifiedTypeName = GetSafeClassName(settingsClass);
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public SettingsGroupDescriptor(Type settingsClass)
 {
     Name                      = SettingsClassMetaDataReader.GetGroupName(settingsClass);
     Version                   = SettingsClassMetaDataReader.GetVersion(settingsClass, true);
     Description               = SettingsClassMetaDataReader.GetGroupDescription(settingsClass);
     HasUserScopedSettings     = SettingsClassMetaDataReader.HasUserScopedSettings(settingsClass);
     AssemblyQualifiedTypeName = GetSafeClassName(settingsClass);
 }