This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Application features that need rendering control at Layout level (used in ~/Shared/_Layout.cshtml | |
/// </summary> | |
public class LayoutOptions | |
{ | |
/// <summary> | |
/// get/set whether Layout will render Google Map support features | |
/// </summary> | |
public bool HasMap { get; set; } | |
/// <summary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.ComponentModel; | |
using System.ComponentModel.DataAnnotations; | |
using System.ComponentModel.DataAnnotations.Schema; | |
namespace LordOfScripts.Gists.Windows.Forms.Models | |
{ | |
// This is your entity model, not necessarily for Entity Framework | |
public class AnyPersonModel | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* ----------------------------------------------------------------- | |
* L o r d O f S c r i p t s (tm) | |
* Copyright (C)2023 Lord of Scripts | |
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | |
* Creates Unique Random Numbers | |
*-----------------------------------------------------------------*/ | |
import ( | |
crand "crypto/rand" // Not reproduceable. For sensitive apps | |
"fmt" | |
"math/big" |