.emacs.d/snippets/csharp-mode/class

15 lines
294 B
C#

# -*- mode: csharp -*-
# name: class
# key: cl
# --
namespace `(file-path-to-namespace)`;
public sealed class `(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`
{
$0
public `(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`()
{
}
}