Пример #1
0
 public static RegisterClasse PerWebRequest(this RegisterClasse registerClasse) =>
 registerClasse.SetRegisterTipo(RegisterTipo.PerWebRequest);
Пример #2
0
 public static RegisterClasse PerTransient(this RegisterClasse registerClasse) =>
 registerClasse.SetRegisterTipo(RegisterTipo.Transient);
Пример #3
0
 public static RegisterClasse PerSingleton(this RegisterClasse registerClasse) =>
 registerClasse.SetRegisterTipo(RegisterTipo.Singleton);
Пример #4
0
 public static RegisterClasse PerThread(this RegisterClasse registerClasse) =>
 registerClasse.SetRegisterTipo(RegisterTipo.PerThread);
Пример #5
0
 public static RegisterClasse PerScope(this RegisterClasse registerClasse) =>
 registerClasse.SetRegisterTipo(RegisterTipo.Scope);