Skip to content

Instantly share code, notes, and snippets.

@Axemasta
Created January 20, 2019 20:14
Show Gist options
  • Save Axemasta/96f187a9db9e0bed768557bb6d1e7110 to your computer and use it in GitHub Desktop.
Save Axemasta/96f187a9db9e0bed768557bb6d1e7110 to your computer and use it in GitHub Desktop.
My C# Class Templates
public class ClassName
{
#region Properties
#endregion Properties
public ClassName()
{
}
#region Methods
#endregion Methods
}
public class XamarinViewModel
{
#region Properties
#region - Interfaces
#endregion - Interfaces
#region - Delegate Commands
#endregion - Delegate Commands
#region - Class Properties
private readonly string _className;
#endregion - Class Properties
#endregion Properties
public XamarinViewModel()
{
_className = this.GetType().Name;
}
#region Methods
#region - OnCommand Methods
#endregion - OnCommand Methods
#endregion Methods
}
public class XamarinControl
{
#region Properties
#region - Bindable Property Declaration
#endregion - Bindable Property Declaration
#region - Bindable Properties
#endregion - Bindable Properties
#region - Class Properties
#endregion - Class Properties
#endregion Properties
public XamarinViewModel()
{
}
#region Methods
#region - Binded Property Changed Methods
#endregion - Binded Property Changed Methods
#endregion Methods
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment