Inheritance: Raven.Studio.Infrastructure.Model
 private ApplicationModel()
 {
     Notifications = new BindableCollection<Notification>(new PrimaryKeyComparer<Notification>(x=>x.Message));
     LastNotification = new Observable<string>();
     Server = new Observable<ServerModel>();
     var serverModel = new ServerModel();
     serverModel.Initialize()
         .ContinueOnSuccess(() => Server.Value = serverModel);
 }
Exemple #2
0
 private void Initialize()
 {
     var serverModel = new ServerModel();
     Server.Value = serverModel;
     serverModel.Initialize();
 }
 public CreateDatabaseCommand(ServerModel serverModel, IAsyncDatabaseCommands databaseCommands)
 {
     this.serverModel = serverModel;
     this.databaseCommands = databaseCommands;
 }