/// <summary>
		/// Set a Property using the values in the <see cref="LevelEntry"/> argument
		/// </summary>
		/// <param name="propertyEntry">the property value</param>
		/// <remarks>
		/// <para>
		/// Set a Property using the values in the <see cref="LevelEntry"/> argument.
		/// </para>
		/// <para>
		/// Supports setting property values via the configuration file.
		/// </para>
		/// </remarks>
		internal void AddProperty(PropertyEntry propertyEntry)
		{
			if (propertyEntry == null) throw new ArgumentNullException("propertyEntry");
			if (propertyEntry.Key == null) throw new ArgumentNullException("propertyEntry.Key");

			Properties[propertyEntry.Key] = propertyEntry.Value;
		}
Example #2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="entry"></param>
 public void AddProperty(PropertyEntry entry)
 {
     properties[entry.Key] = entry.Value;
 }
Example #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="entry"></param>
 public void AddProperty(PropertyEntry entry)
 {
     properties[entry.Key] = entry.Value;
 }