Exemple #1
0
        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;
        }
Exemple #2
0
 public ActionExcutionOrderAttribute(ExcutionType excution)
 {
     _excution = excution;
 }