internal PipelineProperty GetProperty(string propertyName) { if (properties == null) { properties = new Dictionary<string, PipelineProperty>(); // Property Name to Property object } PipelineProperty property; if (!properties.TryGetValue(propertyName, out property)) { property = new PipelineProperty {Name = propertyName}; properties.Add(propertyName, property); } return property; }
internal PipelineProperty GetProperty(string propertyName) { if (properties == null) { properties = new Dictionary <string, PipelineProperty>(); // Property Name to Property object } PipelineProperty property; if (!properties.TryGetValue(propertyName, out property)) { property = new PipelineProperty { Name = propertyName }; properties.Add(propertyName, property); } return(property); }