-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSpaceState.cs
More file actions
54 lines (49 loc) · 1.5 KB
/
SpaceState.cs
File metadata and controls
54 lines (49 loc) · 1.5 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
44
45
46
47
48
49
50
51
52
53
54
using System.Collections.Generic;
namespace BrixelAPI.SpaceState.Domain.SpaceStateAggregate;
/// <summary>
/// SpaceAPI v14
/// </summary>
public class SpaceState : SpaceApi
{
public void ChangeState(in bool isOpen)
{
State.Open = isOpen;
}
public static SpaceState GetConfiguredSpaceAPI()
{
return new SpaceState()
{
ApiCompatibility = ["0.14"],
Space = "Brixel",
Logo = "https://www.brixel.be/wp-content/uploads/2015/09/Logo_small_transparant.png",
Url = "http://brixel.be",
Location = new Location
{
Address = "Spalbeekstraat 34, 3510 Spalbeek, Belgium",
Lat = (float)50.9509978,
Lon = (float)5.2305834
},
Spacefed = new Spacefed
{
Spacenet = false,
Spacesaml = false,
},
Contact = new Contact
{
Email = "info@brixel.be",
Twitter = "@hs_hasselt",
Facebook = "https://facebook.com/Brixel.Hasselt",
Mastodon = "@brixel@mastodon.social",
Foursquare = "https://foursquare.com/v/hackerspace-brixel/54284e28498e0b0d254fa426"
},
Projects = new List<string>()
{
"https://www.brixel.be/projecten/"
}.ToArray(),
State = new State()
{
Open = false,
}
};
}
}