Beispiel #1
0
 /// <summary>
 /// Merges the given set of options into the current set. See
 /// "ResetOptions" if you want to get rid of existing options before
 /// setting new ones.
 /// </summary>
 /// <param name="opts">Options to merge with the current set.</param>
 protected void SetOptions(OptionHash opts)
 {
     m_properties.Merge(opts);
 }
Beispiel #2
0
 /// <summary>
 /// Resets existing options and then fills it up with the given ones.
 /// </summary>
 /// <param name="newOpts">New options to replace all existing ones.</param>
 protected void ResetOptions(OptionHash newOpts)
 {
     m_properties.Clear();
     m_properties.Merge(newOpts);
 }