Ejemplo n.º 1
0
 /// <summary>
 /// Normalizes a command that has two possible names.
 /// If either of the commands has a null or empty value, those keys are removed.
 /// If both the the primary and secondary are present, the secondary is removed.
 /// Otherwise, the secondary is renamed to the primary name.
 /// </summary>
 /// <param name="primary"></param>
 /// <param name="secondary"></param>
 public ResizeSettings Normalize(string primary, string secondary)
 {
     return((ResizeSettings)NameValueCollectionExtensions.Normalize(this, primary, secondary));
 }