public ReLabelMetadataDefinitionGroupCommand(Guid identity, MetadataDefinitionGroupName name, MetadataDefinitionGroupDescription description, TrackingBase tracking) { _tracking = tracking; Identity = identity; Name = name; Description = description; }
public ReLabelMetadataDefinitionGroupCommand(Guid identity, MetadataDefinitionGroupName name, MetadataDefinitionGroupDescription description, TrackingBase tracking) { _tracking = tracking; Identity = identity; Name = name; Description = description; }
public MetadataDefinitionGroupDescriptionChangedEvent(Guid aggregateIdentity, MetadataDefinitionGroupDescription description) : base(aggregateIdentity) { if (aggregateIdentity == Guid.Empty) throw new InvariantGuardFailureException("aggregateIdentity"); Description = description; }
public MetadataDefinitionGroupDescriptionChangedEvent(Guid aggregateIdentity, MetadataDefinitionGroupDescription description) : base(aggregateIdentity) { if (aggregateIdentity == Guid.Empty) { throw new InvariantGuardFailureException("aggregateIdentity"); } Description = description; }
public MetadataDefinitionGroupCreatedEvent(Guid aggregateIdentity, MetadataDefinitionGroupName name, MetadataDefinitionGroupDescription description) : base(aggregateIdentity) { if (aggregateIdentity == Guid.Empty) throw new InvariantGuardFailureException("aggregateIdentity"); if (name == null) throw new InvariantGuardFailureException("name"); if (description == null) throw new InvariantGuardFailureException("description"); Name = name; Description = description; }
public MetadataDefinitionGroupCreatedEvent(Guid aggregateIdentity, MetadataDefinitionGroupName name, MetadataDefinitionGroupDescription description) : base(aggregateIdentity) { if (aggregateIdentity == Guid.Empty) { throw new InvariantGuardFailureException("aggregateIdentity"); } if (name == null) { throw new InvariantGuardFailureException("name"); } if (description == null) { throw new InvariantGuardFailureException("description"); } Name = name; Description = description; }