2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
151
_target
= target;
193
_target
= null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
144
if (
_target
!= null)
188
Debug.Assert(
_target
!= null);
189
Debug.Assert(
_target
.Dispatcher.Thread == Thread.CurrentThread);
209
targetsHandle =
_target
._contentRoot.DuplicateHandle(
_target
.OutOfBandChannel, (DUCE.Channel)channel);
213
_target
.OutOfBandChannel.CloseBatch();
214
_target
.OutOfBandChannel.Commit();
244
&&
_target
!= null
258
if (
_target
.CheckAccess())
260
Debug.Assert(
_target
._contentRoot.IsOnChannel(channel));
261
Debug.Assert(
_target
.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel);
262
bool created =
_target
._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
264
targetsHandle =
_target
._contentRoot.GetHandle(channel);
281
object returnValue =
_target
.Dispatcher.Invoke(
385
if (
_target
!= null && _connectedChannels.TryGetValue(channel, out channelDispatcher))
395
_target
._contentRoot.GetHandle(channel),
396
_target
._contentRoot);
414
targetHandle:
_target
._contentRoot.GetHandle(channel),
415
contentRoot:
_target
._contentRoot,