view 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
line wrap: on
line source

using System.Collections.Generic;

namespace SSRS.Services.DTO
{
    public class ReportInfo
    {
        public string Name { get; set; }
        public IList<Parameter> Parameters { get; set; }
        public string Path { get; set; }

        public static ReportInfo Create(string name, IList<Parameter> parameters, string path)
        {
            return new ReportInfo()
                {
                    Name = name, 
                    Parameters = parameters, 
                    Path = path
                };
        }
    }
}