RegisterSingletonAttribute constructor (1 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates a new instance of the attribute.

public RegisterSingletonAttribute()

See Also


RegisterSingletonAttribute constructor (2 of 2)

namespace: Serenity.ComponentModel   assemblySerenity.Net.Core

Creates a new instance of the attribute for specified types.

public RegisterSingletonAttribute(params Type[] types)
parameter description
types Service types

Exceptions

exception condition
ArgumentNullException

See Also