Endjin.Assembly.ChangeDetection.Infrastructure.Tracer.ErrorExecute C# (CSharp) Метод

ErrorExecute() публичный Метод

Execute the given callback when the current trace level and error severit filter let it pass.
public ErrorExecute ( System.Action action ) : bool
action System.Action The action.
Результат bool
        public bool ErrorExecute(Action action)
        {
            if (TracerConfig.Instance.IsEnabled(this.myType, MessageTypes.Error, this.myLevel))
            {
                action();
                return true;
            }
            return false;
        }