Show / Hide Table of Contents

    Class RequiredAttribute

    An attribute that indicates a required property. When persisting, the Realm will validate that the value of the property is not null.

    Inheritance
    Object
    Attribute
    RequiredAttribute
    Inherited Members
    Attribute.Equals(Object)
    Attribute.GetHashCode()
    Object.Equals(Object, Object)
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace:Realms
    Assembly:Realm.dll
    Syntax
    [AttributeUsage(AttributeTargets.Property)]
    public class RequiredAttribute : Attribute

    Constructors

    | Improve this Doc View Source

    RequiredAttribute()

    Initializes a new instance of the RequiredAttribute class.

    Declaration
    public RequiredAttribute()
    • Improve this Doc
    • View Source
    Back to top Copyright © 2017 Realm
    Generated by DocFX