コード例 #1
0
        internal PipelineProperty GetProperty(string pipelineId, string propertyName)
        {
            PipelinePropertyBag pipelinePropertyBag = GetPropertyBag(pipelineId);
            PipelineProperty    pipelineProperty    = pipelinePropertyBag.GetProperty(propertyName);

            return(pipelineProperty);
        }
コード例 #2
0
        private PipelinePropertyBag GetPropertyBag(string pipelineId)
        {
            if (propertyBags == null)
            {
                propertyBags = new Dictionary <string, PipelinePropertyBag>(); // PipelineId to Job Property Bag
            }

            PipelinePropertyBag pipelinePropertyBag;

            if (!propertyBags.TryGetValue(pipelineId, out pipelinePropertyBag))
            {
                pipelinePropertyBag = new PipelinePropertyBag();
                propertyBags.Add(pipelineId, pipelinePropertyBag);
            }
            return(pipelinePropertyBag);
        }
コード例 #3
0
        private PipelinePropertyBag GetPropertyBag(string pipelineId)
        {
            if (propertyBags == null)
            {
                propertyBags = new Dictionary<string, PipelinePropertyBag>(); // PipelineId to Job Property Bag
            }

            PipelinePropertyBag pipelinePropertyBag;
            if (!propertyBags.TryGetValue(pipelineId, out pipelinePropertyBag))
            {
                pipelinePropertyBag = new PipelinePropertyBag();
                propertyBags.Add(pipelineId, pipelinePropertyBag);
            }
            return pipelinePropertyBag;
        }