BlogEngine.Core.BlogSettings.GetSettingsTypePropertyDict C# (CSharp) Method

GetSettingsTypePropertyDict() private method

private GetSettingsTypePropertyDict ( ) : System.Reflection.PropertyInfo>.IDictionary
return System.Reflection.PropertyInfo>.IDictionary
        private IDictionary<String, System.Reflection.PropertyInfo> GetSettingsTypePropertyDict()
        {
            var settingsType = this.GetType();

            var result = new System.Collections.Generic.Dictionary<String, System.Reflection.PropertyInfo>(StringComparer.OrdinalIgnoreCase);

            foreach (var prop in settingsType.GetProperties())
            {
                result[prop.Name] = prop;
            }

            return result;
        }