public static MutatorsTreeBase <T> Merge <T>(MutatorsTreeBase <T> first, MutatorsTreeBase <T> second)
 {
     if (first == null)
     {
         return(second);
     }
     if (second == null)
     {
         return(first);
     }
     return(first.Merge(second));
 }
Пример #2
0
 public override MutatorsTreeBase <TData> Merge(MutatorsTreeBase <TData> other)
 {
     return(new MultipleMutatorsTree <TData>(new[] { this, other }));
 }
Пример #3
0
 public abstract MutatorsTreeBase <TData> Merge(MutatorsTreeBase <TData> other);
 public MutatorsTreeBase <TDest> MigratePaths(MutatorsTreeBase <TDest> mutatorsTree, MutatorsContext context)
 {
     return(mutatorsTree?.MigratePaths <TSource>(GetOrCreateHashtableSlot(context).ConverterTree));
 }