/// <summary> /// /// </summary> /// <param name="SwitchDefaultAttribute"></param> /// <param name="Method"></param> private void BindDefaultMethod(CommandDefaultAttribute SwitchDefaultAttribute, MethodInfo Method) { Getopt.AddDefaultRule(() => { Method.Invoke(this, new object[] { }); }); }
/// <summary> /// /// </summary> /// <param name="SwitchDefaultAttribute"></param> /// <param name="Method"></param> private void BindDefaultMethod(CommandDefaultAttribute SwitchDefaultAttribute, MethodInfo Method) { Getopt.AddDefaultRule(() => { Method.Invoke(this, new object[] { }); }); }