Gets a preference from the list of preferences. The name of the preference to retrieve. The value of the preference, or an empty string if the preference is not set. If is .
(string preferenceName)
| 88 | /// <returns>The value of the preference, or an empty string if the preference is not set.</returns> |
| 89 | /// <exception cref="ArgumentNullException">If <paramref name="preferenceName"/> is <see langword="null"/>.</exception> |
| 90 | internal string GetPreference(string preferenceName) |
| 91 | { |
| 92 | if (this.preferences.ContainsKey(preferenceName)) |
| 93 | { |
| 94 | return this.preferences[preferenceName]; |
| 95 | } |
| 96 | |
| 97 | return string.Empty; |
| 98 | } |
| 99 | |
| 100 | /// <summary> |
| 101 | /// Appends this set of preferences to the specified set of preferences. |
no outgoing calls
no test coverage detected