view SSRS/SSRS.Services.DTO/ReportInfo.cs @ 121:8f94475d3146 tip

final code
author stevenh7776
date Thu, 31 May 2012 15:35:26 +0100
parents 4de4e7829319
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
                };
        }
    }
}