This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace Gucu112.SingletonPattern | |
{ | |
class Singleton : IDisposable | |
{ | |
private static Lazy<Singleton> instance | |
= new Lazy<Singleton>(() => new Singleton()); | |
private Singleton() | |
{ | |
// Singleton initialized |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require('jasmine-beforeall'); | |
describe('Console class', function () { | |
var intercept = require('intercept-stdout'); | |
var Console = require('../../core/console'); | |
var ConsoleMock = Console.getMock(); | |
var Data = new Object(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<QueryList> | |
<Query Id="0" Path="Microsoft-Windows-TaskScheduler/Operational"> | |
<Select Path="Microsoft-Windows-TaskScheduler/Operational">*[System[(EventID=100)] and EventData[Data[@Name='TaskName']='\Your task name']]</Select> | |
</Query> | |
</QueryList> |