Mono.Zeroconf : Mono.Zeroconf.Providers Namespace

ZeroconfProviderAttribute Class

Assembly level attribute required for Zeroconf provider assemblies

[System.AttributeUsage(System.AttributeTargets.Assembly)]
public class ZeroconfProviderAttribute : Attribute

Remarks

Assemblies implementing a Zeroconf provider (by way of Mono.Zeroconf.Providers.IZeroconfProvider) must apply this attribute to the assembly.

C# Example
using System;
using Mono.Zeroconf.Providers;

[assembly:ZeroconfProvider (typeof (MyZeroconfProvider))]

...
        

Requirements

Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 1.0.0.0, 3.0.0.80, 4.0.0.90

Members

See Also: Inherited members from Attribute.

Public Constructors

Public Properties

[read-only]
ProviderType Type . Type of the provider bound to the assembly

Member Details

ZeroconfProviderAttribute Constructor

This type must implement Mono.Zeroconf.Proviers.IZeroconfService.

public ZeroconfProviderAttribute (Type providerType)

Parameters

providerType
Type of the provider bound to the assembly

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90

ProviderType Property

Type of the provider bound to the assembly

public Type ProviderType { get; }

Value

Value passed to the constructor.

Remarks

This property is only used by the internal Mono.Zeroconf factory that loads Zeroconf providers.

Requirements

Namespace: Mono.Zeroconf.Providers
Assembly: Mono.Zeroconf (in Mono.Zeroconf.dll)
Assembly Versions: 3.0.0.80, 4.0.0.90