Snippets for Xamarin.Android and Xamarin.iOS.
You can import snippets by putting the files from the VS4Mac folder into ~/Library/VisualStudio/8.0/Snippets/
To import Snippets in Rider go to Preferences > Manage Layers > Import from file, select the Live templates checkbox and click OK. For more documentation see the Rider documentation about Sharing Live Templates.
private string _name;
public string Name
{
get => _name;
private set => Set(ref _name, value);
}
GoNextCommand = new RelayCommand(GoNext);
public ICommand GoNextCommand { get; }
private void GoNext()
{
}
FindCommand = new RelayCommand<string>(Find);
public ICommand<string> FindCommand { get; }
private void Find(string arg)
{
}
GoNextCommand = new AsyncCommand(GoNextAsync);
public IAsyncCommand GoNextCommand { get; }
private Task GoNextAsync()
{
}
FindCommand = new AsyncCommand<string>(FindAsync);
public IAsyncCommand<string> FindCommand { get; }
private Task FindAsync(string arg)
{
}
public class HomePageViewModel : ViewModelBase
{
public HomePageViewModel()
{
}
public override void OnInitialize()
{
base.OnInitialize();
}
public override void OnAppearing()
{
base.OnAppearing();
}
public override void OnDisappearing()
{
base.OnDisappearing();
}
}
this.Bind(() => ViewModel.Title, () => TitleLabel.Text);
[Fact]
public void UnitUnderTest_StateUnderTest_ExpectedResult()
{
}
© 2020 | MIT