private Extractor() { TypeDictionary = new Dictionary <Type, Type>(); TypeDictionary.Add(typeof(ButtonDefinition), typeof(System.Windows.Controls.Button)); TypeDictionary.Add(typeof(GridDefinition), typeof(Grid)); propertyFinder = PropertyFinder.CreateInstance(); }
public static PropertyFinder CreateInstance() { if (instance == null) { instance = new PropertyFinder(); } return(instance); }