Catel.Data.CatelTypeInfo.GetCatelProperties C# (CSharp) Метод

GetCatelProperties() публичный Метод

Gets the Catel properties.
public GetCatelProperties ( ) : PropertyData>.IDictionary
Результат PropertyData>.IDictionary
        public IDictionary<string, PropertyData> GetCatelProperties()
        {
            // Clone or not to clone? For performance reasons decided not to
            return _catelProperties;
        }

Usage Example

Пример #1
0
        public void CorrectlyRegistersCatelProperties()
        {
            var catelTypeInfo = new CatelTypeInfo(typeof (CatelTypeInfoTestModel));

            var properties = catelTypeInfo.GetCatelProperties();
            Assert.AreNotEqual(0, properties.Count);
            Assert.IsTrue(properties.Keys.Contains("CatelProperty"));
        }