[PluginAttribute(Name = "Forum new messages notifications plugin",
Description = "Plugin starts at configured time and send emails to users with information about new unread messages in forums.",
Version = 1, ConfigFile = "configuration/ForumNewMessagesNotification.xml")]
public class ForumNewMessagesNotificationPlugin : Plugin<PluginAttribute(Name := "Forum new messages notifications plugin",
Description := "Plugin starts at configured time and send emails to users with information about new unread messages in forums.",
Version := 1, ConfigFile := "configuration/ForumNewMessagesNotification.xml")>
Public Class ForumNewMessagesNotificationPlugin
Inherits Plugin[PluginAttribute(Name = L"Forum new messages notifications plugin",
Description = L"Plugin starts at configured time and send emails to users with information about new unread messages in forums.",
Version = 1, ConfigFile = L"configuration/ForumNewMessagesNotification.xml")]
public ref class ForumNewMessagesNotificationPlugin : public Plugin[<PluginAttribute(Name = "Forum new messages notifications plugin",
Description = "Plugin starts at configured time and send emails to users with information about new unread messages in forums.",
Version = 1, ConfigFile = "configuration/ForumNewMessagesNotification.xml")>]
type ForumNewMessagesNotificationPlugin =
class
inherit Plugin
end| ForumNewMessagesNotificationPlugin | Инициализирует новый экземпляр класса ForumNewMessagesNotificationPlugin |
| 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 |
Метод, вызываемый хостом при вежливой остановке плагина. Он должен максимально быстро завершить выполнение плагина,
но не завершать свою работу до тех пор, пока потоки, с которыми работает плагин, не будут завершены.
Реализация по умолчанию устанавливает свойство StopRequested, после чего ожидает завершение метода EntryPointAsync(CancellationToken).
(Унаследован от Plugin) |
| ToString | Returns a string that represents the current object. (Унаследован от Object) |
| ConfigFilePath | Относительный путь к конфигурационному файлу плагина. |
| FmMessagesPluginTable |
| Get | (Определяется ComHelper) |
| InternalMarkerCanvas |
Возвращает маркер аннотации
(Определяется AnnotationInternalsAccessor) |
| Invoke | (Определяется ComHelper) |
| Set | (Определяется ComHelper) |