public FolderTreeViewItemViewModel(string name, string path, CloudFoundry.Net.Types.Application app, ushort id)
     : base(null, true)
 {
     Messenger.Default.Send<NotificationMessageAction<ICloudFoundryProvider>>(new NotificationMessageAction<ICloudFoundryProvider>(Messages.GetCloudFoundryProvider, p => this.provider = p));
     this.name = name;
     this.app = app;
     this.path = path;
     this.id = id;
 }
Example #2
0
 public FolderTreeViewItemViewModel(string name, string path, CloudFoundry.Net.Types.Application app, ushort id)
     : base(null, true)
 {
     Messenger.Default.Send <NotificationMessageAction <ICloudFoundryProvider> >(new NotificationMessageAction <ICloudFoundryProvider>(Messages.GetCloudFoundryProvider, p => this.provider = p));
     this.name = name;
     this.app  = app;
     this.path = path;
     this.id   = id;
 }
Example #3
0
 public FileTreeViewItemViewModel(string name, string path, CloudFoundry.Net.Types.Application app, ushort id)
     : base(null, true)
 {
     Messenger.Default.Send <NotificationMessageAction <ICloudFoundryProvider> >(new NotificationMessageAction <ICloudFoundryProvider>(Messages.GetCloudFoundryProvider, p => this.provider = p));
     this.name                  = name;
     this.app                   = app;
     this.path                  = path;
     this.id                    = id;
     this.fileExtension         = System.IO.Path.GetExtension(name);
     OpenFileCommand            = new RelayCommand <MouseButtonEventArgs>(OpenFile);
     OpenFileFromContextCommand = new RelayCommand(OpenFileFromContext);
 }
 public FileTreeViewItemViewModel(string name, string path, CloudFoundry.Net.Types.Application app, ushort id)
     : base(null, true)
 {
     Messenger.Default.Send<NotificationMessageAction<ICloudFoundryProvider>>(new NotificationMessageAction<ICloudFoundryProvider>(Messages.GetCloudFoundryProvider, p => this.provider = p));
     this.name = name;
     this.app = app;
     this.path = path;
     this.id = id;
     this.fileExtension = System.IO.Path.GetExtension(name);
     OpenFileCommand = new RelayCommand<MouseButtonEventArgs>(OpenFile);
     OpenFileFromContextCommand = new RelayCommand(OpenFileFromContext);
 }