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;
 }
Ejemplo n.º 2
0
 protected bool Equals(UniquePipelineId other)
 {
     return(string.Equals(_pipelineId, other._pipelineId) && string.Equals(_schemaName, other._schemaName));
 }