# all files / TypeScript.NET/source/System/Uri/ Scheme.js

87.5% Statements 21/24
40% Branches 4/10
100% Functions 3/3
90.91% Lines 20/22

    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36

    1×
    1×
    1×

    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×
    1×

    1×
    18×

    1×

     /*!
     * @author electricessence / https://github.com/electricessence/
     * Licensing: MIT https://github.com/electricessence/TypeScript.NET/blob/master/LICENSE.md
     * Based on: https://msdn.microsoft.com/en-us/library/system.uri.scheme%28v=vs.110%29.aspx
     */
    (function (factory) {
        Eif (typeof module === 'object' && typeof module.exports === 'object') {
            var v = factory(require, exports); Iif (v !== undefined) module.exports = v;
        }
        else if (typeof define === 'function' && define.amd) {
            define(["require", "exports"], factory);
        }
    })(function (require, exports) {
        "use strict";
        exports.File = "file";
        exports.FTP = "ftp";
        exports.GOPHER = "gopher";
        exports.HTTP = "http";
        exports.HTTPS = "https";
        exports.LDAP = "ldap";
        exports.MAILTO = "mailto";
        exports.PIPE = "net.pipe";
        exports.TCP = "net.tcp";
        exports.NEWS = "news";
        exports.NNTP = "nntp";
        exports.TELNET = "telnet";
        exports.UUID = "uuid";
        exports.All = Object.freeze([
            exports.File, exports.FTP, exports.GOPHER, exports.HTTP, exports.HTTPS, exports.LDAP, exports.MAILTO, exports.PIPE, exports.TCP, exports.NEWS, exports.NNTP, exports.TELNET, exports.UUID
        ]);
        function isValid(scheme) {
            return exports.All.indexOf(scheme) != -1;
        }
        exports.isValid = isValid;
    });
    //# sourceMappingURL=Scheme.js.map