public MarqueeViewModel(IMarquee marquee) { if (marquee == null) throw new ArgumentNullException("marquee"); this.marquee = marquee; this.location = marquee.Location; this.category = marquee.Category; this.name = marquee.Name; this.subtitle = marquee.Subtitle; }
public MarqueeViewModel(IMarquee marquee) { if (marquee == null) { throw new ArgumentNullException("marquee"); } this.marquee = marquee; this.location = marquee.Location; this.category = marquee.Category; this.name = marquee.Name; this.subtitle = marquee.Subtitle; }