2 writes to _target
PresentationCore (2)
System\Windows\Media\HostVisual.cs (2)
167
_target
= target;
209
_target
= null;
19 references to _target
PresentationCore (19)
System\Windows\Media\HostVisual.cs (19)
160
if (
_target
!= null)
204
Debug.Assert(
_target
!= null);
205
Debug.Assert(
_target
.Dispatcher.Thread == Thread.CurrentThread);
225
targetsHandle =
_target
._contentRoot.DuplicateHandle(
_target
.OutOfBandChannel, (DUCE.Channel)channel);
229
_target
.OutOfBandChannel.CloseBatch();
230
_target
.OutOfBandChannel.Commit();
260
&&
_target
!= null
274
if (
_target
.CheckAccess())
276
Debug.Assert(
_target
._contentRoot.IsOnChannel(channel));
277
Debug.Assert(
_target
.OutOfBandChannel == MediaContext.CurrentMediaContext.OutOfBandChannel);
278
bool created =
_target
._contentRoot.CreateOrAddRefOnChannel(this, channel, VisualTarget.s_contentRootType);
280
targetsHandle =
_target
._contentRoot.GetHandle(channel);
297
object returnValue =
_target
.Dispatcher.Invoke(
401
if (
_target
!= null && _connectedChannels.TryGetValue(channel, out channelDispatcher))
411
_target
._contentRoot.GetHandle(channel),
412
_target
._contentRoot);
430
targetHandle:
_target
._contentRoot.GetHandle(channel),
431
contentRoot:
_target
._contentRoot,