Paradox Game Engine  v1.0.0 beta06
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros Pages
SealedCollectionAttribute.cs
Go to the documentation of this file.
1 // Copyright (c) 2014 Silicon Studio Corp. (http://siliconstudio.co.jp)
2 // This file is distributed under GPL v3. See LICENSE.md for details.
3 using System;
4 
5 namespace SiliconStudio.Quantum.Attributes
6 {
7  public sealed class SealedCollectionAttribute : Attribute
8  {
10  : this(true)
11  {
12  }
13 
14  public SealedCollectionAttribute(bool collectionSealed)
15  {
16  CollectionSealed = collectionSealed;
17  }
18 
19  public bool CollectionSealed { get; set; }
20  }
21 }