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