C# Класс Duplicity.Filtering.Aggregation.FileSystemChangeStateMachine

Simple state machine to aggregate a finite number of file system changes to a single resultant change
Показать файл Открыть проект

Открытые методы

Метод Описание
Get ( FileSystemChangeType initial, FileSystemChangeType action ) : FileSystemChangeType

Get the resultant file system change from the given initial state and action to apply.

Приватные методы

Метод Описание
Configure ( FileSystemChangeType initialState ) : ConfigurationBuilder

Configure the permitted actions and their result for a given initiat state.

FileSystemChangeStateMachine ( ) : System

| Action | Inital State | Created | Changed | Deleted | -------------|---------|---------|---------| None | Created | Changed | Deleted | Created | - | Created | None | Changed | - | Changed | Deleted | Deleted | Changed | - | - |

Описание методов

Get() публичный статический Метод

Get the resultant file system change from the given initial state and action to apply.
public static Get ( FileSystemChangeType initial, FileSystemChangeType action ) : FileSystemChangeType
initial FileSystemChangeType
action FileSystemChangeType
Результат FileSystemChangeType