Home
last modified time | relevance | path

Searched refs:GetXamlType (Results 1 – 25 of 45) sorted by relevance

12

/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/Test/System.Xaml/
H A DXamlSchemaContextTest.cs165 var xt = ctx.GetXamlType (typeof (string)); in GetXamlTypeAndAllXamlTypes()
171 …Assert.IsTrue (object.ReferenceEquals (ctx.GetXamlType (GetType ()), ctx.GetXamlType (GetType ()))… in GetXamlTypeAndAllXamlTypes()
227 xt = ctx.GetXamlType (new XamlTypeName (ns, "Int32")); in GetXamlTypeByName()
231 xt = ctx.GetXamlType (new XamlTypeName (ns, "Uri")); in GetXamlTypeByName()
236 xt = ctx.GetXamlType (new XamlTypeName (ns, "Array")); in GetXamlTypeByName()
240 xt = ctx.GetXamlType (new XamlTypeName (ns, "Null")); in GetXamlTypeByName()
242 xt = ctx.GetXamlType (new XamlTypeName (ns, "Static")); in GetXamlTypeByName()
244 xt = ctx.GetXamlType (new XamlTypeName (ns, "Type")); in GetXamlTypeByName()
255 var xt = ctx.GetXamlType (typeof (Type)); in GetTypeForRuntimeType()
270 var xt = ctx.GetXamlType (xn); in GetTypeFromXamlTypeNameWithClrName()
[all …]
H A DXamlTypeTest.cs205 …Assert.AreNotEqual (XamlLanguage.Type, new XamlSchemaContext ().GetXamlType (typeof (Type)), "#4"); in EqualityAcrossConstructors()
750 Assert.IsTrue (sctx.GetXamlType (typeof (XmlSerializable)).IsXData, "#2"); in IsXData()
756 var xt = sctx.GetXamlType (typeof (XmlSerializableWrapper)); in XDataMembers()
824 var xt = sctx.GetXamlType (typeof (XamlTest.Configurations)); in DerivedListMembers()
831 var xt = sctx.GetXamlType (typeof (EnumValueType)); in EnumType()
842 var xt = sctx.GetXamlType (typeof (CollectionContentProperty)); in CollectionContentProperty()
851 var xt = sctx.GetXamlType (typeof (SecondTest.ResourcesDict)); in AmbientPropertyContainer()
863 var xt = sctx.GetXamlType (typeof (NullableContainer)); in NullableContainer()
883 var xt = sctx.GetXamlType (typeof (IList<int>)); in DerivedCollectionAndDictionary()
886 xt = sctx.GetXamlType (typeof (IDictionary<EnumValueType,int>)); in DerivedCollectionAndDictionary()
H A DValueSerializerContextTest.cs69 var xt = ctx.GetXamlType (obj.GetType ()); in GetService()
H A DXamlXmlReaderTest.cs163 Assert.AreEqual (r.SchemaContext.GetXamlType (typeof (DateTime)), r.Type, "so#3"); in ReadDateTimeDetails()
200 var xt = r.SchemaContext.GetXamlType (typeof (Guid)); in ReadGuidFactoryMethodDetails()
253 var xt = r.SchemaContext.GetXamlType (typeof (EventStore)); in ReadEventStore()
H A DXamlObjectReaderTest.cs367 Assert.IsNotNull (r.SchemaContext.GetXamlType (typeof (Guid)).TypeConverter, "premise#1"); in Read_Guid()
673 var xt = xr.SchemaContext.GetXamlType (obj.GetType ()); in Read_ReadOnlyPropertyContainer()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/XamlBuildTask/Microsoft/Build/Tasks/Xaml/
H A DWrappingXamlSchemaContext.cs25 public override XamlType GetXamlType(Type type) in GetXamlType() method in Microsoft.Build.Tasks.Xaml.XamlNsReplacingContext
40 …protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeA… in GetXamlType() method in Microsoft.Build.Tasks.Xaml.XamlNsReplacingContext
42 XamlType xamlType = base.GetXamlType(xamlNamespace, name, typeArguments); in GetXamlType()
46 xamlType = base.GetXamlType(xamlNamespace, name, typeArguments); in GetXamlType()
58 XamlType rolType = base.GetXamlType(clrNamespace, xamlType.UnderlyingType.Name); in GetXamlType()
H A DXamlValidatingReader.cs44 … this.xNull = underlyingReader.SchemaContext.GetXamlType(new XamlTypeName(XamlLanguage.Null)); in XamlValidatingReader()
340 XamlType typeOfValue = SchemaContext.GetXamlType(value.GetType()); in ValidateValueToMemberOnStack()
423 declaringType = SchemaContext.GetXamlType(this.definedType); in ValidateUnknown()
H A DAttributeData.cs153 …paramInfo.Type = xamlArrayReader.SchemaContext.GetXamlType(arrayType.UnderlyingType.MakeArrayType(… in ReadParamInfo()
228 paramType = reader.SchemaContext.GetXamlType(typeof(Type)); in GetParamValueType()
H A DAttributeParameterData.cs64 … XamlType elementType = type.SchemaContext.GetXamlType(type.UnderlyingType.GetElementType()); in AttributeParameterData()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Xaml/
H A DXamlSchemaContext.cs169 public virtual XamlType GetXamlType (Type type) in GetXamlType() method in System.Xaml.XamlSchemaContext
183 public XamlType GetXamlType (XamlTypeName xamlTypeName) in GetXamlType() method in System.Xaml.XamlSchemaContext
190 return GetXamlType (n.Namespace, n.Name); in GetXamlType()
195 typeArgs [i] = GetXamlType (n.TypeArguments [i]); in GetXamlType()
196 return GetXamlType (n.Namespace, n.Name, typeArgs); in GetXamlType()
199 …protected internal virtual XamlType GetXamlType (string xamlNamespace, string name, params XamlTyp… in GetXamlType() method in System.Xaml.XamlSchemaContext
220 ret = GetXamlType (type); in GetXamlType()
298 l.Add (GetXamlType (t)); in FillAllXamlTypes()
H A DXamlMember.cs46 DeclaringType = schemaContext.GetXamlType (eventInfo.DeclaringType); in XamlMember()
64 DeclaringType = schemaContext.GetXamlType (propertyInfo.DeclaringType); in XamlMember()
85 DeclaringType = schemaContext.GetXamlType (adder.DeclaringType); in XamlMember()
86 target_type = schemaContext.GetXamlType (typeof (object)); in XamlMember()
108 DeclaringType = schemaContext.GetXamlType (underlying_member.DeclaringType); in XamlMember()
109 target_type = schemaContext.GetXamlType (typeof (object)); in XamlMember()
382 type = context.GetXamlType (DoGetType ()); in LookupType()
H A DXamlType.cs74 TypeArguments.Add (schemaContext.GetXamlType (gta)); in XamlType()
488 var xt = SchemaContext.GetXamlType (type); in IsCollectionType()
518 base_type = SchemaContext.GetXamlType (typeof (object)); in LookupBaseType()
520 …ype == null || type.BaseType == typeof (object) ? null : SchemaContext.GetXamlType (type.BaseType); in LookupBaseType()
582 l [i] = SchemaContext.GetXamlType (((ContentWrapperAttribute) arr [i]).ContentWrapper); in LookupContentWrappers()
660 return CanAssignTo (SchemaContext.GetXamlType (typeof (IXmlSerializable))); in LookupIsXData()
717 …return (from p in methods [0].GetParameters () select SchemaContext.GetXamlType (p.ParameterType))… in LookupPositionalParameters()
H A DXamlNode.cs121 return type.SchemaContext.GetXamlType (obj.GetType ()); in GetType()
156 …return obj == null ? XamlLanguage.Null : owner.Type.SchemaContext.GetXamlType (new InstanceContext… in GetType()
H A DParsedMarkupExtensionInfo.cs58 var xt = sctx.GetXamlType (xtn); in Parse()
H A DXamlXmlReader.cs270 var xt = sctx.GetXamlType (sti.TypeName); in ReadObjectElement()
280 …sti.TypeName.TypeArguments.Select<XamlTypeName,XamlType> (xxtn => sctx.GetXamlType (xxtn)).ToArray… in ReadObjectElement()
466 var at = sctx.GetXamlType (axtn); in ProcessAttributesToMember()
H A DXamlObjectReader.cs96 var xt = SchemaContext.GetXamlType (type); in XamlObjectReader()
H A DXamlObjectNodeIterator.cs66 return obj == null ? XamlLanguage.Null : ctx.GetXamlType (obj.GetType ()); in GetType()
232 var axt = ctx.GetXamlType (p.Key.DeclaringType); in GetNodeMembers()
H A DXamlWriterInternalBase.cs247 var xt = value == null ? XamlLanguage.Null : sctx.GetXamlType (value.GetType ()); in GetValueString()
H A DValueSerializerContext.cs124 var xt = schema_context.GetXamlType (tn); in Resolve()
/dports/lang/mono/mono-5.10.1.57/mcs/class/referencesource/System.Activities/System/Activities/XamlIntegration/
H A DDynamicActivityXamlReader.cs93 this.xamlTypeXamlType = this.schemaContext.GetXamlType(typeof(XamlType)); in DynamicActivityXamlReader()
94 this.typeXamlType = this.schemaContext.GetXamlType(typeof(Type)); in DynamicActivityXamlReader()
96 this.baseActivityXamlType = this.schemaContext.GetXamlType(typeof(Activity)); in DynamicActivityXamlReader()
97 … this.activityPropertyXamlType = this.schemaContext.GetXamlType(typeof(DynamicActivityProperty)); in DynamicActivityXamlReader()
385 … this.activityReplacementXamlType = SchemaContext.GetXamlType(typeof(ActivityBuilder)); in ProcessCurrentNode()
389 … this.activityReplacementXamlType = SchemaContext.GetXamlType(typeof(DynamicActivity)); in ProcessCurrentNode()
410 … this.activityReplacementXamlType = SchemaContext.GetXamlType(activityReplacementGenericType); in ProcessCurrentNode()
630 …this.activityPropertyReferenceXamlType = parent.schemaContext.GetXamlType(typeof(ActivityPropertyR… in BuilderStack()
633 … XamlType typeOfActivityBuilder = parent.schemaContext.GetXamlType(typeof(ActivityBuilder)); in BuilderStack()
1116 … XamlType xamlType = parent.SchemaContext.GetXamlType(xamlTypeName); in ActivityPropertyHolder()
H A DActivityBuilderXamlWriter.cs84 this.xamlTypeXamlType = this.SchemaContext.GetXamlType(typeof(XamlType)); in SetActivityType()
85 this.typeXamlType = this.SchemaContext.GetXamlType(typeof(Type)); in SetActivityType()
87 … this.activityPropertyXamlType = this.SchemaContext.GetXamlType(typeof(DynamicActivityProperty)); in SetActivityType()
95 …this.activityBuilderPropertyReference = this.SchemaContext.GetXamlType(typeof(ActivityBuilder)).Ge… in SetActivityType()
96 …this.activityBuilderPropertyReferences = this.SchemaContext.GetXamlType(typeof(ActivityBuilder)).G… in SetActivityType()
97 …this.activityPropertyReferenceXamlType = this.SchemaContext.GetXamlType(typeof(ActivityPropertyRef… in SetActivityType()
355 activityXamlType = Writer.SchemaContext.GetXamlType(typeof(Activity)); in WriteStartObject()
362 …activityXamlType = Writer.SchemaContext.GetXamlType(typeof(Activity<>).MakeGenericType(activityTyp… in WriteStartObject()
1010 XamlType xamlType = Writer.SchemaContext.GetXamlType(xamlTypeName); in WriteValue()
1189 …XamlType propertyReferenceXamlType = parentWriter.SchemaContext.GetXamlType(propertyReferenceType); in WritePropertyReference()
H A DActivityXamlServices.cs573 …protected override XamlType GetXamlType(string xamlNamespace, string name, params XamlType[] typeA… in GetXamlType() method in System.Activities.XamlIntegration.ActivityXamlServices.DynamicActivityReaderSchemaContext
575 XamlType xamlType = base.GetXamlType(xamlNamespace, name, typeArguments); in GetXamlType()
584 xamlType = base.GetXamlType(xamlNamespace, name, typeArguments); in GetXamlType()
H A DActivityWithResultConverter.cs72 XamlType xamlType = schemaContext.GetXamlType(type); in GetXamlMember()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Xaml.Schema/
H A DXamlTypeInvoker.cs74 var xct = type == null ? null : type.SchemaContext.GetXamlType (ct); in AddToCollection()
82 mi = GetAddMethod (type.SchemaContext.GetXamlType (item.GetType ())); in AddToCollection()
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Xaml/System.Windows.Markup/
H A DValueSerializer.cs196 return scp.SchemaContext.GetXamlType (XamlTypeName.Parse (value, nsr)).UnderlyingType; in ConvertFromString()

12