示例#1
0
 public ISingleton1 Grace()
 {
     return(GraceContainer.Locate <ISingleton1>());
 }
示例#2
0
 public void Grace()
 {
     GraceContainer.Resolve <G.DependencyInjection.Meta <ISmallObjectService> >();
 }
示例#3
0
 public void ConfigureContainer(IInjectionScope scope)
 {
     GraceContainer.ConfigureContainer(scope, Configuration);
     scope.SetupMvc();
 }