====== ThinkGeo.MapSuite.GisEditor.LoggerPlugin ======
{{section>upgrade_map_suite_to_10.0}}
This class represent a plugin for a logger
===== Inheritance Hierarchy =====
*System.Object
**[[ThinkGeo.MapSuite.GisEditor.Plugin]]
***[[ThinkGeo.MapSuite.GisEditor.LoggerPlugin]]
===== Members Summary =====
==== Public Constructors ====
^ Name ^ Parameters ^ DeclaringType ^ Summary ^
==== Protected Constructors ====
^ Name ^ Parameters ^ DeclaringType ^ Summary ^
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#LoggerPlugin()|LoggerPlugin]] | | | Initializes a new instance of the class. |
==== Public Methods ====
^ Name ^ Parameters ^ DeclaringType ^ Summary ^
| {{wiki:PublicMethod.gif|Public Method}}[[#ApplySettings(StorableSettings)|ApplySettings]] | [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Applies the settings to this plugin. |
| {{wiki:PublicMethod.gif|Public Method}}[[#Equals(Object)|Equals]] | Object | Object | |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetHashCode()|GetHashCode]] | | Object | |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetLoggerMessages()|GetLoggerMessages]] | | | Gets the logger messages. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetLoggerMessages(Int32)|GetLoggerMessages]] | Int32 | | Gets the logger messages. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetLoggerMessages(TimeSpan)|GetLoggerMessages]] | TimeSpan | | Gets the logger messages. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetLoggerMessages(DateTime, DateTime)|GetLoggerMessages]] | DateTime, DateTime | | Gets the logger messages. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetSettings()|GetSettings]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets plugin settings to save. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetSettingsUI()|GetSettingsUI]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets an UI that configures settings. |
| {{wiki:PublicMethod.gif|Public Method}}[[#GetType()|GetType]] | | Object | |
| {{wiki:PublicMethod.gif|Public Method}}[[#Load()|Load]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | This method raises when load this plugin. |
| {{wiki:PublicMethod.gif|Public Method}}[[#Log(LoggerMessage)|Log]] | [[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]] | | Logs the specified logger message. |
| {{wiki:PublicMethod.gif|Public Method}}[[#Log(LoggerLevel, String, ExceptionInfo)|Log]] | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]], String, [[ThinkGeo.MapSuite.GisEditor.ExceptionInfo|ExceptionInfo]] | | Logs the specified logger level. |
| {{wiki:PublicMethod.gif|Public Method}}[[#Log(LoggerLevel, String, Exception)|Log]] | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]], String, Exception | | Logs the specified logger level. |
| {{wiki:PublicMethod.gif|Public Method}}[[#Log(LoggerLevel, String)|Log]] | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]], String | | Logs the specified logger level. |
| {{wiki:PublicMethod.gif|Public Method}}[[#ToString()|ToString]] | | Object | |
| {{wiki:PublicMethod.gif|Public Method}}[[#Unload()|Unload]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | This method raises when unload this plugin. |
==== Protected Methods ====
^ Name ^ Parameters ^ DeclaringType ^ Summary ^
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#ApplySettingsCore(StorableSettings)|ApplySettingsCore]] | [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Applies the settings to this plugin. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#Finalize()|Finalize]] | | Object | |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetLoggerMessagesCore(DateTime, DateTime)|GetLoggerMessagesCore]] | DateTime, DateTime | | Gets the logger messages core. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetSettingsCore()|GetSettingsCore]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets plugin settings to save. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#GetSettingsUICore()|GetSettingsUICore]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets an UI that configures settings. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#LoadCore()|LoadCore]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | This method raises when load this plugin. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#LogCore(LoggerMessage)|LogCore]] | [[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]] | | Logs the core. |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#MemberwiseClone()|MemberwiseClone]] | | Object | |
| {{wiki:ProtectedMethod.gif|Protected Method}}[[#UnloadCore()|UnloadCore]] | | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | This method raises when unload this plugin. |
==== Public Properties ====
^ Name ^ Return ^ DeclaringType ^ Summary ^
| {{wiki:PublicProperty.gif|Public Property}}[[#Author|Author]] | String | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets author information for plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#CanGetLoggerMessages|CanGetLoggerMessages]] | Boolean | | Gets or sets a value indicating whether this instance can get logger messages. |
| {{wiki:PublicProperty.gif|Public Property}}[[#Description|Description]] | String | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets description for plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#Id|Id]] | String | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets the identify of plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#Index|Index]] | Int32 | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets the index of the plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#IsActive|IsActive]] | Boolean | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets a value indicating whether this plugin is active. |
| {{wiki:PublicProperty.gif|Public Property}}[[#IsRequired|IsRequired]] | Boolean | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets a value indicating whether this plugin is required. |
| {{wiki:PublicProperty.gif|Public Property}}[[#LargeIcon|LargeIcon]] | ImageSource | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets large icon for plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#Name|Name]] | String | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets the name of plugin. |
| {{wiki:PublicProperty.gif|Public Property}}[[#SmallIcon|SmallIcon]] | ImageSource | [[ThinkGeo.MapSuite.GisEditor.Plugin|Plugin]] | Gets or sets small icon path for plugin. |
==== Protected Properties ====
^ Name ^ Return ^ DeclaringType ^ Summary ^
==== Public Events ====
^ Name ^ Event Arguments ^ DeclaringType ^ Summary ^
===== Public Constructors =====
===== Protected Constructors =====
==== LoggerPlugin() ====
Initializes a new instance of the class.
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Constructors|Go Back]]
===== Public Methods =====
==== ApplySettings(StorableSettings) ====
Applies the settings to this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| settings | [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | The settings to be applied to this plugin. |
[[#Public Methods|Go Back]]
==== Equals(Object) ====
=== Return Value ===
^ Return Type ^ Description ^
| Boolean | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| obj | Object | |
[[#Public Methods|Go Back]]
==== GetHashCode() ====
=== Return Value ===
^ Return Type ^ Description ^
| Int32 | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== GetLoggerMessages() ====
Gets the logger messages.
=== Return Value ===
^ Return Type ^ Description ^
| Collection<[[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]]> | Messages of logger collection |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== GetLoggerMessages(Int32) ====
Gets the logger messages.
=== Return Value ===
^ Return Type ^ Description ^
| Collection<[[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]]> | Messages of logger collection |
=== Parameters ===
^ Name ^ Type ^ Description ^
| latestMessageCount | Int32 | The latest message count. |
[[#Public Methods|Go Back]]
==== GetLoggerMessages(TimeSpan) ====
Gets the logger messages.
=== Return Value ===
^ Return Type ^ Description ^
| Collection<[[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]]> | Messages of logger collection |
=== Parameters ===
^ Name ^ Type ^ Description ^
| timespan | TimeSpan | The timespan. |
[[#Public Methods|Go Back]]
==== GetLoggerMessages(DateTime, DateTime) ====
Gets the logger messages.
=== Return Value ===
^ Return Type ^ Description ^
| Collection<[[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]]> | Messages of logger collection |
=== Parameters ===
^ Name ^ Type ^ Description ^
| fromDate | DateTime | From date. |
| toDate | DateTime | To date. |
[[#Public Methods|Go Back]]
==== GetSettings() ====
Gets plugin settings to save.
=== Return Value ===
^ Return Type ^ Description ^
| [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | Plugin's settings to save. |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== GetSettingsUI() ====
Gets an UI that configures settings.
=== Return Value ===
^ Return Type ^ Description ^
| [[ThinkGeo.MapSuite.GisEditor.SettingUserControl|SettingUserControl]] | A SettingUserControl that configures settings. |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== GetType() ====
=== Return Value ===
^ Return Type ^ Description ^
| Type | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== Load() ====
This method raises when load this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== Log(LoggerMessage) ====
Logs the specified logger message.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| loggerMessage | [[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]] | The logger message. |
[[#Public Methods|Go Back]]
==== Log(LoggerLevel, String, ExceptionInfo) ====
Logs the specified logger level.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| loggerLevel | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]] | The logger level. |
| message | String | The message. |
| error | [[ThinkGeo.MapSuite.GisEditor.ExceptionInfo|ExceptionInfo]] | The error. |
[[#Public Methods|Go Back]]
==== Log(LoggerLevel, String, Exception) ====
Logs the specified logger level.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| loggerLevel | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]] | The logger level. |
| message | String | The message. |
| error | Exception | The error. |
[[#Public Methods|Go Back]]
==== Log(LoggerLevel, String) ====
Logs the specified logger level.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| loggerLevel | [[ThinkGeo.MapSuite.GisEditor.LoggerLevel|LoggerLevel]] | The logger level. |
| message | String | The message. |
[[#Public Methods|Go Back]]
==== ToString() ====
=== Return Value ===
^ Return Type ^ Description ^
| String | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
==== Unload() ====
This method raises when unload this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Public Methods|Go Back]]
===== Protected Methods =====
==== ApplySettingsCore(StorableSettings) ====
Applies the settings to this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| settings | [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | The settings to be applied to this plugin. |
[[#Protected Methods|Go Back]]
==== Finalize() ====
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
==== GetLoggerMessagesCore(DateTime, DateTime) ====
Gets the logger messages core.
=== Return Value ===
^ Return Type ^ Description ^
| Collection<[[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]]> | Messages of logger collection |
=== Parameters ===
^ Name ^ Type ^ Description ^
| fromDate | DateTime | From date. |
| toDate | DateTime | To date. |
[[#Protected Methods|Go Back]]
==== GetSettingsCore() ====
Gets plugin settings to save.
=== Return Value ===
^ Return Type ^ Description ^
| [[ThinkGeo.MapSuite.GisEditor.StorableSettings|StorableSettings]] | Plugin's settings to save. |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
==== GetSettingsUICore() ====
Gets an UI that configures settings.
=== Return Value ===
^ Return Type ^ Description ^
| [[ThinkGeo.MapSuite.GisEditor.SettingUserControl|SettingUserControl]] | A SettingUserControl that configures settings. |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
==== LoadCore() ====
This method raises when load this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
==== LogCore(LoggerMessage) ====
Logs the core.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
| loggerMessage | [[ThinkGeo.MapSuite.GisEditor.LoggerMessage|LoggerMessage]] | The logger message. |
[[#Protected Methods|Go Back]]
==== MemberwiseClone() ====
=== Return Value ===
^ Return Type ^ Description ^
| Object | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
==== UnloadCore() ====
This method raises when unload this plugin.
=== Return Value ===
^ Return Type ^ Description ^
| Void | |
=== Parameters ===
^ Name ^ Type ^ Description ^
[[#Protected Methods|Go Back]]
===== Public Properties =====
==== Author ====
Gets or sets author information for plugin.
=== Return Value ===
^ Return Type ^
| String |
[[#Public Properties|Go Back]]
==== CanGetLoggerMessages ====
Gets or sets a value indicating whether this instance can get logger messages.
=== Return Value ===
^ Return Type ^
| Boolean |
[[#Public Properties|Go Back]]
==== Description ====
Gets or sets description for plugin.
=== Return Value ===
^ Return Type ^
| String |
[[#Public Properties|Go Back]]
==== Id ====
Gets the identify of plugin.
=== Return Value ===
^ Return Type ^
| String |
[[#Public Properties|Go Back]]
==== Index ====
Gets or sets the index of the plugin.
=== Remarks ===
Plugins are orded by this property.
=== Return Value ===
^ Return Type ^
| Int32 |
[[#Public Properties|Go Back]]
==== IsActive ====
Gets or sets a value indicating whether this plugin is active.
=== Return Value ===
^ Return Type ^
| Boolean |
[[#Public Properties|Go Back]]
==== IsRequired ====
Gets or sets a value indicating whether this plugin is required.
=== Return Value ===
^ Return Type ^
| Boolean |
[[#Public Properties|Go Back]]
==== LargeIcon ====
Gets or sets large icon for plugin.
=== Remarks ===
Setting relative path to this property to discover image. Path should be like the form of [[FolderName(optional)]]/ImageFullName, such as "Images/NewContent.png" or "Content.png". Make sure that image you supplied compiling with Build Action Resource.
=== Return Value ===
^ Return Type ^
| ImageSource |
[[#Public Properties|Go Back]]
==== Name ====
Gets or sets the name of plugin.
=== Return Value ===
^ Return Type ^
| String |
[[#Public Properties|Go Back]]
==== SmallIcon ====
Gets or sets small icon path for plugin.
=== Remarks ===
Setting relative path to this property to discover image. Path should be like the form of [[FolderName(optional)]]/ImageFullName, such as "Images/NewContent.png" or "Content.png". Make sure that image you supplied compiling with Build Action Resource.
=== Return Value ===
^ Return Type ^
| ImageSource |
[[#Public Properties|Go Back]]
===== Protected Properties =====
===== Public Events =====
__NOTOC__
[[Category:GisEditorInfrastructure]]
[[Category:ThinkGeo.MapSuite.GisEditor]]
[[Category:UpdateDocumentation]]