Xamarin.Forms Guides | Samples

Xamarin.Forms.DependencyAttribute Class

An attribute that indicates that the specified type provides a concrete implementation of a needed interface.

See Also: DependencyAttribute

Syntax

[System.AttributeUsage(System.AttributeTargets.Assembly, AllowMultiple=true)]
public class DependencyAttribute : Attribute

Requirements

Namespace: Xamarin.Forms
Assembly: Xamarin.Forms.Core (in Xamarin.Forms.Core.dll)
Assembly Versions: 1.0.0.0, 1.1.0.0, 1.2.0.0, 1.3.0.0, 1.4.0.0, 1.5.0.0, 2.0.0.0

The members of Xamarin.Forms.DependencyAttribute are listed below.

See Also: Attribute

Public Constructors

Creates a new DependencyAttribute with default values.