Castle.Facilities.WcfIntegration.AdHocServiceHostAware.Apply C# (CSharp) Method

Apply() private static method

private static Apply ( System.ServiceModel.ServiceHost serviceHost, Action action ) : void
serviceHost System.ServiceModel.ServiceHost
action Action
return void
		private static void Apply(ServiceHost serviceHost, Action<ServiceHost> action)
		{
			if (action != null)
			{
				action(serviceHost);
			}
		}
	}