Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (20 sloc) 0.704 kB
using System;
using Rhino.ServiceBus.Impl;
using Rhino.ServiceBus.StructureMap;
using StructureMap;
namespace Rhino.ServiceBus
{
[CLSCompliant(false)]
public static class Extensions
{
public static AbstractRhinoServiceBusConfiguration UseStructureMap(this AbstractRhinoServiceBusConfiguration configuration)
{
return UseStructureMap(configuration, ObjectFactory.Container);
}
public static AbstractRhinoServiceBusConfiguration UseStructureMap(this AbstractRhinoServiceBusConfiguration configuration, IContainer container)
{
new StructureMapBuilder(configuration, container);
return configuration;
}
}
}
Jump to Line
Something went wrong with that request. Please try again.