Exemplo n.º 1
0
        protected object OnExecuted(Type resultType, IDictionary <string, object> inParameters, ref IDictionary <string, object> outParameters, object result)
        {
            var args = new DataExecutedEventArgs(this.Name, resultType, inParameters, null, result);

            this.OnExecuted(args);
            outParameters = args.OutParameters;
            return(args.Result);
        }
Exemplo n.º 2
0
        protected virtual void OnExecuted(DataExecutedEventArgs args)
        {
            var e = this.Executed;

            if (e != null)
            {
                e(this, args);
            }
        }