C# Class Hd.Portal.Components.LastActionProcessor.ActionProcessor

Show file Open project: TargetProcess/Tp.HelpDesk Class Usage Examples

Public Properties

Property Type Description
Enabled bool

Public Methods

Method Description
Clear ( ) : void
GetHolder ( ) : ILastActionHolder
ProcessAction ( ActionTypeEnum actionTypeEnum, IEntity entity ) : void
ReplaceLastAction ( string message ) : void
SetLastAction ( string message, IEntity entity, ActionTypeEnum actionTypeEnum ) : void

Private Methods

Method Description
GetEntityName ( IEntity entity ) : string

Method Details

Clear() public static method

public static Clear ( ) : void
return void

GetHolder() public static method

public static GetHolder ( ) : ILastActionHolder
return ILastActionHolder

ProcessAction() public method

public ProcessAction ( ActionTypeEnum actionTypeEnum, IEntity entity ) : void
actionTypeEnum ActionTypeEnum
entity IEntity
return void

ReplaceLastAction() public static method

public static ReplaceLastAction ( string message ) : void
message string
return void

SetLastAction() public static method

public static SetLastAction ( string message, IEntity entity, ActionTypeEnum actionTypeEnum ) : void
message string
entity IEntity
actionTypeEnum ActionTypeEnum
return void

Property Details

Enabled public static property

public static bool Enabled
return bool