private IList <DesignTimePropertyInfo> GetProperties(string argumentName) { IList <DesignTimePropertyInfo> properties = new List <DesignTimePropertyInfo>(); if (argumentName != null) { IDictionaryService dictionaryService = (IDictionaryService)GetService <IDictionaryService>(); Type runtimeConfgurationType = (Type)dictionaryService.GetValue(argumentName); if (runtimeConfgurationType != null) { List <string> excludePropertiesList = ConvertExcludePropertiesList(); foreach (PropertyInfo propertyInfo in runtimeConfgurationType.GetProperties()) { if (IncludeProperty(propertyInfo, excludePropertiesList)) { DesignTimePropertyInfo property = new DesignTimePropertyInfo(propertyInfo, IncludePropertyAction.Include); properties.Add(property); } } } } return(properties); }
public SimpleDesignTimePropertyInfo(DesignTimePropertyInfo designTimePropertyInfo) { this.designTimePropertyInfo = designTimePropertyInfo; }