3 types derived from ObjectMarkupInfo
System.Xaml (3)
System\Xaml\XamlObjectReader.cs (3)
213
class NameScopeMarkupInfo :
ObjectMarkupInfo
2343
class ReferenceMarkupInfo :
ObjectMarkupInfo
2877
class XamlTemplateMarkupInfo :
ObjectMarkupInfo
8 instantiations of ObjectMarkupInfo
System.Xaml (8)
System\Xaml\XamlObjectReader.cs (8)
542
new
ObjectMarkupInfo
570
new
ObjectMarkupInfo
613
new
ObjectMarkupInfo
()
1820
var objectInfo = new
ObjectMarkupInfo
()
1843
var iListInfo = new
ObjectMarkupInfo
1905
return new
ObjectMarkupInfo
{ XamlNode = new XamlNode(XamlNodeType.StartObject, XamlLanguage.Null) };
2045
recordInfo = new
ObjectMarkupInfo
2068
var objectInfo = new
ObjectMarkupInfo
40 references to ObjectMarkupInfo
System.Xaml (40)
System\Xaml\XamlObjectReader.cs (40)
54
var
rootObject =
ObjectMarkupInfo
.ForObject(instance, context, null, true);
104
currentInstance = node is
ObjectMarkupInfo
objectNode ? objectNode.Object : null;
281
return (children[0] is
ObjectMarkupInfo
r && r.IsAttributableMarkupExtension);
294
if (child is
ObjectMarkupInfo
objectInfo && !objectInfo.IsAttributableMarkupExtension)
310
if (Children[0] is not
ObjectMarkupInfo
r)
420
ObjectMarkupInfo
objInfo;
435
objInfo =
ObjectMarkupInfo
.ForObject(entry.Value, context);
449
keyValue =
ObjectMarkupInfo
.ForObject(entry.Key, context, tc);
482
if (
ObjectMarkupInfo
.CanPropertyXamlRoundtrip(dkp, context))
674
if (memberInfo.Children[0] is
ObjectMarkupInfo
objectInfo && objectInfo.Properties.Count == 1 && memberType == objectInfo.XamlNode.XamlType)
683
if (itemsMemberInfo.Children[0] is not
ObjectMarkupInfo
itemInfo || itemInfo.XamlNode.XamlType is null || !itemInfo.XamlNode.XamlType.IsMarkupExtension)
739
ObjectMarkupInfo
itemInfo =
ObjectMarkupInfo
.ForObject(itemValue, context);
875
valueInfo =
ObjectMarkupInfo
.ForObject(propertyValue, context);
895
valueInfo =
ObjectMarkupInfo
.ForObject(propertyValue, context, propertyConverter);
1343
ObjectMarkupInfo
objectInfo = null;
1709
static void CheckTypeCanRoundtrip(
ObjectMarkupInfo
objInfo)
1803
static
ObjectMarkupInfo
ForArray(Array value, SerializerContext context)
1820
var
objectInfo = new ObjectMarkupInfo()
1843
var
iListInfo = new ObjectMarkupInfo
1869
static void AddAttachedProperties(object value,
ObjectMarkupInfo
objectInfo, SerializerContext context)
1903
static
ObjectMarkupInfo
ForNull()
1908
public static
ObjectMarkupInfo
ForObject(object value, SerializerContext context, TypeConverter instanceConverter = null, bool isRoot = false)
1915
ObjectMarkupInfo
existingInfo = context.ReferenceTable.Find(value);
1950
ObjectMarkupInfo
objectInfo;
2022
static
ObjectMarkupInfo
ForObjectInternal(object value, SerializerContext context, TypeConverter converter)
2024
ObjectMarkupInfo
recordInfo;
2060
static void AddReference(object value,
ObjectMarkupInfo
objectInfo, SerializerContext context)
2065
static
ObjectMarkupInfo
ForTypeConverted(string value, object originalValue, SerializerContext context)
2068
var
objectInfo = new ObjectMarkupInfo
2105
propertyInfo.Children[0] is
ObjectMarkupInfo
objectInfo &&
2345
public
ObjectMarkupInfo
Target { get; set; }
2348
public ReferenceMarkupInfo(
ObjectMarkupInfo
target)
2430
Dictionary<object,
ObjectMarkupInfo
> objectGraphTable;
2439
objectGraphTable = new Dictionary<object,
ObjectMarkupInfo
>(new ObjectReferenceEqualityComparer());
2442
public void Add(object value,
ObjectMarkupInfo
info)
2457
public
ObjectMarkupInfo
Find(object value)
2459
ObjectMarkupInfo
result;
2761
ObjectMarkupInfo
existingInfo = ReferenceTable.Find(objectToName);