Table of Contents

Class RunCommandAction

Namespace
Dynamicweb.CoreUI.Actions.Implementations
Assembly
Dynamicweb.CoreUI.dll
public class RunCommandAction : ActionBase
Inheritance
RunCommandAction
Inherited Members

Methods

For(Type)

public static RunCommandAction For(Type commandType)

Parameters

commandType Type

Returns

RunCommandAction

ForCommandAndProperty<TCommand>(Expression<Func<TCommand, object>>)

public static RunCommandAction ForCommandAndProperty<TCommand>(Expression<Func<TCommand, object>> expression) where TCommand : CommandBase

Parameters

expression Expression<Func<TCommand, object>>

Returns

RunCommandAction

Type Parameters

TCommand

ForCommandAndProperty<TCommand>(TCommand, Expression<Func<TCommand, object>>)

public static RunCommandAction ForCommandAndProperty<TCommand>(TCommand command, Expression<Func<TCommand, object>> expression) where TCommand : CommandBase

Parameters

command TCommand
expression Expression<Func<TCommand, object>>

Returns

RunCommandAction

Type Parameters

TCommand

For<TCommand>()

public static RunCommandAction For<TCommand>() where TCommand : CommandBase

Returns

RunCommandAction

Type Parameters

TCommand

For<TCommand>(TCommand)

public static RunCommandAction For<TCommand>(TCommand command) where TCommand : CommandBase

Parameters

command TCommand

Returns

RunCommandAction

Type Parameters

TCommand

UpdateParameters(Action<RunCommandActionParameters>)

public RunCommandAction UpdateParameters(Action<RunCommandActionParameters> configureParameters)

Parameters

configureParameters Action<RunCommandActionParameters>

Returns

RunCommandAction

With(DataQueryBase?)

public RunCommandAction With(DataQueryBase? query)

Parameters

query DataQueryBase

Returns

RunCommandAction

WithClosePopupAndReloadOnSuccess(ReloadType)

public RunCommandAction WithClosePopupAndReloadOnSuccess(ReloadType reloadType)

Parameters

reloadType ReloadType

Returns

RunCommandAction

WithClosePopupOnSuccess()

public RunCommandAction WithClosePopupOnSuccess()

Returns

RunCommandAction

WithCommandProperty(string?)

public RunCommandAction WithCommandProperty(string? commandProperty)

Parameters

commandProperty string

Returns

RunCommandAction

WithCommandProperty<TCommand>(Expression<Func<TCommand, object>>)

public RunCommandAction WithCommandProperty<TCommand>(Expression<Func<TCommand, object>> expression)

Parameters

expression Expression<Func<TCommand, object>>

Returns

RunCommandAction

Type Parameters

TCommand

WithGoBackAndReloadOnSuccess(ReloadType)

public RunCommandAction WithGoBackAndReloadOnSuccess(ReloadType reloadType)

Parameters

reloadType ReloadType

Returns

RunCommandAction

WithGoBackOnSuccess()

public RunCommandAction WithGoBackOnSuccess()

Returns

RunCommandAction

WithNavigateOnSuccess<TScreen, TQuery, TModel>(TQuery, bool)

public RunCommandAction WithNavigateOnSuccess<TScreen, TQuery, TModel>(TQuery query, bool replaceExistingScreen) where TScreen : ScreenBase<TModel> where TQuery : DataQueryModelBase<TModel> where TModel : DataViewModelBase

Parameters

query TQuery
replaceExistingScreen bool

Returns

RunCommandAction

Type Parameters

TScreen
TQuery
TModel

WithOnSuccess(ActionBase?)

public RunCommandAction WithOnSuccess(ActionBase? action)

Parameters

action ActionBase

Returns

RunCommandAction

WithReloadOnSuccess()

public RunCommandAction WithReloadOnSuccess()

Returns

RunCommandAction

WithReloadOnSuccess(ReloadType)

public RunCommandAction WithReloadOnSuccess(ReloadType reloadType)

Parameters

reloadType ReloadType

Returns

RunCommandAction

WithReloadUpdatedModelOnSuccess(Type, Type, ReloadTreeAction?)

public RunCommandAction WithReloadUpdatedModelOnSuccess(Type screenType, Type queryType, ReloadTreeAction? reloadAction)

Parameters

screenType Type
queryType Type
reloadAction ReloadTreeAction

Returns

RunCommandAction

WithReloadUpdatedModelOnSuccess(Type, Type, bool)

public RunCommandAction WithReloadUpdatedModelOnSuccess(Type screenType, Type queryType, bool reloadTree)

Parameters

screenType Type
queryType Type
reloadTree bool

Returns

RunCommandAction

WithReloadUpdatedModelOnSuccess<TScreen, TQuery>(bool)

public RunCommandAction WithReloadUpdatedModelOnSuccess<TScreen, TQuery>(bool reloadTree) where TScreen : ScreenBase where TQuery : DataQueryBase

Parameters

reloadTree bool

Returns

RunCommandAction

Type Parameters

TScreen
TQuery

WithReloadWorkspaceOnSuccess()

public RunCommandAction WithReloadWorkspaceOnSuccess()

Returns

RunCommandAction
To top