Table of Contents

Class SharedAttribute

Namespace
Arc4u.Dependency.Attribute
Assembly
Arc4u.Dependency.dll

Marks a class's lifetime as globally shared => singleton.

[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
public class SharedAttribute : Attribute
Inheritance
SharedAttribute
Inherited Members

Constructors

SharedAttribute()

Mark a part as globally shared => singleton.

public SharedAttribute()