Search Results for

    Show / Hide Table of Contents

    Class RunReport

    A command used to execute and run a provided IReport using the UNIQUE_TASK_ID server task

    Inheritance
    System.Object
    BaseHasChildren<EPCommandWithDescriptor>
    EPCommand
    EPCommandWithDescriptor
    ViewCommand
    TaskBase
    RunReport
    Implements
    IHasChildren<EPCommandWithDescriptor>
    IHasChildren
    System.IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    System.Windows.Input.ICommand
    ICommandDescriptor
    Inherited Members
    TaskBase.IncludeInSimple
    TaskBase.Title
    TaskBase.Description
    TaskBase.Key
    TaskBase.ModifierKeys
    TaskBase.IconID
    TaskBase.ToolTip
    TaskBase.TaskType
    TaskBase.TaskParamType
    TaskBase.GetUserModifiedParametersFromDefault(IModelLayoutCommon, ServerTaskParameter)
    TaskBase.InternalExecuteUserWarning()
    TaskBase.InternalExecuteWithChanges
    TaskBase.InternalExecuteAsync(Object)
    TaskBase.ProcessExecute(ServerTaskParameter, Boolean)
    ViewCommand.Type
    EPCommandWithDescriptor.ICommandDescriptor.Title
    EPCommandWithDescriptor.OverlayIconID
    EPCommandWithDescriptor.Parameter
    EPCommandWithDescriptor.HelpURL
    EPCommand.ActiveDisplayerFromOwner
    EPCommand.LoadChildrenAsync()
    EPCommand.ReloadChildrenOnEachOpen
    EPCommand.HasChildCommands
    EPCommand.SetToggler(IHasToggleStatus)
    EPCommand.Seperator
    EPCommand.Owner
    EPCommand.CanExecuteChanged
    EPCommand.OnCanExecuteChanged()
    EPCommand.SubscribeToLayoutChange
    EPCommand.OnLayoutsChanged(IModelLayouHost, LayoutChangeEventArgs)
    EPCommand.ICommand.Execute(Object)
    EPCommand.ExternalExecute(Object)
    EPCommand.InternalExecute(Object)
    EPCommand.LockExecution
    EPCommand.ICommand.CanExecute(Object)
    EPCommand.ExternalCanExecute(Object)
    EPCommand.InternalCanExecuteAsync(Object)
    EPCommand.Toggler
    EPCommand.CustomType
    EPCommand.GetModifierText(IEPCommand)
    EPCommand.RemoveEventHandlersOnDispose()
    EPCommand.Dispose(Boolean)
    EPCommand.Dispose()
    BaseHasChildren<EPCommandWithDescriptor>.Order
    BaseHasChildren<EPCommandWithDescriptor>.Children
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(EPCommandWithDescriptor)
    BaseHasChildren<EPCommandWithDescriptor>.ClearChildren()
    BaseHasChildren<EPCommandWithDescriptor>.Parent
    BaseHasChildren<EPCommandWithDescriptor>.AddChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.DeleteChild(IHasChildren)
    BaseHasChildren<EPCommandWithDescriptor>.IHasChildren.Children
    BaseHasChildren<EPCommandWithDescriptor>.IHasChildren.Parent
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: LemonEdge.Client.Core.Commands.ViewCommands
    Assembly: ClientCore.dll
    Syntax
    public class RunReport : TaskBase, IHasChildren<EPCommandWithDescriptor>, IHasChildren, IDisposable, IEPCommandWithDescriptor, IEPCommand, ICommand, ICommandDescriptor

    Constructors

    RunReport(IModelLayoutCommon, Func<IReportBase>)

    Createsa new instance of the run report command

    Declaration
    public RunReport(IModelLayoutCommon host, Func<IReportBase> getReport)
    Parameters
    Type Name Description
    IModelLayoutCommon host

    The host this command operates within

    System.Func<IReportBase> getReport

    A function that returns the report to execute as a UNIQUE_TASK_ID server task

    Methods

    GetParameters()

    Retrieves the parameters to display to the user for this report.

    Requires the report to have a parameter type that inherits ExecuteReportParameter and is marked with the ReportParameterAttribute and has its own view controller inheriting ReportParamController<T>

    Declaration
    protected override Task<ServerTaskParameter> GetParameters()
    Returns
    Type Description
    System.Threading.Tasks.Task<ServerTaskParameter>

    The parameters to display to the user for this report

    Overrides
    TaskBase.GetParameters()

    InternalCanExecute(Object)

    Declaration
    public override bool InternalCanExecute(object parameter)
    Parameters
    Type Name Description
    System.Object parameter
    Returns
    Type Description
    System.Boolean
    Overrides
    EPCommand.InternalCanExecute(Object)

    Implements

    IHasChildren<T>
    IHasChildren
    System.IDisposable
    IEPCommandWithDescriptor
    IEPCommand
    System.Windows.Input.ICommand
    ICommandDescriptor

    Extension Methods

    MiscExtensions.SetIfNotEqual<T, P>(T, Expression<Func<T, P>>, P)
    ReflectionExtensions.ClearEventInvocations(Object, String)
    StringExtensions.ToCSVFormatString(Object, Type)
    SQLExtensions.ToSQLValue(Object, Boolean)
    CommandExtensions.CreateCommand(EPCommand, ICommandDescriptor, CommandButtonType, Boolean, CommandSize)
    CommandExtensions.UpdateCommand(EPCommand, Object, ICommandDescriptor, Boolean, CommandSize)
    In This Article
    Back to top © LemonTree Software Ltd. All rights reserved.