public void ToStringlyTyped_ClassWithCustomParseMethod_ParsesString() { UppercasedString actual = GetStringly("Nyan Cat"); Assert.That(actual.Value, Is.EqualTo("NYAN CAT")); }
public static bool TryParse(string value, out UppercasedString result) { result = new UppercasedString(value); return(true); }