OpenSim.ConfigurationLoader.IsUri C# (CSharp) Méthode

IsUri() private méthode

Check if we can convert the string to a URI
private IsUri ( string file ) : bool
file string String uri to the remote resource
Résultat bool
        bool IsUri(string file)
        {
            Uri configUri;

            return Uri.TryCreate(file, UriKind.Absolute,
                    out configUri) && configUri.Scheme == Uri.UriSchemeHttp;
        }