Ejemplo n.º 1
0
		IScriptPackContext IScriptPack.GetContext()
		{
			if(this.clrMdPack == null)
			{
				this.clrMdPack = new ClrMdPack();
			}

			return this.clrMdPack;
		}
Ejemplo n.º 2
0
		void IScriptPack.Terminate()
		{
			if(this.clrMdPack != null)
			{
				if(this.clrMdPack.IsAttached)
				{
					this.clrMdPack.Detach();
				}

				this.clrMdPack = null;
			}
		}