Example #1
0
 public DontOwnThatCommandException() : base(UnifiedCommandsMain.GetResourceManager().GetString("excDontOwnCommand"))
 {
 }
Example #2
0
 public NotAssociatedException() : base(UnifiedCommandsMain.GetResourceManager().GetString("excNotAssociated"))
 {
 }
 //=------------------------------------------------------------------=
 // LocalizableDescriptionAttribute
 //=------------------------------------------------------------------=
 /// <summary>
 ///   Initialises a new instance of this class, taking the specified
 ///   key and obtaining the string from the resources file.
 /// </summary>
 ///
 /// <param name="key">
 ///   Key of the string resource to look for in the .resx file.
 /// </param>
 ///
 public LocalizableDescriptionAttribute(string key)
     : base(UnifiedCommandsMain.GetResourceManager().GetString(key))
 {
 }