Table of Contents

Class AutoRegisterAttribute

Namespace
Apizr
Assembly
Apizr.dll

Tells Apizr to auto register a Manager for the provided api (works only with IServiceCollection extensions registration)

[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface)]
public class AutoRegisterAttribute : BaseAddressAttribute, _Attribute
Inheritance
AutoRegisterAttribute
Implements
Derived
Inherited Members

Constructors

AutoRegisterAttribute(string)

Auto register a manager for the decorated api or crud entity

public AutoRegisterAttribute(string baseAddressOrPath)

Parameters

baseAddressOrPath string

The web api base absolute address or relative path

AutoRegisterAttribute(Type, string)

Auto register a manager for the provided api

public AutoRegisterAttribute(Type webApiType, string baseAddressOrPath)

Parameters

webApiType Type

The web api interface type to manage

baseAddressOrPath string

The web api base absolute address or relative path

Properties

WebApiType

public Type WebApiType { get; }

Property Value

Type