private static void CalculateExecutionType() { ActionExcutionOrderAttribute actionExecutionOrder = ReflectionCache.GetCustomAttribute <ActionExcutionOrderAttribute>(typeof(T), true); if (actionExecutionOrder != null) { _excutionType = actionExecutionOrder.ExcutionType; } else { _excutionType = ExcutionType.None; } //TargetTenantDataAttribute targetTenantDataNeeded = ReflectionCache.GetCustomAttribute<TargetTenantDataAttribute>(typeof(T), true); //if (targetTenantDataNeeded != null) // fetchDataFromTarget = targetTenantDataNeeded.Fetch; //else // fetchDataFromTarget = false; }
public ActionExcutionOrderAttribute(ExcutionType excution) { _excution = excution; }