public Fact GetFact(FactReference reference) => factsByReference[reference];
public static Fact Create(string type, ImmutableList <Field> fields, ImmutableList <Predecessor> predecessors) { var reference = new FactReference(type, ComputeHash(fields, predecessors)); return(new Fact(reference, fields, predecessors)); }
private Fact(FactReference reference, ImmutableList <Field> fields, ImmutableList <Predecessor> predecessors) { Reference = reference; Fields = fields; Predecessors = predecessors; }
public PredecessorSingle(string role, FactReference reference) : base(role) { Reference = reference; }