forked from oxyplot/oxyplot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExample.cs
More file actions
43 lines (39 loc) · 1.28 KB
/
Example.cs
File metadata and controls
43 lines (39 loc) · 1.28 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="Example.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// --------------------------------------------------------------------------------------------------------------------
namespace ExampleLibrary
{
using OxyPlot;
/// <summary>
/// Represents an example.
/// </summary>
public class Example
{
/// <summary>
/// Initializes a new instance of the <see cref="Example"/> class.
/// </summary>
/// <param name="model">The model.</param>
/// <param name="controller">The controller.</param>
public Example(PlotModel model, IPlotController controller = null)
{
this.Model = model;
this.Controller = controller;
}
/// <summary>
/// Gets the controller.
/// </summary>
/// <value>
/// The controller.
/// </value>
public IPlotController Controller { get; private set; }
/// <summary>
/// Gets the model.
/// </summary>
/// <value>
/// The model.
/// </value>
public PlotModel Model { get; private set; }
}
}