[PluginAttribute(Name = "File converter plugin", Description = "Convert files to specific formats and stores them to the cache card",
Version = 1, ConfigFile = "configuration/FileConverter.xml")]
public sealed class FileConverterPlugin : Plugin<PluginAttribute(Name := "File converter plugin", Description := "Convert files to specific formats and stores them to the cache card",
Version := 1, ConfigFile := "configuration/FileConverter.xml")>
Public NotInheritable Class FileConverterPlugin
Inherits Plugin[PluginAttribute(Name = L"File converter plugin", Description = L"Convert files to specific formats and stores them to the cache card",
Version = 1, ConfigFile = L"configuration/FileConverter.xml")]
public ref class FileConverterPlugin sealed : public Plugin[<SealedAttribute>]
[<PluginAttribute(Name = "File converter plugin", Description = "Convert files to specific formats and stores them to the cache card",
Version = 1, ConfigFile = "configuration/FileConverter.xml")>]
type FileConverterPlugin =
class
inherit Plugin
end| FileConverterPlugin | Инициализирует новый экземпляр класса FileConverterPlugin |
| StopRequested |
Признак того, что запрошена остановка плагина. Значение свойства можно изменить только на true.
Свойство устанавливается равным true сразу при запрошенной остановке плагина,
тогда как CancellationToken, переданный в метод EntryPointAsync(CancellationToken),
отменяется за несколько секунд до таймаута плагина, в соответсвии с настройкой AwaitCancellationDeltaSeconds в файле app.json.
(Унаследован от Plugin) |
| StopRequestedToken |
Токен отмены плагина, который запрашивается сразу при установке свойства StopRequested равным true,
т.е. в момент запроса остановки плагина.
Объект CancellationToken, переданный в метод EntryPointAsync(CancellationToken),
отменяется за несколько секунд до таймаута плагина, в соответсвии с настройкой AwaitCancellationDeltaSeconds в файле app.json.
(Унаследован от Plugin) |
| EntryPointAsync | (Переопределяет PluginEntryPointAsync(CancellationToken)) |
| Equals | Determines whether the specified object is equal to the current object. (Унаследован от Object) |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Унаследован от Object) |
| GetHashCode | Serves as the default hash function. (Унаследован от Object) |
| GetType | Gets the Type of the current instance. (Унаследован от Object) |
| MemberwiseClone | Creates a shallow copy of the current Object. (Унаследован от Object) |
| StopAsync | (Переопределяет PluginStopAsync(IGracefulStopToken)) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| Get | (Определяется ComHelper) |
| InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor) |
| Invoke | (Определяется ComHelper) |
| Set | (Определяется ComHelper) |