forked from kugelrund/LiveSplit.MemoryGraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Factory.cs
41 lines (40 loc) · 1.08 KB
/
Factory.cs
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
using LiveSplit.UI.Components;
using System;
namespace LiveSplit.MemoryGraph
{
public class Factory : IComponentFactory
{
public string ComponentName
{
get { return "MemoryGraph"; }
}
public ComponentCategory Category
{
get { return ComponentCategory.Information; }
}
public string Description
{
get { return "Shows Memory"; }
}
public IComponent Create(Model.LiveSplitState state)
{
return new Component(state);
}
public string UpdateName
{
get { return ComponentName; }
}
public string UpdateURL
{
get { return "https://raw.githubusercontent.com/kugelrund/LiveSplit.MemoryGraph/master/"; }
}
public Version Version
{
get { return System.Reflection.Assembly.GetExecutingAssembly().GetName().Version; }
}
public string XMLURL
{
get { return UpdateURL + "Components/update.LiveSplit.MemoryGraph.xml"; }
}
}
}