Aether Utilities Aether Utilities
Aether Utilities Aether Utilities
DocFX + Singulink = ♥

Search Results for

    Edit this page

    Class SecretQa

    Namespace
    AetherUtils.Core.Security
    Assembly
    AetherUtils.Core.dll
    Represents a secret question and answer pair.
    public sealed class SecretQa
    Inheritance
    object
    SecretQa
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Extension Methods
    TypeExtensions.CanSerializeJson<T>(T)
    TypeExtensions.CanSerializeXml<T>(T)
    TypeExtensions.SerializeJson<T>(T)
    TypeExtensions.SerializeXml<T>(T)

    Remarks

    Once instantiated, the question cannot be changed. However, the answer can be changed using ChangeAnswer(string).

    Constructors

    SecretQa(string, string)

    Create a new SecretQa with the specified question and answer .
    public SecretQa(string question, string answer)

    Parameters

    question string
    The question.
    answer string
    The answer.

    Properties

    Answer

    The answer component.
    public string Answer { get; }

    Property Value

    string

    Question

    The question component.
    public string Question { get; }

    Property Value

    string

    Methods

    ChangeAnswer(string)

    Set a new answer for the secret question.
    [UsedImplicitly]
    public void ChangeAnswer(string newAnswer)

    Parameters

    newAnswer string
    The new answer to set for the Question.
    (c) 2024 Ethan Hann. All rights reserved.