C# Класс formulate.app.Persistence.Internal.JsonConfiguredFormPersistence

Handles persistence of configured forms to JSON on the file system.
Наследование: IConfiguredFormPersistence
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

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

Метод Описание
Delete ( System.Guid configuredFormId ) : void

Deletes the specified configured form.

Delete ( string configuredFormAlias ) : void

Deletes the configured form with the specified alias.

JsonConfiguredFormPersistence ( ) : System

Default constructor.

Persist ( ConfiguredForm configuredForm ) : void

Persists a configured form to the file system.

Retrieve ( System.Guid configuredFormId ) : ConfiguredForm

Gets the configured form with the specified ID.

Retrieve ( string configuredFormAlias ) : ConfiguredForm

Gets the configured form with the specified alias.

RetrieveChildren ( System.Guid parentId ) : IEnumerable

Gets all the configured forms that are the children of the folder with the specified ID.

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

Delete() публичный Метод

Deletes the specified configured form.
public Delete ( System.Guid configuredFormId ) : void
configuredFormId System.Guid The ID of the configured form to delete.
Результат void

Delete() публичный Метод

Deletes the configured form with the specified alias.
public Delete ( string configuredFormAlias ) : void
configuredFormAlias string The alias of the configured form to delete.
Результат void

JsonConfiguredFormPersistence() публичный Метод

Default constructor.
public JsonConfiguredFormPersistence ( ) : System
Результат System

Persist() публичный Метод

Persists a configured form to the file system.
public Persist ( ConfiguredForm configuredForm ) : void
configuredForm ConfiguredForm The configured form to persist.
Результат void

Retrieve() публичный Метод

Gets the configured form with the specified ID.
public Retrieve ( System.Guid configuredFormId ) : ConfiguredForm
configuredFormId System.Guid The ID of the configured form.
Результат ConfiguredForm

Retrieve() публичный Метод

Gets the configured form with the specified alias.
public Retrieve ( string configuredFormAlias ) : ConfiguredForm
configuredFormAlias string The alias of the configured form.
Результат ConfiguredForm

RetrieveChildren() публичный Метод

Gets all the configured forms that are the children of the folder with the specified ID.
public RetrieveChildren ( System.Guid parentId ) : IEnumerable
parentId System.Guid The parent ID.
Результат IEnumerable