ViewModelBase Constructor (Dispatcher, ViewModelBase)
Namespace: Microsoft.TeamFoundation.MVVM
Assembly: Microsoft.TeamFoundation.Controls (in Microsoft.TeamFoundation.Controls.dll)
Syntax
'Declaration
Public Sub New ( _
dispatcher As Dispatcher, _
parentViewModel As ViewModelBase _
)
public ViewModelBase(
Dispatcher dispatcher,
ViewModelBase parentViewModel
)
public:
ViewModelBase(
Dispatcher^ dispatcher,
ViewModelBase^ parentViewModel
)
new :
dispatcher:Dispatcher *
parentViewModel:ViewModelBase -> ViewModelBase
public function ViewModelBase(
dispatcher : Dispatcher,
parentViewModel : ViewModelBase
)
Parameters
- dispatcher
Type: System.Windows.Threading.Dispatcher
- parentViewModel
Type: Microsoft.TeamFoundation.MVVM.ViewModelBase
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.