Search Results for

    Show / Hide Table of Contents

    Class DiscordGuildMembershipScreeningField

    Represents a field in a guild's membership screening form

    Inheritance
    System.Object
    DiscordGuildMembershipScreeningField
    Namespace: DisCatSharp.Entities
    Assembly: DisCatSharp.dll
    Syntax
    public class DiscordGuildMembershipScreeningField

    Constructors

    | Improve this Doc View Source

    DiscordGuildMembershipScreeningField(MembershipScreeningFieldType, String, IEnumerable<String>, Boolean)

    Initializes a new instance of the DiscordGuildMembershipScreeningField class.

    Declaration
    public DiscordGuildMembershipScreeningField(MembershipScreeningFieldType type, string label, IEnumerable<string> values, bool required = true)
    Parameters
    Type Name Description
    MembershipScreeningFieldType type

    The type.

    System.String label

    The label.

    System.Collections.Generic.IEnumerable<System.String> values

    The values.

    System.Boolean required

    If true, required.

    Properties

    | Improve this Doc View Source

    IsRequired

    Gets whether the user has to fill out this field

    Declaration
    public bool IsRequired { get; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Label

    Gets the title of the field.

    Declaration
    public string Label { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    Type

    Gets the type of the field.

    Declaration
    public MembershipScreeningFieldType Type { get; }
    Property Value
    Type Description
    MembershipScreeningFieldType
    | Improve this Doc View Source

    Values

    Gets the list of rules

    Declaration
    public IReadOnlyList<string> Values { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<System.String>

    Extension Methods

    ReflectionUtilities.ToDictionary<T>(T)
    • Improve this Doc
    • View Source
    In This Article
    Back to top © 2021-2022 Aiko IT Systems