Esempio n. 1
0
        //public PreMessageBehavior(IBaladorContext baladorContext) : base(baladorContext)
        //{

        //}

        public override async Task <Response <BehaviorStatus> > Excute <TRequestBehavior>(TRequestBehavior request)
        {
            RequestPreMessageBehavior requestMessageBehavior = (RequestPreMessageBehavior)Convert.ChangeType(request, typeof(RequestPreMessageBehavior));

            //return null;
            return(await PreSend(requestMessageBehavior));
        }
Esempio n. 2
0
 public abstract Task <Response <BehaviorStatus> > PreSend(RequestPreMessageBehavior requestMessageBehavior);