15 references to SourceMode
PresentationFramework (15)
src\Framework\System\Windows\Data\ObjectDataProvider.cs (15)
105
if (_mode ==
SourceMode
.FromInstance)
107
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromType;
128
return (_mode ==
SourceMode
.FromType) && (ObjectType != null);
158
if (_mode ==
SourceMode
.FromType)
160
_mode = (value == null) ?
SourceMode
.NoSource :
SourceMode
.FromInstance;
200
return (_mode ==
SourceMode
.FromInstance) && (ObjectInstance != null);
242
return (_mode ==
SourceMode
.FromType) && (_constructorParameters.Count > 0);
353
Debug.Assert(_mode !=
SourceMode
.FromType);
387
if (_mode ==
SourceMode
.NoSource || _objectType == null)
396
if (_needNewInstance && (_mode ==
SourceMode
.FromType))
610
Invariant.Assert (_mode !=
SourceMode
.FromInstance);
678
SourceMode
_mode =
SourceMode
.NoSource;