annotate SSRS/SSRS.Services.DTOs/ReportInfo.cs @ 113:954f66bb8dbf

Portable library added for DTO
author adminsh@apollo
date Sat, 19 May 2012 16:21:07 +0100
parents b9d5f934cb21
children
rev   line source
112
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
1 using System.Collections.Generic;
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
2
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
3 namespace SSRS.Services.DTOs
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
4 {
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
5 public class ReportInfo
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
6 {
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
7 public string Name { get; set; }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
8 public IList<Parameter> Parameters { get; set; }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
9 public string Path { get; set; }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
10
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
11 public ReportInfo() { }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
12
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
13 public static ReportInfo Create(string name, IList<Parameter> parameters, string path)
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
14 {
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
15 return new ReportInfo()
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
16 {
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
17 Name = name,
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
18 Parameters = parameters,
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
19 Path = path
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
20 };
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
21 }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
22 }
b9d5f934cb21 Initial upload
adminsh@apollo
parents:
diff changeset
23 }