示例#1
0
 private Chain(ChainIdentity chainIdentity, Braid braid, LongitudinalEvaluators longitudinalEvaluators, LongitudinalEvaluations evaluations)
 {
     _longitudinalEvaluators = longitudinalEvaluators;
     _evaluations            = evaluations;
     ChainIdentity           = chainIdentity;
     Braid = braid;
 }
示例#2
0
        public static Chain Build(ChainIdentity chainIdentity, Braid braid, LongitudinalEvaluators longitudinalEvaluators)
        {
            var evaluations = new LongitudinalEvaluations();

            longitudinalEvaluators.SetEvaluationDestination(evaluations);

            return(new Chain(chainIdentity, braid, longitudinalEvaluators, evaluations));
        }
示例#3
0
 protected bool Equals(ChainIdentity other)
 {
     return(string.Equals(Value, other.Value));
 }