public JavaSource(string path, string fileName, IAppVM supVM) { InitializeComponent(); _vm = new JavaSourceViewModel(this, path); this._vm.FileName = fileName; this._supVM = supVM; }
public JavaSource(string fileName, IAppVM supVM) { InitializeComponent(); _vm = new JavaSourceViewModel(this); this._vm.FileName = fileName; this._supVM = supVM; this._vm.ExistsOnFileSystem = false; }