C# Класс Disco.Services.Plugins.Features.RepairProvider.RepairProviderFeature

Наследование: PluginFeature
Показать файл Открыть проект

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

Метод Описание
FindPluginFeature ( string PluginIdOrRepairProviderId ) : PluginFeatureManifest
JobDetails ( DiscoDataContext Database, Controller controller, Job Job ) : dynamic>.Tuple

Called when a job repair information is shown. Allows a plugin to inject a View to display additional information.

SubmitJob ( DiscoDataContext Database, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription, string>.Dictionary ProviderProperties ) : string

Called when the plugin should submit the job to the external party.

SubmitJobBegin ( DiscoDataContext Database, Controller controller, Job Job, OrganisationAddress Address, User TechUser ) : dynamic>.Tuple

Called when a user selects this plugin to repair and allows a plugin to inject a View to collect additional information.

SubmitJobDiscloseInfo ( DiscoDataContext Database, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription, string>.Dictionary ProviderProperties ) : string>.Dictionary

Plugins are required to disclose any information that will be transmitted to any external party. This method is expected to return a clear list all data which will be transmitted.

SubmitJobParseProperties ( DiscoDataContext Database, System.Web.Mvc.FormCollection form, Controller controller, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription ) : string>.Dictionary

Called after the RepairDescription is completed and allows the plugin to parse any data collected from SubmitJobBegin.

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

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

public static FindPluginFeature ( string PluginIdOrRepairProviderId ) : PluginFeatureManifest
PluginIdOrRepairProviderId string
Результат PluginFeatureManifest

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

Called when a job repair information is shown. Allows a plugin to inject a View to display additional information.
public JobDetails ( DiscoDataContext Database, Controller controller, Job Job ) : dynamic>.Tuple
Database Disco.Data.Repository.DiscoDataContext
controller Controller
Job Disco.Models.Repository.Job
Результат dynamic>.Tuple

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

Called when the plugin should submit the job to the external party.
public abstract SubmitJob ( DiscoDataContext Database, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription, string>.Dictionary ProviderProperties ) : string
Database Disco.Data.Repository.DiscoDataContext
Job Disco.Models.Repository.Job
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
RepairDescription string
ProviderProperties string>.Dictionary
Результат string

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

Called when a user selects this plugin to repair and allows a plugin to inject a View to collect additional information.
public SubmitJobBegin ( DiscoDataContext Database, Controller controller, Job Job, OrganisationAddress Address, User TechUser ) : dynamic>.Tuple
Database Disco.Data.Repository.DiscoDataContext
controller Controller
Job Disco.Models.Repository.Job
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
Результат dynamic>.Tuple

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

Plugins are required to disclose any information that will be transmitted to any external party. This method is expected to return a clear list all data which will be transmitted.
public abstract SubmitJobDiscloseInfo ( DiscoDataContext Database, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription, string>.Dictionary ProviderProperties ) : string>.Dictionary
Database Disco.Data.Repository.DiscoDataContext
Job Disco.Models.Repository.Job
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
RepairDescription string
ProviderProperties string>.Dictionary
Результат string>.Dictionary

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

Called after the RepairDescription is completed and allows the plugin to parse any data collected from SubmitJobBegin.
public SubmitJobParseProperties ( DiscoDataContext Database, System.Web.Mvc.FormCollection form, Controller controller, Job Job, OrganisationAddress Address, User TechUser, string RepairDescription ) : string>.Dictionary
Database Disco.Data.Repository.DiscoDataContext
form System.Web.Mvc.FormCollection
controller Controller
Job Disco.Models.Repository.Job
Address Disco.Models.BI.Config.OrganisationAddress
TechUser Disco.Models.Repository.User
RepairDescription string
Результат string>.Dictionary