• 大小: 0.51M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 模式  dd  

资源简介

DDD架构面向领域驱动开发模式

资源截图

代码片段和文件信息

using System;

namespace ENode.Commanding
{
    /// Represents an abstract command.
    /// 

    [Serializable]
    public abstract class AggregateCommand : Command IAggregateCommand
    {
        /// Represents the source aggregate root id of the aggregate command.
        /// 

        public TAggregateRootId AggregateRootId { get; set; }

        /// Default constructor.
        /// 

        protected AggregateCommand() : base() { }
        /// Parameterized constructor.
        /// 

        /// 
        protected AggregateCommand(TAggregateRootId aggregateRootId) : base()
        {
            if (aggregateRootId == null)
            {
                thro

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-11-20 12:17  enode-master\
     文件         126  2014-11-20 12:17  enode-master\.gitignore
     目录           0  2014-11-20 12:17  enode-master\.nuget\
     文件         164  2014-11-20 12:17  enode-master\.nuget\NuGet.Config
     文件      692736  2014-11-20 12:17  enode-master\.nuget\NuGet.exe
     文件        6799  2014-11-20 12:17  enode-master\.nuget\NuGet.targets
     文件       14163  2014-11-20 12:17  enode-master\ENode.sln
     文件         672  2014-11-20 12:17  enode-master\README.md
     目录           0  2014-11-20 12:17  enode-master\doc\
     文件       62376  2014-11-20 12:17  enode-master\doc\enode arch.png
     文件        7023  2014-11-20 12:17  enode-master\doc\logo.png
     文件       34518  2014-11-20 12:17  enode-master\license.txt
     目录           0  2014-11-20 12:17  enode-master\src\
     目录           0  2014-11-20 12:17  enode-master\src\ENode\
     目录           0  2014-11-20 12:17  enode-master\src\ENode\Commanding\
     文件        1434  2014-11-20 12:17  enode-master\src\ENode\Commanding\AggregateCommand.cs
     文件         620  2014-11-20 12:17  enode-master\src\ENode\Commanding\AggregateRootAlreadyExistException.cs
     文件        1123  2014-11-20 12:17  enode-master\src\ENode\Commanding\Command.cs
     文件         129  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandAddResult.cs
     文件         451  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandAggregateRootIdMissingException.cs
     文件         382  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandHandlerNotFoundException.cs
     文件         390  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandHandlerTooManyException.cs
     文件        1898  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandResult.cs
     文件         918  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandReturnType.cs
     文件        1070  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandSendException.cs
     文件         904  2014-11-20 12:17  enode-master\src\ENode\Commanding\CommandSendResult.cs
     文件         745  2014-11-20 12:17  enode-master\src\ENode\Commanding\DuplicatedCommandHandlerException.cs
     文件         686  2014-11-20 12:17  enode-master\src\ENode\Commanding\EventAlreadyExistException.cs
     文件        1842  2014-11-20 12:17  enode-master\src\ENode\Commanding\HandledAggregateCommand.cs
     文件        2061  2014-11-20 12:17  enode-master\src\ENode\Commanding\HandledCommand.cs
     文件         307  2014-11-20 12:17  enode-master\src\ENode\Commanding\IAggregateCommand.cs
............此处省略311个文件信息

评论

共有 条评论