DesktopAnalytics.Analytics.SetApplicationProperty C# (CSharp) Метод

SetApplicationProperty() публичный статический Метод

Add a property that says something about the application, which goes out with every event.
public static SetApplicationProperty ( string key, string value ) : void
key string
value string
Результат void
		public static void SetApplicationProperty(string key, string value)
		{
			if (string.IsNullOrEmpty(key))
				throw new ArgumentNullException(key);
			if (value == null)
				value = string.Empty;
			if (_singleton._propertiesThatGoWithEveryEvent.ContainsKey(key))
			{
				_singleton._propertiesThatGoWithEveryEvent.Remove(key);
			}
			_singleton._propertiesThatGoWithEveryEvent.Add(key, value);
		}