CCNet.Common.ProjectHelper.GetFromProperty C# (CSharp) Method

GetFromProperty() private static method

Gets reference field from a property.
private static GetFromProperty ( string>.IDictionary properties, string key ) : string
properties string>.IDictionary
key string
return string
		private static string GetFromProperty(IDictionary<string, string> properties, string key)
		{
			string result = null;
			if (properties.ContainsKey(key))
			{
				result = properties[key];
				properties.Remove(key);
			}

			return result;
		}