fcs-utils/StringOptions.cs

64 lines
2.4 KiB
C#
Raw Normal View History

2020-10-19 11:22:06 +02:00
// ***********************************************************************
// Assembly : FCS.Lib
// Author : FH
// Created : 2020-09-09
//
// Last Modified By : FH
2021-11-06 11:16:18 +01:00
// Last Modified On : 2021-02-24
2020-10-19 11:22:06 +02:00
// ***********************************************************************
2020-10-19 11:45:13 +02:00
// <copyright file="StringOptions.cs" company="Frede Hundewadt">
2020-10-19 11:22:06 +02:00
// Copyright © FCS 2015-2020
// </copyright>
// <summary></summary>
// ***********************************************************************
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
namespace FCS.Lib
{
/// <summary>
2021-11-06 11:16:18 +01:00
/// Class StringOptions.
2020-10-19 11:22:06 +02:00
/// </summary>
public class StringOptions
{
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets the length of the required.
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value>The length of the required.</value>
public int RequiredLength { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets a value indicating whether [require non letter or digit].
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value><c>true</c> if [require non letter or digit]; otherwise, <c>false</c>.</value>
public bool RequireNonLetterOrDigit { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets a value indicating whether [require digit].
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value><c>true</c> if [require digit]; otherwise, <c>false</c>.</value>
public bool RequireDigit { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets a value indicating whether [require lowercase].
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value><c>true</c> if [require lowercase]; otherwise, <c>false</c>.</value>
public bool RequireLowercase { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets a value indicating whether [require uppercase].
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value><c>true</c> if [require uppercase]; otherwise, <c>false</c>.</value>
public bool RequireUppercase { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets the required unique chars.
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value>The required unique chars.</value>
public int RequiredUniqueChars { get; set; }
2021-11-06 11:16:18 +01:00
2020-10-19 11:22:06 +02:00
/// <summary>
2021-11-06 11:16:18 +01:00
/// Gets or sets a value indicating whether [require non alphanumeric].
2020-10-19 11:22:06 +02:00
/// </summary>
/// <value><c>true</c> if [require non alphanumeric]; otherwise, <c>false</c>.</value>
public bool RequireNonAlphanumeric { get; set; }
}
}