C# Класс Tp.Integration.Plugin.Common.PluginCommand.Embedded.EditProfileCommandBase

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

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

Метод Описание
AddPluginProfile ( PluginProfileDto pluginProfile ) : void
Execute ( string args, UserDTO user = null ) : PluginCommandResponseMessage

Защищенные методы

Метод Описание
EditProfileCommandBase ( IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext, IPluginMetadata pluginMetadata ) : System
HandleErrors ( PluginProfileErrorCollection errors ) : void
NormalizeProfile ( PluginProfileDto dto ) : void
OnExecute ( PluginProfileDto profileProfileDto ) : PluginCommandResponseMessage
ValidateProfile ( PluginProfileDto pluginProfile, PluginProfileErrorCollection errors ) : void

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

Метод Описание
ValidateUniqueness ( PluginProfileDto pluginProfile, PluginProfileErrorCollection errors ) : void

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

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

public AddPluginProfile ( PluginProfileDto pluginProfile ) : void
pluginProfile PluginProfileDto
Результат void

EditProfileCommandBase() защищенный Метод

protected EditProfileCommandBase ( IProfileCollection profileCollection, ITpBus bus, IPluginContext pluginContext, IPluginMetadata pluginMetadata ) : System
profileCollection IProfileCollection
bus ITpBus
pluginContext IPluginContext
pluginMetadata IPluginMetadata
Результат System

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

public Execute ( string args, UserDTO user = null ) : PluginCommandResponseMessage
args string
user Tp.Integration.Common.UserDTO
Результат Tp.Integration.Messages.Commands.PluginCommandResponseMessage

HandleErrors() защищенный статический Метод

protected static HandleErrors ( PluginProfileErrorCollection errors ) : void
errors PluginProfileErrorCollection
Результат void

NormalizeProfile() защищенный Метод

protected NormalizeProfile ( PluginProfileDto dto ) : void
dto PluginProfileDto
Результат void

OnExecute() защищенный абстрактный Метод

protected abstract OnExecute ( PluginProfileDto profileProfileDto ) : PluginCommandResponseMessage
profileProfileDto PluginProfileDto
Результат Tp.Integration.Messages.Commands.PluginCommandResponseMessage

ValidateProfile() защищенный статический Метод

protected static ValidateProfile ( PluginProfileDto pluginProfile, PluginProfileErrorCollection errors ) : void
pluginProfile PluginProfileDto
errors PluginProfileErrorCollection
Результат void