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
    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 © 2019 Realm
    Generated by DocFX