예제 #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));
 }