Castle.Facilities.Remoting.RemotingRegistry.Publish C# (CSharp) Method

Publish() public method

public Publish ( Type serviceType ) : void
serviceType System.Type
return void
		public void Publish(Type serviceType)
		{
			// Resolve first
			var mbr = (MarshalByRefObject)kernel.Resolve(serviceType);

			// then get the model
			var model = GetModel(serviceType);

			RemoteMarshallerActivator.Marshal(mbr, model);
		}

Same methods

RemotingRegistry::Publish ( string key ) : void