Castle.Facilities.Remoting.RemotingRegistry.Publish C# (CSharp) 메소드

Publish() 공개 메소드

public Publish ( Type serviceType ) : void
serviceType System.Type
리턴 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