/// <summary> /// Directs StructureMap to treat all public setters that match the /// rule as mandatory properties /// </summary> /// <param name="rule"></param> public void Matching(Predicate <PropertyInfo> rule) { PluginCache.UseSetterRule(rule); }