Try this: container.Register<IAccount>( () => new Account(1000M), Lifestyle.Singleton);. A call to Register<T, R>() always applies ...
確定! 回上一頁