// *********************************************************************** // Assembly : FCS.Lib.Utility // Author : FH // Created : 2020-09-09 // // Last Modified By : FH // Last Modified On : 03-14-2022 // *********************************************************************** // // Copyright (C) 2022 FCS Frede's Computer Services. // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as // published by the Free Software Foundation, either version 3 of the // License, or (at your option) any later version. // // This program is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU Affero General Public License for more details. // // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see [https://www.gnu.org/licenses] // // // *********************************************************************** namespace FCS.Lib.Utility { /// /// Class StringOptions. /// public class StringOptions { /// /// Gets or sets the length of the required. /// /// The length of the required. public int RequiredLength { get; set; } /// /// Gets or sets a value indicating whether [require non letter or digit]. /// /// true if [require non letter or digit]; otherwise, false. public bool RequireNonLetterOrDigit { get; set; } /// /// Gets or sets a value indicating whether [require digit]. /// /// true if [require digit]; otherwise, false. public bool RequireDigit { get; set; } /// /// Gets or sets a value indicating whether [require lowercase]. /// /// true if [require lowercase]; otherwise, false. public bool RequireLowercase { get; set; } /// /// Gets or sets a value indicating whether [require uppercase]. /// /// true if [require uppercase]; otherwise, false. public bool RequireUppercase { get; set; } /// /// Gets or sets the required unique chars. /// /// The required unique chars. public int RequiredUniqueChars { get; set; } /// /// Gets or sets a value indicating whether [require non alphanumeric]. /// /// true if [require non alphanumeric]; otherwise, false. public bool RequireNonAlphanumeric { get; set; } } }