8 writes to markupExtension
Microsoft.Maui.Controls.Xaml (8)
MarkupExtensionParser.cs (8)
22 markupExtension = new BindingExtension(); 24 markupExtension = new TemplateBindingExtension(); 26 markupExtension = new StaticResourceExtension(); 28 markupExtension = new OnPlatformExtension(); 30 markupExtension = new OnIdiomExtension(); 32 markupExtension = new AppThemeBindingExtension(); 34 markupExtension = new DataTemplateExtension(); 44 markupExtension = Activator.CreateInstance(type) as IMarkupExtension;
9 references to markupExtension
Microsoft.Maui.Controls.Xaml (9)
MarkupExtensionParser.cs (9)
47 if (markupExtension == null) 51 return markupExtension.ProvideValue(serviceProvider); 61 return markupExtension.ProvideValue(serviceProvider); 70 var t = markupExtension.GetType(); 87 setter = markupExtension.GetType().GetRuntimeProperty(prop).SetMethod; 91 throw new XamlParseException($"Multiple properties with name '{markupExtension.GetType()}.{prop}' found.", serviceProvider, innerException: e); 99 value = strValue.ConvertTo(markupExtension.GetType().GetRuntimeProperty(prop).PropertyType, 106 throw new XamlParseException($"Multiple properties with name '{markupExtension.GetType()}.{prop}' found.", serviceProvider, innerException: e); 110 setter.Invoke(markupExtension, new[] { value });