Exemplo n.º 1
0
 public void AddSegment(SegmentBlueprint segmentBlueprint)
 {
     if (_segmentBlueprints.ContainsKey(segmentBlueprint.SegmentName))
     {
         _segmentBlueprints[segmentBlueprint.SegmentName] = segmentBlueprint;
     }
     else
     {
         _segmentBlueprints.Add(segmentBlueprint.SegmentName, segmentBlueprint);
     }
 }
Exemplo n.º 2
0
        public TestSegment GetTestSegment(string segmentName, string sFormID)
        {
            SegmentBlueprint segmentBlueprint = GetSegment(segmentName);

            return((segmentBlueprint != null) ? segmentBlueprint.GetTestSegment(sFormID) : null);
        }