public void Bind(params ICreateExecutableMapping[] configurations)
 {
     foreach (var sourceContext in SourceContexts.OfType <IBindable>())
     {
         sourceContext.Bind(configurations);
     }
     foreach (var sourcedConvention in SourcedConventions)
     {
         sourcedConvention.Bind(configurations);
     }
 }
 public void Accept(IVisitCacheable visitor)
 {
     foreach (var sourceContext in SourceContexts.OfType <ICacheable>())
     {
         sourceContext.Accept(visitor);
     }
     foreach (var cachedDestinationProp in DestinationProperties.OfType <ICacheable>())
     {
         cachedDestinationProp.Accept(visitor);
     }
     visitor.Visit(this);
 }