示例#1
0
 private void InitializeGenerated()
 {
     //WidgetComponent = Path.StartsWith("http://") ? new MosaicWebPreviewWidget() : new AppWidget();
     WidgetComponent = new AppWidget();
     WidgetType      = WidgetType.Generated;
     Name            = string.Empty;
 }
 private void InitializeGenerated()
 {
     //WidgetComponent = Path.StartsWith("http://") ? new MosaicWebPreviewWidget() : new AppWidget();
     WidgetComponent =  new AppWidget();
     WidgetType = WidgetType.Generated;
     Name = string.Empty;
 }