CK.Core.ActivityMonitor.DependentToken.Parse C# (CSharp) Method

Parse() static public method

Parses a DependentToken.ToString() string or throws a FormatException on error.
static public Parse ( string s ) : DependentToken
s string The string to parse.
return DependentToken
            static public DependentToken Parse( string s )
            {
                DependentToken t;
                if( !TryParse( s, out t ) ) throw new FormatException( "Invalid Dependent token string." );
                return t;
            }