annotate SSRS/SSRS.Services.DTO/ReportInfo.cs @ 115:4de4e7829319

Working code, need to tidy up layout
author stevenh7776
date Sun, 20 May 2012 15:50:37 +0100
parents 954f66bb8dbf
children
rev   line source
113
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
1 using System.Collections.Generic;
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
2
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
3 namespace SSRS.Services.DTO
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
4 {
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
5 public class ReportInfo
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
6 {
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
7 public string Name { get; set; }
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
8 public IList<Parameter> Parameters { get; set; }
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
9 public string Path { get; set; }
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
10
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
11 public static ReportInfo Create(string name, IList<Parameter> parameters, string path)
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
12 {
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
13 return new ReportInfo()
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
14 {
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
15 Name = name,
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
16 Parameters = parameters,
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
17 Path = path
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
18 };
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
19 }
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
20 }
954f66bb8dbf Portable library added for DTO
adminsh@apollo
parents:
diff changeset
21 }