public void RegisterAndUnregisterObject() { var registered = new MyRegisteredObject(); HostingEnvironment.RegisterObject(registered); HostingEnvironment.UnregisterObject(registered); }
public void RegisterAndUnregisterObject () { var registered = new MyRegisteredObject (); HostingEnvironment.RegisterObject (registered); HostingEnvironment.UnregisterObject (registered); }