Artemis.Modules.Games.Overwatch.OverwatchViewModel.PlaceDll C# (CSharp) Метод

PlaceDll() публичный Метод

public PlaceDll ( ) : void
Результат void
        public void PlaceDll()
        {
            var path = ((OverwatchSettings) GameSettings).GameDirectory;

            if (!File.Exists(path + @"\Overwatch.exe"))
            {
                DialogService.ShowErrorMessageBox("Please select a valid Overwatch directory\n\n" +
                                                  @"By default Overwatch is in C:\Program Files (x86)\Overwatch");

                ((OverwatchSettings) GameSettings).GameDirectory = string.Empty;
                NotifyOfPropertyChange(() => GameSettings);
                GameSettings.Save();
                return;
            }

            DllManager.PlaceRazerDll(path);
        }
    }