Exemplo n.º 1
0
 public abstract Task <DataPackage> ExecuteAsync(ActionInfo ai, DataPackage inParamStor);
Exemplo n.º 2
0
        public ActionInfo Clone()
        {
            ActionInfo a = new ActionInfo
            {
                ActionID               = this.ActionID,
                AssemblyID             = this.AssemblyID,
                ClassName              = this.ClassName,
                Name                   = this.Name,
                LogOnError             = this.LogOnError,
                EMailOnError           = this.EMailOnError,
                EMailGroup             = this.EMailGroup,
                TransactionSupport     = this.TransactionSupport,
                WebAuthentication      = this.WebAuthentication,
                AuthenticationRequired = this.AuthenticationRequired,
                AuthorizationRequired  = this.AuthorizationRequired,
                AsyncMode              = this.AsyncMode,
                IID                = this.IID,
                InterfaceID        = this.InterfaceID,
                InterfaceName      = this.InterfaceName,
                Description        = this.Description,
                MultipleRowsParams = this.MultipleRowsParams,
                MultipleRowsResult = this.MultipleRowsResult,
                IsStatic           = this.IsStatic
            };

            foreach (var kvp in InterfaceParameters)
            {
                var v = kvp.Value;
                var p = new ParamInfo()
                {
                    ParameterID      = v.ParameterID,
                    Dirrect          = v.Dirrect,
                    PresentationType = v.PresentationType,
                    Required         = v.Required,
                    DefaultValue     = v.DefaultValue,
                    IsObjectName     = v.IsObjectName,
                    AttribName       = v.AttribName,
                    AttribPath       = v.AttribPath,
                    Name             = v.Name,
                    Position         = v.Position,
                    DataType         = v.DataType,
                    Width            = v.Width,
                    DisplayWidth     = v.DisplayWidth,
                    Mask             = v.Mask,
                    Format           = v.Format,
                    IsPK             = v.IsPK,
                    Locate           = v.Locate,
                    Visible          = v.Visible,
                    ReadOnly         = v.ReadOnly,
                    Enabled          = v.Enabled,
                    Sorted           = v.Sorted,
                    SuperForm        = v.SuperForm,
                    SuperObject      = v.SuperObject,
                    SuperMethod      = v.SuperMethod,
                    SuperFilter      = v.SuperFilter,
                    ListItems        = v.ListItems,
                    ListData         = v.ListData,
                    FieldName        = v.FieldName,
                    ConstName        = v.ConstName,
                    Agregate         = v.Agregate
                };
                a.InterfaceParameters.Add(kvp.Key, p);
            }
            return(a);
        }
Exemplo n.º 3
0
 public abstract DataPackage Execute(ActionInfo ai, DataPackage inParamStor);