Application/AppConfig.cs

(开头部分) 1KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ComLib.Application
{
    /// <summary>
    /// Settings for the application template.
    /// </summary>
    public class AppConfig
    {
        /// <summary>
        /// Prefix for named args. "-"
        /// </summary>
        public string ArgsPrefix { get; set; }


        /// <summary>
        /// Key / value separator for Named args. ":".
        /// </summary>
        public string ArgsSeparator { get; set; }


        /// <summary>
        /// Object to apply the arguments to.
        /// </summary>
        public object ArgsReciever { get; set; }


        /// <summary>
        /// Whether or not to apply the arguments to the reciever.
        /// </summary>
        public bool   ArgsAppliedToReciever { get; set; }


        /// <summary>
        /// Whether or not any arguments are required at all.
        /// </summary>
        public bool   ArgsRequired { get; set; }


        /// <summary>
        /// Whether or not to send email on completion.
        /// </summary>
        public bool SendEmailOnCompletion { get; set; }


        /// <summary>
        /// Whether or not config files are required.
        /// </summary>
        public bool RequireConfigs { get; set; }


        /// <summary>
        /// Initialize defaults.
        /// </summary>
        public AppConfig()
        {
            ArgsPrefix = "-";
后面还有 5 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明

AI 解读

登录后可用,每次 10 积分,解读结果公开显示在下面。

还没有人解读过这个文件。