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