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

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

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

Usage Example

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

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