Ejemplo n.º 1
0
        public static void SetReferences(this ProjectDOM.Node parent, string jointCfg, string propertyName, params ProjectDOM.Node[] children)
        {
            var ids = children
                      .Select(item => item.Identifier)
                      .ToArray();

            var props = parent.GetPropertiesForConfiguration(jointCfg.Split('.'));

            props.SetReferenceIds("Value1", ids);
        }
Ejemplo n.º 2
0
        public static IEnumerable <Guid> GetReferenceIds(this ProjectDOM.Node parent, string jointCfg, string propertyName)
        {
            var props = parent.GetPropertiesForConfiguration(jointCfg.Split('.'));

            return(props.GetReferenceIds(propertyName));
        }