private static string GetTemplateCode(object obj, string templatePropertyName) { var objType = XamlUtil.GetObjectType(obj); var factory = _getTemplateCodeFactory(objType)(templatePropertyName); return(factory.GetTemplateCode(obj, templatePropertyName)); }
public string GetTemplateCode(object obj, string templatePropertyName) { var objType = XamlUtil.GetObjectType(obj); return(_getTemplateCode(objType)(templatePropertyName)); }