internal Stage(Guid categoryId, PipelinePolicy pipelinePolicy)
 {
     Category    = StageCategory.FromKnownCategoryId(categoryId);
     StagePolicy = pipelinePolicy.Stages.Cast <StagePolicy>().Single(s => new Guid(s.StageIdGuid) == Category.Id);
     Components  = new ComponentList(this);
 }
        public void AddComponentToCompatibleStage()
        {
            var list = new ComponentList(new Stage(StageCategory.Decoder.Id, PolicyFile.BTSReceivePolicy.Value));

            Action(() => list.Add(new FailedMessageRoutingEnablerComponent())).Should().NotThrow();
        }
Example #3
0
 internal Stage(Guid categoryId)
 {
     Category   = StageCategory.FromKnownCategoryId(categoryId);
     Components = new ComponentList(this);
 }