Neuron®
The Neuron® is the basis for the creation of open and secure federated networks for smart societies.
Loading...
Searching...
No Matches
ThemeImage.cs
1using System;
2using System.Collections.Generic;
3using System.Text;
4
6{
10 public class ThemeImage
11 {
12 private readonly string resource;
13 private readonly int width;
14 private readonly int height;
15
22 public ThemeImage(string Resource, int Width, int Height)
23 {
24 this.resource = Resource;
25 this.width = Width;
26 this.height = Height;
27 }
28
32 public string Resource => this.resource;
33
37 public int Width => this.width;
38
42 public int Height => this.height;
43
45 public override string ToString()
46 {
47 return this.resource;
48 }
49 }
50}
Contains a reference to an image in the theme.
Definition: ThemeImage.cs:11
ThemeImage(string Resource, int Width, int Height)
Contains a reference to an image in the theme.
Definition: ThemeImage.cs:22
int Height
Height of image.
Definition: ThemeImage.cs:42
string Resource
Resource of image.
Definition: ThemeImage.cs:32