Пример #1
0
 public static void RegisterDependencies()
 {
     Resolver.Register <IEncryptionService, EncryptionService>();
 }
Пример #2
0
 public static void RegisterDependencies(Context context, IDependencyResolver resolver)
 {
     Resolver.Register <IEncryptionService, EncryptionService>();
 }