public void SetInstigator(Type type, InstigatorDelegate instigator, bool clear = false) { if (type.ContainsCustomAttribute <HttpDelegateAttribute>()) { var actionDelAttr = type.GetCustomAttribute <HttpDelegateAttribute>(); var code = actionDelAttr.StatusCode; if (!clear) { instigators.AddOrReplace(code, instigator); return; } if (instigators.ContainsKey(code)) { instigators.Remove(code); } } }
public void SetInstigator(Type type, InstigatorDelegate instigator, bool clear = false) { throw new NotImplementedException(); }