-
Notifications
You must be signed in to change notification settings - Fork 50
Expand file tree
/
Copy pathCategory.cs
More file actions
27 lines (24 loc) · 863 Bytes
/
Category.cs
File metadata and controls
27 lines (24 loc) · 863 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Category.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Represents a category of examples.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace ExampleBrowser
{
using ExampleLibrary;
using System;
using System.Collections.Generic;
public class Category
{
public Category(string key, List<ExampleInfo> examples)
{
this.Key = key;
this.Examples = examples ?? throw new ArgumentNullException(nameof(examples));
}
public string Key { get; }
public List<ExampleInfo> Examples { get; }
}
}