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