This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[] { | |
std::cout << "hello, lambda" << std::endl; | |
}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Action l1 = () => Console.WriteLine("Hello, Lambda!"); | |
l1(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto l1 = [] { | |
std::cout << "hello, lambda" << std::endl; | |
}; | |
l1(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Func<int> l2 = () => 42; | |
int x2 = l2(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Func<int> l2b = () => { return 42; }; | |
int x2b = l2b(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auto l2 = [] { | |
return 42; | |
}; | |
int x2 = l2(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private enum PageMode | |
{ | |
NormalMode, | |
SelectionMode, | |
EditMode, | |
ProgressMode, | |
SelectionProgressMode | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.pageModeChanger = new VisualStateModeChanger<PageMode>(this); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SampleDataGroup | |
{ | |
public SampleDataGroup(String uniqueId, String title, String subtitle, String imagePath, String description) | |
{ | |
this.UniqueId = uniqueId; | |
this.Title = title; | |
this.Subtitle = subtitle; | |
this.Description = description; | |
this.ImagePath = imagePath; | |
this.Items = new ObservableCollection<SampleDataItem>(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class SampleDataItem | |
{ | |
public SampleDataItem(String uniqueId, String title, String subtitle, String imagePath, String description, String content) | |
{ | |
this.UniqueId = uniqueId; | |
this.Title = title; | |
this.Subtitle = subtitle; | |
this.Description = description; | |
this.ImagePath = imagePath; | |
this.Content = content; |
OlderNewer