public static IStatelessServiceHostBuilder UseListenerReplicator(
            this IStatelessServiceHostBuilder @this,
            Func <IStatelessServiceHostListenerReplicableTemplate, IStatelessServiceHostListenerReplicator> factoryFunc)
        {
            @this.ConfigureObject(
                configurator => configurator.UseListenerReplicator(factoryFunc));

            return(@this);
        }
        public static IStatelessServiceHostBuilder UseGenericListenerReplicaTemplate(
            this IStatelessServiceHostBuilder @this,
            Func <IStatelessServiceHostGenericListenerReplicaTemplate> factoryFunc)
        {
            @this.ConfigureObject(
                configurator => configurator.UseGenericListenerReplicaTemplate(factoryFunc));

            return(@this);
        }
        public static IStatelessServiceHostBuilder UseRuntimeRegistrant(
            this IStatelessServiceHostBuilder @this,
            Func <IServiceProvider, IStatelessServiceRuntimeRegistrant> factoryFunc)
        {
            @this.ConfigureObject(
                configurator => configurator.UseRuntimeRegistrant(factoryFunc));

            return(@this);
        }
        public static IStatelessServiceHostBuilder DefineGenericListener(
            this IStatelessServiceHostBuilder @this,
            Action <IStatelessServiceHostGenericListenerReplicaTemplate> configAction)
        {
            @this.ConfigureObject(
                configurator => configurator.DefineGenericListener(configAction));

            return(@this);
        }
        public static IStatelessServiceHostBuilder DefineDelegate(
            this IStatelessServiceHostBuilder @this,
            Action <IStatelessServiceHostDelegateReplicaTemplate> configAction)
        {
            @this.ConfigureObject(
                configurator => configurator.DefineDelegate(configAction));

            return(@this);
        }
        public static IStatelessServiceHostBuilder SetupEventSource(
            this IStatelessServiceHostBuilder @this,
            Action <IStatelessServiceHostEventSourceReplicaTemplate> configAction)
        {
            @this.ConfigureObject(
                configurator => configurator.SetupEventSource(configAction));

            return(@this);
        }