示例#1
0
		IScriptPackContext IScriptPack.GetContext()
		{
			if(this.clrMdPack == null)
			{
				this.clrMdPack = new ClrMdPack();
			}

			return this.clrMdPack;
		}
示例#2
0
		void IScriptPack.Terminate()
		{
			if(this.clrMdPack != null)
			{
				if(this.clrMdPack.IsAttached)
				{
					this.clrMdPack.Detach();
				}

				this.clrMdPack = null;
			}
		}