Sha256: 4d2c791609a131f115f845828e03cf90ca0f7bb28446bbf1cea0b2ba19b08ee8

Contents?: true

Size: 888 Bytes

Versions: 44

Compression:

Stored size: 888 Bytes

Contents

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>content</key>
	<string>/// &lt;summary&gt;
///   Description of singleton class goes here
/// &lt;/summary&gt;
public class ${1:Singleton}
{
   private static ${1:Singleton} ${3:${2/./\l$0/}};

   private ${1:Singleton}()
   {
   }

   public static ${1:Singleton} ${2:Instance}
   {
      get 
      {
         if (${3:${2/./\l$0/}} == null)
         {
            ${3:${2/./\l$0/}} = new ${1:Singleton}();
         }
         return ${3:${2/./\l$0/}};
      }
   }
}
</string>
	<key>name</key>
	<string>Singleton Class</string>
	<key>scope</key>
	<string>source.cs</string>
	<key>tabTrigger</key>
	<string>sinc</string>
	<key>uuid</key>
	<string>F1BB288E-0BAD-4833-BB6E-1C7E958041F6</string>
</dict>
</plist>

Version data entries

44 entries across 44 versions & 3 rubygems

Version Path
redcar-bundles-0.3 Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-bundles-0.2-java Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-bundles-0.1-java Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-dev-0.12.1dev-java plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-dev-0.12.0dev-java plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.11 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.11.0dev plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.10 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.9.2 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.9.1 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.9.0 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.8.1 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.8 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.7 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.6.1 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.6 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.6.1dev plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.5.1 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.5 plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet
redcar-0.5.6dev plugins/textmate/vendor/redcar-bundles/Bundles/C Sharp.tmbundle/Snippets/Singleton_Class.tmSnippet