using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.SharedUI;
namespace Tango.Stubs.ViewModels
{
///
/// Represents a single stub snippet view model.
///
///
public class StubSnippetVM : ViewModel
{
private String _name;
///
/// Gets or sets the stub name.
///
public String Name
{
get { return _name; }
set { _name = value; RaisePropertyChanged(nameof(Name)); }
}
private String _code;
///
/// Gets or sets the snippet code.
///
public String Code
{
get { return _code; }
set { _code = value; RaisePropertyChanged(nameof(Code)); }
}
///
/// Returns a that represents this instance.
///
///
/// A that represents this instance.
///
public override string ToString()
{
return Name;
}
}
}