CQRSalad.EventSourcing.ValueInjection.PropertyInfoCache.GetProperties C# (CSharp) Метод

GetProperties() публичный статический Метод

public static GetProperties ( Type type ) : System.Reflection.PropertyInfo[]
type System.Type
Результат System.Reflection.PropertyInfo[]
        public static PropertyInfo[] GetProperties(Type type)
        {
            if (_cache.ContainsKey(type))
            {
                return _cache[type];
            }
            
            PropertyInfo[] props = type.GetProperties();
            _cache.TryAdd(type, props);

            return _cache[type];
        }

Same methods

PropertyInfoCache::GetProperties ( object obj ) : System.Reflection.PropertyInfo[]
PropertyInfoCache