Ejemplo n.º 1
0
 private void OpenFile(ISourceProvider sourceProvider)
 {
     if (sourceProvider == null)
     {
         throw new ArgumentNullException(nameof(sourceProvider), "SourceProvider can't be null.");
     }
     if (sourceProvider.GetAccess())
     {
         LoadedAssembly = sourceProvider.GetPath();
         ReloadAssemblyCommand.Execute(null);
     }
 }