Class RepeatPreviousAction<TEntity>
Repeats action.
Implements
INotifyPropertyChanged
    IDisposable
    IDataErrorInfo
    INotifyDataErrorInfo
    
    
  Inherited Members
Namespace: ISynergy.Framework.Automations.Actions
Assembly: ISynergy.Framework.Automations.dll
Syntax
public class RepeatPreviousAction<TEntity> : BaseAction, IObservableClass, IBindable, IRepeatAction, IAction where TEntity : class, new()
  Type Parameters
| Name | Description | 
|---|---|
| TEntity | 
Constructors
View SourceRepeatPreviousAction(Guid, RepeatTypes, Func<TEntity, Boolean>, Int32)
Default constructor
Declaration
public RepeatPreviousAction(Guid automationId, RepeatTypes repeatType, Func<TEntity, bool> validator, int countCircuitBreaker = 100)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Guid | automationId | |
| RepeatTypes | repeatType | |
| Func<TEntity, System.Boolean> | validator | |
| System.Int32 | countCircuitBreaker | 
Properties
View SourceCountCircuitBreaker
Gets or sets the CountCircuitBreaker property value.
Declaration
public int CountCircuitBreaker { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
RepeatType
Gets or sets the RepeatType property value.
Declaration
public RepeatTypes RepeatType { get; }
  Property Value
| Type | Description | 
|---|---|
| RepeatTypes | 
RepeatValidator
Gets or sets the RepeatCondition property value.
Declaration
public Func<TEntity, bool> RepeatValidator { get; }
  Property Value
| Type | Description | 
|---|---|
| Func<TEntity, System.Boolean> | 
Methods
View SourceValidateAction(Object)
ValidateAction object with given conditions.
Declaration
public bool ValidateAction(object entity)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Object | entity | 
Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Implements
      INotifyPropertyChanged
  
  
      IDisposable
  
  
      IDataErrorInfo
  
  
      INotifyDataErrorInfo