Castle.MicroKernel.Context.CreationContext.CreationContext.AddContextualProperty C# (CSharp) Method

AddContextualProperty() public method

public AddContextualProperty ( object key, object value ) : void
key object
value object
return void
		public void AddContextualProperty(object key, object value)
		{
			if (key == null)
			{
				throw new ArgumentNullException("key");
			}
			if (extendedProperties == null)
			{
				extendedProperties = new Dictionary<object, object>();
			}
			extendedProperties.Add(key, value);
		}