Exemple #1
0
        public PropertyRule GetPropertyRule(string name)
        {
            var property = this[name];

            if (property == null)
            {
                property = new StandardPropertyRule(this, name);
                _properties.Add(property);
            }
            return(property);
        }
Exemple #2
0
 internal PropertyRule GetPropertyRule(string name)
 {
     var property = this[name];
     if (property == null) {
         property = new StandardPropertyRule(this, name);
         _properties.Add(property);
     }
     return property;
 }