Class BsonMemberMapAttributeUsageAttribute
- Namespace
- MongoDB.Bson.Serialization
- Assembly
- MongoDB.Bson.dll
Indicates the usage restrictions for the attribute.
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public class BsonMemberMapAttributeUsageAttribute : Attribute
- Inheritance
-
BsonMemberMapAttributeUsageAttribute
- Inherited Members
- Extension Methods
Constructors
BsonMemberMapAttributeUsageAttribute()
Initializes a new instance of the BsonMemberMapAttributeUsageAttribute class.
public BsonMemberMapAttributeUsageAttribute()
Properties
AllowMultipleMembers
Gets or sets a value indicating whether the attribute this attribute applies to is allowed to be applied to more than one member.
public bool AllowMultipleMembers { get; set; }