/// <summary> /// 保存 ProcessDataMethod /// </summary> /// <param name="processDataMethod"></param> public void SetProcessDataMethod(MethodInfo processDataMethod) { _processDataMethodAttr = AOPHelper.GetCustomAttribute <T>(processDataMethod); }
/// <summary> /// 保存 AfterProcessMethod /// </summary> /// <param name="afterProcessMethod"></param> public void SetAfterProcessMethod(MethodInfo afterProcessMethod) { _afterProcessMethodAttr = AOPHelper.GetCustomAttribute <T>(afterProcessMethod); }
/// <summary> /// 保存 beforPrepareMethod /// </summary> /// <param name="beforPrepareMethod"></param> public void SetBeforePrepareMethod(MethodInfo beforPrepareMethod) { _beforPrepareMethodAttr = AOPHelper.GetCustomAttribute <T>(beforPrepareMethod); }