MapSuiteGisEditor/GisEditorInfrastructure/Shares/Validators.cs
/// <summary>
/// Checks the is project exist.
/// </summary>
/// <param name="uri">The URI.</param>
/// <param name="projectPluginManager">The project plugin manager.</param>
/// <exception cref="System.IO.FileNotFoundException">Project file not exists.;uri</exception>
Checks the is project exist.
Checks the is project exist .
public static void CheckIsProjectExist(Uri uri, ProjectPluginManager projectPluginManager)
        {
            if (uri != null && !projectPluginManager.ProjectExists(uri) && uri.AbsolutePath != "blank" && !uri.Scheme.ToLower().Contains("backup"))
            {
                throw new FileNotFoundException("Project file not exists.", "uri");
            }
        }
public static void CheckIsProjectExist ( Uri uri , ProjectPluginManager projectPluginManager ) { if ( uri != null && ! projectPluginManager . ProjectExists ( uri ) && uri . AbsolutePath != " " && ! uri . Scheme . ToLower ( ) . Contains ( " " ) ) { throw new FileNotFoundException ( " " , " " ) ; } }
Checks the is project exist.
Checks the is project exist .
Project file not exists.;uri
Project file not exists . ; uri
uri
Uri
None
projectPluginManager
ProjectPluginManager
The project plugin manager.
The project plugin manager .