Class RegionMemberLifetimeAttribute
When RegionMemberLifetimeAttribute is applied to class provides data the RegionMemberLifetimeBehavior can use to determine if the instance should be removed when it is deactivated.
Namespace: Sartorius.SAF.Presentation.Regions
Assembly: Sartorius.SAF.Presentation.dll
Syntax
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true)]
public sealed class RegionMemberLifetimeAttribute : Attribute
Constructors
View SourceRegionMemberLifetimeAttribute()
Instantiates an instance of RegionMemberLifetimeAttribute
Declaration
public RegionMemberLifetimeAttribute()
Properties
View SourceKeepAlive
Determines if the region member should be kept-alive when deactivated.
Declaration
public bool KeepAlive { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |