Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorModel/Events/SvgResolveNamespaceEventArgs.cs @ 12803

Last change on this file since 12803 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 1.3 KB
Line 
1using System;
2
3namespace SharpVectors.Dom.Svg
4{
5    /// <summary>
6    /// Arguments when namespace is trying to be resolved
7    /// </summary>
8    public sealed class SvgResolveNamespaceEventArgs : EventArgs
9    {
10        private string _uri;
11        private string _prefix;
12
13        public SvgResolveNamespaceEventArgs()
14        {   
15        }
16
17        public SvgResolveNamespaceEventArgs(string prefix)
18        {
19            _prefix = prefix;
20        }
21
22        /// <summary>
23        /// Gets or sets the prefix (for example: 'rdf')
24        /// </summary>
25        /// <value>The prefix.</value>
26        public string Prefix
27        {
28            get
29            {
30                return _prefix;
31            }
32            set
33            {
34                _prefix = value;
35            }
36        }
37        /// <summary>
38        /// Gets or sets the URI (for example: 'http://www.w3.org/1999/02/22-rdf-syntax-ns#').
39        /// This value may have already been initialized, it's up to the application to check if it wants to override the resolution
40        /// </summary>
41        /// <value>The URI.</value>
42        public string Uri
43        {
44            get
45            {
46                return _uri;
47            }
48            set
49            {
50                _uri = value;
51            }
52        }
53    }
54}
Note: See TracBrowser for help on using the repository browser.