ZeroInstall.Store.Config.GetOption C# (CSharp) Méthode

GetOption() public méthode

Retrieves the string representation of an option identified by a key.
is invalid.
public GetOption ( string key ) : string
key string The key of the option to retrieve.
Résultat string
        public string GetOption(string key)
        {
            return _metaData[key].Value;
        }

Usage Example

Exemple #1
0
 /// <inheritdoc/>
 public bool Equals(Config other)
 {
     if (other == null)
     {
         return(false);
     }
     return(_metaData.All(property => property.Value.Value == other.GetOption(property.Key)));
 }
All Usage Examples Of ZeroInstall.Store.Config::GetOption