public static IResult <ObjectGraph> FromFile(FileName file) => tryTo(() => ObjectGraph.FromFile(file));
public static IResult <ObjectGraph> FromSingleLine(string singleLine) { return(tryTo(() => ObjectGraph.FromSingleLine(singleLine))); }
public static IResult <ObjectGraph> Serialize(object obj, Predicate <string> exclude, StringStringHash signatures) { return(tryTo(() => ObjectGraph.Serialize(obj, exclude, signatures))); }
public static DictionaryAssertion <string, ObjectGraph> Must(this ObjectGraph objectGraph) { var hash = objectGraph.AnyHash().ForceValue(); return(new DictionaryAssertion <string, ObjectGraph>(hash)); }
public ObjectGraphTrying(ObjectGraph graph) => this.graph = graph;
internal Switch(ObjectGraph graph) : this() => this.graph = graph;
public Defaulting(ObjectGraph objectGraph, Func <string> defaultValue) { this.objectGraph = objectGraph; this.defaultValue = defaultValue; }