static IDisposable BindCore <TTarget, TSource>(IEnumerable target, Func <TSource, TTarget> itemConverter, IEnumerable source, Func <TTarget, TSource> itemBackConverter, bool reverse, bool useStrongReferences)
        {
            var binding = new CollectionTwoWayBinding <TTarget, TSource>(target, itemConverter, source, itemBackConverter, reverse, useStrongReferences);

            binding.Reset();
            return(binding);
        }
예제 #2
0
        static IDisposable BindCore <TTarget, TSource>(object target, Func <TSource, TTarget> itemConverter, object source, Func <TTarget, TSource> itemBackConverter, bool reverse)
        {
            var binding = new CollectionTwoWayBinding <TTarget, TSource>(target, itemConverter, source, itemBackConverter, reverse);

            binding.Reset();
            return(binding);
        }