예제 #1
0
 private MutationRecord(EMutationType type, Node target, string attributeName, string attributeNamespace, string oldValue, IEnumerable <Node> addedNodes, IEnumerable <Node> removedNodes, Node previousSibling, Node nextSibling)
     : this(type, target, attributeName, attributeNamespace, oldValue)
 {
     this.addedNodes      = addedNodes;
     this.removedNodes    = removedNodes;
     this.nextSibling     = nextSibling;
     this.previousSibling = previousSibling;
 }
예제 #2
0
 public MutationEntry(
     IMutation mutation,
     float chance,
     EMutationType mutationType)
 {
     this.mutation     = mutation;
     this.chance       = chance;
     this.mutationType = mutationType;
 }
예제 #3
0
 private MutationRecord(EMutationType type, Node target, string attributeName, string attributeNamespace, dynamic oldValue) : this(type, target)
 {
     this.attributeName      = attributeName;
     this.attributeNamespace = attributeNamespace;
     this.oldValue           = oldValue;
 }
예제 #4
0
 private MutationRecord(EMutationType type, Node target)
 {
     this.type   = type;
     this.target = target;
 }