/// <summary cref="IntrinsicMatcher{T}.TransformTo{TOther, TTransformer}( /// TTransformer, IntrinsicMatcher{TOther})"/> public sealed override void TransformTo <TOther, TTransformer>( TTransformer transformer, IntrinsicMatcher <TOther> other) { var otherMatcher = other as IntrinsicValueMatcher <TOther>; otherMatcher.Implementation = transformer.Transform(Implementation); }
/// <summary cref="IntrinsicMatcher{T}.TransformTo{TOther, TTransformer}( /// TTransformer, IntrinsicMatcher{TOther})"/> public override void TransformTo <TOther, TTransformer>( TTransformer transformer, IntrinsicMatcher <TOther> other) { var otherMatcher = other as IntrinsicMethodMatcher <TOther>; foreach (var entry in entries) { otherMatcher.entries[entry.Key] = transformer.Transform(entry.Value); } }
/// <summary> /// Creates a new backend container. /// </summary> public static BackendContainer Create() => new BackendContainer() { matchers = IntrinsicMatcher.CreateMatchers <ImplementationEntry>() };