Last active
November 12, 2017 18:10
-
-
Save tuyen-vuduc/b344fb4635a35a34dcf4a8167b00a126 to your computer and use it in GitHub Desktop.
CSharp class template
This file contains 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
public class ClassSample | |
{ | |
pubic static readonly string StatidFieldA; | |
pubic static readonly string StatidFieldZ; | |
private static readonly string StatidFieldA; | |
private static readonly string StatidFieldZ; | |
public event EventHandler EventA; | |
public event EventHandler EventZ; | |
event EventHandler privateEventA; | |
event EventHandler privateEventZ; | |
public string PropertyA {get;set;} | |
public string PropertyZ {get;set;} | |
string fieldA; | |
string fieldZ; | |
static ClassSample () {} | |
public ClassSample () {} | |
public void PublicMethodA () {} | |
public void PublicMethodZ () {} | |
void PrivateMethodA () {} | |
void PrivateMethodZ () {} | |
ICommand _ACommand; | |
public ICommand ACommand | |
{ | |
return (_ACommand = _ACommand ?? new Command(ExecuteACommand, CanExecuteACommand)); | |
} | |
bool CanExecuteACommand () {} | |
void ExecuteACommand () {} | |
ICommand _ZCommand; | |
public ICommand ZCommand | |
{ | |
return (_ZCommand = _ZCommand ?? new Command(ExecuteZCommand, CanExecuteZCommand)); | |
} | |
bool CanExecuteZCommand () {} | |
void ExecuteZCommand () {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment