Logo white

antissoft / wurenji

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wurenji
  • ..
  • Enums
  • InjectionActions.cs
  • 项目初始化
    de2bd2f9
    “wangming” authored
    2025-08-17 16:53:54 +0800  
    Browse Code »
InjectionActions.cs 476 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
using System.ComponentModel;

namespace NCC.Dependency
{
    /// <summary>
    /// 服务注册方式
    /// </summary>
    [SuppressSniffer]
    public enum InjectionActions
    {
        /// <summary>
        /// 如果存在则覆盖
        /// </summary>
        [Description("存在则覆盖")]
        Add,

        /// <summary>
        /// 如果存在则跳过,默认方式
        /// </summary>
        [Description("存在则跳过")]
        TryAdd
    }
}