aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Scripting/Tango.Scripting.Editors/Properties/CodeAnalysisDictionary.xml
blob: 71301b91d6ca8fcc1034c2f680ae9ac007acd954 (plain)
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
<?xml version="1.0"?>
<Dictionary>
	<Words>
		<Recognized>
			<!-- add words specific to your application here -->
			<Word>Uncollapse</Word>
			<Word>Foldings</Word>
			<Word>Xshd</Word>
			<Word>Utils</Word>
			<Word>Deque</Word>
			<Word>Colorizer</Word>
			<Word>Renderer</Word>
			<Word>Renderers</Word>
			<Word>Deletable</Word>
			<!-- required so that FxCop accepts 'yPositionMode' -->
			<Word>y</Word>
		</Recognized>
		<Unrecognized>
			<!-- Disable Lineup as a single word - LineUp is the spelling used in WPF -->
			<Word>Lineup</Word>
		</Unrecognized>
		<Deprecated>
			<!-- Use this section to deprecate terms -->
			<Term PreferredAlternate="Best">Bestest</Term>
		</Deprecated>
	</Words>
	<Acronyms>
		<CasingExceptions>
			<!-- Use this section to tell FxCop the correct casing of acronyms. -->
			<Acronym>WiX</Acronym>
		</CasingExceptions>
	</Acronyms>
</Dictionary>
">; } private int _reconnectinSeconds; public int ReconnectinSeconds { get { return _reconnectinSeconds; } set { _reconnectinSeconds = value; RaisePropertyChangedAuto(); } } private bool _autoReconnect; public bool AutoReconnect { get { return _autoReconnect; } set { _autoReconnect = value; RaisePropertyChangedAuto(); } } public ConnectionLostViewVM() : base() { ReconnectinSeconds = 10; _reconnectTimer = new Timer(); _reconnectTimer.Interval = TimeSpan.FromSeconds(1).TotalMilliseconds; _reconnectTimer.Elapsed += _reconnectTimer_Elapsed; } private void _reconnectTimer_Elapsed(object sender, ElapsedEventArgs e) { ReconnectinSeconds--; if (ReconnectinSeconds == -1) { _reconnectTimer.Stop(); InvokeUI(() => { Accept(); }); } } public override void OnShow() { base.OnShow(); if (AutoReconnect) { _reconnectTimer.Start(); } } protected override void Accept() { _reconnectTimer.Stop(); base.Accept(); } protected override void Cancel() { base.Cancel(); _reconnectTimer.Stop(); } } }