Ejemplo n.º 1
0
 static RK() { NULL = new RK(); }
Ejemplo n.º 2
0
 static RK()
 {
     NULL = new RK();
 }
Ejemplo n.º 3
0
 /// <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);
 }
Ejemplo n.º 4
0
 /// <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));
 }