Xamarin.Forms Guides | Samples

Xamarin.Forms.Xaml.AcceptEmptyServiceProviderAttribute Class

Tells the XAML parser and compiler that they may ignore supplied service providers in methods and constructors in the attributed class.

See Also: AcceptEmptyServiceProviderAttribute


[System.AttributeUsage(System.AttributeTargets.Class, Inherited=false)]
public sealed class AcceptEmptyServiceProviderAttribute : Attribute


Developers should note that this attribute does not guarantee that the parser will not pass null instead of a supplied service provider. It only allows that they may do so.


Namespace: Xamarin.Forms.Xaml
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions:

The members of Xamarin.Forms.Xaml.AcceptEmptyServiceProviderAttribute are listed below.

See Also: Attribute

Public Constructors