view SSRS/SSRS.Services.DTOs/ReportInfo.cs @ 112:b9d5f934cb21

Initial upload
author adminsh@apollo
date Sat, 19 May 2012 16:09:07 +0100
parents
children
line wrap: on
line source

using System.Collections.Generic;

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

        public ReportInfo() { }

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