コード例 #1
0
        /// <summary>
        /// Constructs an instance of <c>BindingManager</c> with the specified <see cref="SynchronizationContext"/>.
        /// </summary>
        /// <param name="synchronizationContext">
        /// The <see cref="SynchronizationContext"/> to use for all bindings in this binding manager, or <see langword="null"/> if no
        /// <see cref="SynchronizationContext"/> should be used.
        /// </param>
        public BindingManager(SynchronizationContext synchronizationContext)
        {
            _bindings = new BindingBaseCollection(this);
#if !WEBGUI && !WISEJ
            _synchronizationContext = synchronizationContext;
#endif
        }
コード例 #2
0
ファイル: MultiSourceBinding.cs プロジェクト: yzwbrian/MvvmFx
 /// <summary>
 /// Constructs an instance of <c>MultiSourceBinding</c>.
 /// </summary>
 protected MultiSourceBinding()
 {
     _sources = new BindingBaseCollection(this);
 }