Example #1
0
        /// <summary>
        /// Disposes all members, cascades the Dispose call.
        /// </summary>
        public void Dispose()
        {
            PluginInfo = null;

            if (Plugin != null)
            {
                Plugin.Dispose();
                Plugin = null;
            }

            if (Host != null)
            {
                Host.Dispose();
                Host = null;
            }
        }
Example #2
0
 /// <summary>
 /// Disposes all members, cascades the Dispose call.
 /// </summary>
 public void Dispose()
 {
     Plugin.Dispose();
     _host.Dispose();
 }