Message from discussion
windsor convention based overrides
X-BeenThere: castle-project-users@googlegroups.com
Received: by 10.213.50.10 with SMTP id x10ls2015075ebf.3.p; Mon, 22 Feb 2010
05:02:03 -0800 (PST)
Received: by 10.213.104.68 with SMTP id n4mr1214601ebo.0.1266843723534;
Mon, 22 Feb 2010 05:02:03 -0800 (PST)
Received: by 10.213.104.68 with SMTP id n4mr1214600ebo.0.1266843723214;
Mon, 22 Feb 2010 05:02:03 -0800 (PST)
Return-Path: <jan.limp...@gmail.com>
Received: from mail-ew0-f221.google.com (mail-ew0-f221.google.com [209.85.219.221])
by gmr-mx.google.com with ESMTP id 11si529778ewy.13.2010.02.22.05.02.02;
Mon, 22 Feb 2010 05:02:02 -0800 (PST)
Received-SPF: pass (google.com: domain of jan.limp...@gmail.com designates 209.85.219.221 as permitted sender) client-ip=209.85.219.221;
Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of jan.limp...@gmail.com designates 209.85.219.221 as permitted sender) smtp.mail=jan.limp...@gmail.com; dkim=pass (test mode) header...@gmail.com
Received: by mail-ew0-f221.google.com with SMTP id 21so2969443ewy.2
for <castle-project-users@googlegroups.com>; Mon, 22 Feb 2010 05:02:02 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:mime-version:received:date:message-id:subject
:from:to:content-type;
bh=QNac1DCFtyOjpC/u4SwH5baGnXjgHALVJfP1NPfADwQ=;
b=N7gAlJM8zYJ+DYKkR41Em/jmkhi5B6lCvPVCLrbwE0T24YqGjl8WVdQm8c8woCu1Lw
JSIwCIG/6xh3WMpmtr1aKewxrmBYidXO8mdYs+CWGe7AT3qH6ZuT2KI+vuMHAEfDDWJh
HsbVKtSJxjSDQTkEoPvwdjYp6EZWNYX3puFxA=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=mime-version:date:message-id:subject:from:to:content-type;
b=E4Ol2l3/tBYqPLO5mNKFlts+kytK/q126xfIZFWXAEgWTl+hdS3FHt4s/UX1ZaShv/
DLGp3xfQGbGJEIBn4fGpAgp8jyZSg+uIgyLKIDyKftQlq92E+WEPbu2rWAXTckOQ5qWh
2TR4mKlIGIuSdOD7lSMkqdpNzqZWFAk8ZHonU=
MIME-Version: 1.0
Received: by 10.216.85.130 with SMTP id u2mr1714813wee.49.1266843718815; Mon,
22 Feb 2010 05:01:58 -0800 (PST)
Date: Mon, 22 Feb 2010 10:01:58 -0300
Message-ID: <51003a641002220501y34ce52d3s7d37e38f585f8...@mail.gmail.com>
Subject: windsor convention based overrides
From: Jan Limpens <jan.limp...@gmail.com>
To: castle-project-users <castle-project-users@googlegroups.com>
Content-Type: multipart/alternative; boundary=0016e6d64082d892f504803009e4
--0016e6d64082d892f504803009e4
Content-Type: text/plain; charset=UTF-8
I have this, and think it is not very elegant
, Component.For<AutomapperBootstrapper>()
.ServiceOverrides(new
{
urlResolverForNamedEntities = "urlResolverForNamedEntities",
priceResolver = "priceResolver"
})
Is there a ready made facility around this?
--0016e6d64082d892f504803009e4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
I have this, and think it is not very elegant<br><br>, Component.For<Aut=
omapperBootstrapper>()<br>=C2=A0=C2=A0 .ServiceOverrides(new<br>=C2=A0=
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 {<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=
=A0=C2=A0 urlResolverForNamedEntities =3D "urlResolverForNamedEntities=
",<br>
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 priceResolver =3D "priceRes=
olver"<br>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 })<br><br>Is ther=
e a ready made facility around this?<br>
--0016e6d64082d892f504803009e4--