Skip to content

Conversation

@hypersw
Copy link
Contributor

@hypersw hypersw commented Jun 21, 2016

…eave it NULL for ContentPresenter to try looking up a template in resources by the data type. (gh-255)

…eave it NULL for ContentPresenter to try looking up a template in resources by the data type.
@@ -202,8 +202,9 @@ module Fayde.Controls {
}
private _DisplayMemberTemplate: DataTemplate = null;
private _GetDisplayMemberTemplate(): DataTemplate {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This function was intended to be a memoize function.
Can we shift the logic to the consumers of this function?

@BSick7
Copy link
Member

BSick7 commented Jun 21, 2016

Can you add tests to verify this change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants