Exemplo n.º 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;
            }
        }
Exemplo n.º 2
0
 /// <summary>
 /// Disposes all members, cascades the Dispose call.
 /// </summary>
 public void Dispose()
 {
     Plugin.Dispose();
     _host.Dispose();
 }