コード例 #1
0
        public void RegisterAndUnregisterObject()
        {
            var registered = new MyRegisteredObject();

            HostingEnvironment.RegisterObject(registered);
            HostingEnvironment.UnregisterObject(registered);
        }
コード例 #2
0
		public void RegisterAndUnregisterObject ()
		{
			var registered = new MyRegisteredObject ();

			HostingEnvironment.RegisterObject (registered);
			HostingEnvironment.UnregisterObject (registered);
		}