示例#1
0
文件: Scope.cs 项目: mortend/uno
        public string Register(UXIL.UXPropertySource ps)
        {
            if (!_uxPropertySources.Any(x => x.Node == ps.Node && x.Property.Property == ps.Property.Property))
            {
                _uxPropertySources.Add(ps);
            }

            return(PropertySourceIdentifier(ps));
        }
示例#2
0
文件: Scope.cs 项目: mortend/uno
 public string PropertySourceIdentifier(UXIL.UXPropertySource uxps)
 {
     return(GetUniqueIdentifier(uxps.Node) + "_" + uxps.Property.Property.Facet.Name.Replace('.', '_') + "_inst");
 }