protected void OnReplace(NodeCollection oldCollection, NodeCollection newCollection) { }
public bool ShouldSerialize <T>(NodeCollection <T> c) where T : Node { return(c.Count > 0); }
public static bool Matches(NodeCollection lhs, NodeCollection rhs) { return(lhs == null ? rhs == null : lhs.Matches(rhs)); }
public static ICollection <TValue> GetValues <TNode, TValue>(NodeCollection <TNode> nodes) where TNode : LiteralExpression { return(nodes.Select(node => (TValue)Convert.ChangeType(node.ValueObject, typeof(TValue))).ToList()); }