Mercurial > pub > bltoolkit
annotate Source/TypeBuilder/LazyInstanceAttribute.cs @ 8:a34cfdde80d6
removed strong signing
added FrameworkPathOverride for linux builds
| author | cin |
|---|---|
| date | Wed, 29 Nov 2017 12:43:52 +0300 |
| parents | f990fcb411a9 |
| children |
| rev | line source |
|---|---|
| 0 | 1 using System; |
| 2 | |
| 3 namespace BLToolkit.TypeBuilder | |
| 4 { | |
| 5 [AttributeUsage(AttributeTargets.Property)] | |
| 6 public sealed class LazyInstanceAttribute : Attribute | |
| 7 { | |
| 8 public LazyInstanceAttribute() | |
| 9 { | |
| 10 _isLazy = true; | |
| 11 } | |
| 12 | |
| 13 public LazyInstanceAttribute(bool isLazy) | |
| 14 { | |
| 15 _isLazy = isLazy; | |
| 16 } | |
| 17 | |
| 18 private bool _isLazy; | |
| 19 public bool IsLazy | |
| 20 { | |
| 21 get { return _isLazy; } | |
| 22 set { _isLazy = value; } | |
| 23 } | |
| 24 } | |
| 25 } |
