コード例 #1
0
 public DesignerClipboardFileDataFacade(
     IDesignerImageConverterService designerImageConverterService) : 
     base(new DesignerFileDataSourceService(designerImageConverterService))
 {
     FileName = "Kitten.jpg";
     FileIcon = designerImageConverterService.GenerateDesignerImageBytesFromFileBytes(Resources.FileDataFileIcon);
 }
コード例 #2
0
 public DesignerClipboardFileDataFacade(
     IDesignerImageConverterService designerImageConverterService) :
     base(new DesignerFileDataSourceService(designerImageConverterService))
 {
     FileName = "Kitten.jpg";
     FileIcon = designerImageConverterService.GenerateDesignerImageBytesFromFileBytes(Resources.FileDataFileIcon);
 }
コード例 #3
0
 public DesignerClipboardTextDataFacade(
     IDesignerImageConverterService designerImageConverterService)
     :
     base()
 {
     Text =
         "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eu purus vehicula, tincidunt velit eget, varius quam. Duis sollicitudin ultrices ipsum, et mollis tellus convallis vitae. Proin lobortis sapien eget varius imperdiet. In hac habitasse platea dictumst. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.";
 }
コード例 #4
0
 public DesignerClipboardTextDataFacade(
     IDesignerImageConverterService designerImageConverterService)
     :
         base(new DesignerTextDataSourceService(designerImageConverterService))
 {
     Text =
         "Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed eu purus vehicula, tincidunt velit eget, varius quam. Duis sollicitudin ultrices ipsum, et mollis tellus convallis vitae. Proin lobortis sapien eget varius imperdiet. In hac habitasse platea dictumst. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.";
 }
コード例 #5
0
 public DesignerClipboardImageDataFacade(
     IDesignerImageConverterService designerImageConverterService)
     :
     base()
 {
     RawData =
         designerImageConverterService.GenerateDesignerImageBytesFromFileBytes(
             Resources
             .FileImageSample);
 }
コード例 #6
0
 public DesignerClipboardImageDataFacade(
     IDesignerImageConverterService designerImageConverterService)
     :
         base(new DesignerFileDataSourceService(designerImageConverterService))
 {
     RawData =
         designerImageConverterService.GenerateDesignerImageBytesFromFileBytes(
             Resources
                 .FileImageSample);
 }
 public DesignerClipboardFileCollectionDataFacade(
     IDesignerImageConverterService designerImageConverterService) :
     base(new DesignerFileDataSourceService(designerImageConverterService))
 {
     Files = new[] {
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.jpg" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.jpg" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.jpg" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.jpg" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.png" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.png" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.png" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.docx" },
         new DesignerClipboardFileDataFacade(designerImageConverterService) {FileName = "Foo.docx" }
     };
 }
コード例 #8
0
 public DesignerClipboardFileCollectionDataFacade(
     IDesignerImageConverterService designerImageConverterService)
     :
     base()
 {
     Files = new[]
     {
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.jpg"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.jpg"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.jpg"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.jpg"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.png"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.png"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.png"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.docx"
         },
         new DesignerClipboardFileDataFacade(designerImageConverterService)
         {
             FileName = "Foo.docx"
         }
     };
 }
コード例 #9
0
 public DesignerDataSourceFacade(
     IDesignerImageConverterService designerImageConverterService)
 {
     this.designerImageConverterService = designerImageConverterService;
 }
コード例 #10
0
 public DesignerFileDataSourceService(
     IDesignerImageConverterService designerImageConverterService)
 {
     this.designerImageConverterService = designerImageConverterService;
 }
コード例 #11
0
 public DesignerDataSourceFacade(
     IDesignerImageConverterService designerImageConverterService)
 {
     this.designerImageConverterService = designerImageConverterService;
 }
コード例 #12
0
 public DesignerTextDataSourceService(
     IDesignerImageConverterService designerImageConverterService)
 {
     this.designerImageConverterService = designerImageConverterService;
 }