static RK() { NULL = new RK(); }
/// <summary> /// Tests whether a string can be converted to an <see cref="IResourceKey"/> and, /// if so, sets <paramref name="result"/> to the converted value. /// </summary> /// <param name="value">A potential string representation of an <see cref="IResourceKey"/>.</param> /// <param name="result">The eqivalent <see cref="IResourceKey"/> value for <paramref name="value"/>.</param> /// <returns>True if <paramref name="value"/> has the format /// "0xHHHHHHHH-0xHHHHHHHH-0xHHHHHHHHHHHHHHHH"; otherwise false. /// </returns> public static bool TryParse(string value, out IResourceKey result) { result = new RK(); return AResourceKey.TryParse(value, result); }
/// <summary> /// Tests whether a string can be converted to an <see cref="IResourceKey"/> and, /// if so, sets <paramref name="result"/> to the converted value. /// </summary> /// <param name="value">A potential string representation of an <see cref="IResourceKey"/>.</param> /// <param name="result">The eqivalent <see cref="IResourceKey"/> value for <paramref name="value"/>.</param> /// <returns>True if <paramref name="value"/> has the format /// "0xHHHHHHHH-0xHHHHHHHH-0xHHHHHHHHHHHHHHHH"; otherwise false. /// </returns> public static bool TryParse(string value, out IResourceKey result) { result = new RK(); return(AResourceKey.TryParse(value, result)); }