-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathossr.template.xml
35 lines (33 loc) · 1.2 KB
/
ossr.template.xml
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
<?xml version="1.0" encoding="utf-8"?>
<CodeTemplates version="3.0">
<CodeTemplate version="2.0">
<Header>
<_Group>Custom</_Group>
<Version />
<MimeType>text/x-csharp</MimeType>
<Shortcut>ossr</Shortcut>
<_Description>On Start, Sleep, Resume</_Description>
<TemplateType>Unknown</TemplateType>
</Header>
<Variables>
<Variable name=""**** {this.GetType().Name}.{nameof(OnStart)}");
 base.OnStart();
 }

 protected override void OnSleep()
 {
 Debug.WriteLine(">
<Default>notset</Default>
</Variable>
</Variables>
<Code><![CDATA[protected override void OnStart()
{
Debug.WriteLine($"**** {this.GetType().Name}.{nameof(OnStart)}");
base.OnStart();
}
protected override void OnSleep()
{
Debug.WriteLine($"**** {this.GetType().Name}.{nameof(OnSleep)}");
base.OnSleep();
}
protected override void OnResume()
{
Debug.WriteLine($"**** {this.GetType().Name}.{nameof(OnResume)}");
base.OnResume();
}]]></Code>
</CodeTemplate>
</CodeTemplates>