public PipelineCreatedEvent([NotNull] UniquePipelineId pipelineId, [NotNull] PipelineSchema schema) { if (pipelineId == null) { throw new ArgumentNullException("pipelineId"); } if (schema == null) { throw new ArgumentNullException("schema"); } _pipelineId = pipelineId; _schema = schema; }
protected bool Equals(UniquePipelineId other) { return(string.Equals(_pipelineId, other._pipelineId) && string.Equals(_schemaName, other._schemaName)); }