/// <param name="scope">What kind of handler is it?</param> /// <param name="levelType">What level types should it be on?</param> /// <param name="levelName">Which level does it specifically run on?</param> public HandlerAttribute(HandlerScope scope, LevelType levelType, string levelName) : this(scope, levelType) { LevelNames = new string[] { levelName }; }
/// <param name="scope">What kind of handler is it?</param> /// <param name="levelType">What level types should it be on?</param> /// <param name="levelName1">A level it runs on</param> /// <param name="levelName2">A level it runs on</param> /// <param name="levelName3">A level it runs on</param> /// <param name="levelName4">A level it runs on</param> /// <param name="levelName5">A level it runs on</param> public HandlerAttribute(HandlerScope scope, LevelType levelType, string levelName1, string levelName2, string levelName3, string levelName4, string levelName5) : this(scope, levelType) { LevelNames = new string[] { levelName1, levelName2, levelName3, levelName4, levelName5 }; }
/// <param name="scope">What kind of handler is it?</param> /// <param name="levelType">What level types should it be on? Default is All</param> public HandlerAttribute(HandlerScope scope, LevelType levelType = LevelType.All) { Scope = scope; LevelType = levelType; }