public SampleDataSource()
 {
     var createGroup = new SampleDataGroup("CreateScenarios",
                                           "Create Pages",
                                           "Assets/DarkGray.png",
                                           "Examples of how to use the HTTP POST verb to create pages in OneNote.");
     createGroup.Items.Add(new SampleDataItem("CreateSimple",
                                              "Create simple page using HTML",
                                              "Assets/LightGray.png",
                                              "Create a simple page using HTML to describe the page content.",
                                              createGroup.Facade.CreateSimplePage,
                                              createGroup));
     createGroup.Items.Add(new SampleDataItem("CreateWithImage",
                                              "Create a page with an image",
                                              "Assets/MediumGray.png",
                                              "Create a page with some formatted text and an image",
                                              createGroup.Facade.CreatePageWithImage,
                                              createGroup));
     createGroup.Items.Add(new SampleDataItem("CreateWithEmbeddedSnapshot",
                                              "Create a page with a snaphot of an embedded web page",
                                              "Assets/DarkGray.png",
                                              "Create a page with a snapshot of the HTML of a web page on it.",
                                              createGroup.Facade.CreatePageWithEmbeddedWebPage,
                                              createGroup));
     createGroup.Items.Add(new SampleDataItem("CreatwWithPublicSnapshot",
                                              "Create a page with a snaphot of a public web page",
                                              "Assets/DarkGray.png",
                                              "Create a page with a snapshot of the OneNote.com homepage on it.",
                                              createGroup.Facade.CreatePageWithUrl,
                                              createGroup));
     createGroup.Items.Add(new SampleDataItem("CreateWithAttachmentAndPDFRendering",
                                              "Create a page with a PDF attachment rendered",
                                              "Assets/DarkGray.png",
                                              "Create a page with a PDF file attachment rendered",
                                              createGroup.Facade.CreatePageWithPDFAttachedAndRendered,
                                              createGroup));
     this.AllGroups.Add(createGroup);
 }
 public SampleDataItem(String uniqueId, String title, String imagePath, String description,
                       Func<bool, string, Task<StandardResponse>> action, 
                       SampleDataGroup group)
     : base(uniqueId, title, imagePath, description)
 {
     this._action = action;
     this._group = group;
 }