Mapsui.Geometries.WellKnownText.WktStreamTokenizer.ReadAuthority C# (CSharp) Method

ReadAuthority() public method

Reads the authority and authority code.
public ReadAuthority ( string &authority, long &authorityCode ) : void
authority string String to place the authority in.
authorityCode long String to place the authority code in.
return void
        public void ReadAuthority(out string authority, out long authorityCode)
        {
            //AUTHORITY["EPGS","9102"]]
            if (GetStringValue() != "AUTHORITY")
                ReadToken("AUTHORITY");
            ReadToken("[");
            authority = ReadDoubleQuotedWord();
            ReadToken(",");
            authorityCode = long.Parse(ReadDoubleQuotedWord());
            ReadToken("]");
        }