Hi , first of all it is nice work. !! Thank you.
I have a question about binsor to optimize register components text format in boo files.
"
var kernel = new DefaultKernel();using (kernel.OptimizeDependencyResolution())
{
for (int i = 0; i < 500; i++)
{
kernel.AddComponent("key" + i, typeof(string), typeof(string));
}
}
"
below you can see my boo code.
"private def RegisterRepositories():
for type in AllTypes("<myAssebmly>"):
continue unless typeof(cr.IRepositoryBase).IsAssignableFrom(type)
keyType = TypeHelper.GetTopLevelRepositoryInterface(type)
if not Kernel.HasComponent(keyType):
Component type.Namespace + "." + type.Name.ToLowerInvariant() + ".repository", keyType, type
"
how can i you "using" c# keyword in my case.
i'll be happy with your helps.
Thanx...
Ümit
2 Mart 2008 Pazar 03:57:40 UTC+2 tarihinde Shawn Hinsey yazdı: