OpenSim.ConfigurationLoader.IsUri C# (CSharp) 메소드

IsUri() 개인적인 메소드

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

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