public static ActionHandlerAttributesInfo GetActionHandlerAttributesInfo(this Type actionHandlerType) { if (ActionHandlerAttributesInfos.TryGetValue(actionHandlerType, out ActionHandlerAttributesInfo authActionHandlerInfo)) { return(authActionHandlerInfo); } authActionHandlerInfo = new ActionHandlerAttributesInfo(actionHandlerType); ActionHandlerAttributesInfos.TryAdd(actionHandlerType, authActionHandlerInfo); return(authActionHandlerInfo); }
public SapphireActionHandlerBuilder() { attributesInfo = typeof(T).GetActionHandlerAttributesInfo(); }