Пример #1
0
 public void Configure(IMvxPluginConfiguration configuration)
 {
     if (!(configuration is LocalStorageConfiguration))
     {
         throw new Exception("Configuration does not appear to be a valid NetworkConfiguration.");
     }
     _Configuration = (LocalStorageConfiguration)configuration;
 }
Пример #2
0
 public LocalStorageService(LocalStorageConfiguration configuration)
 {
     _Configuration = configuration;
 }
Пример #3
0
 public LocalStorageService(LocalStorageConfiguration configuration)
 {
     //Initialize();
     _Configuration = configuration;
 }