Skip to content

Instantly share code, notes, and snippets.

View Juansero29's full-sized avatar
🎸
.NETing

Juan Rodríguez Juansero29

🎸
.NETing
  • Masao
  • France
  • 03:18 (UTC +02:00)
View GitHub Profile
@Juansero29
Juansero29 / xamlregion.snippet
Created September 25, 2019 13:39
Code snippet for an automatically implemented region in XAML. It's targeted to use within Xamarin.Forms. Type 'regx' to access it easily on a XAML Code Editor window. Language Version: C# 4.0 or higher
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>XAML Regions</Title>
<Author>Juan R. (Juansero29)</Author>
<Shortcut>regx</Shortcut>
<Description>
Code snippet for an automatically implemented region in XAML.
It's targeted to use within Xamarin.Forms.
@Juansero29
Juansero29 / ControlsLibrary.csproj
Last active May 18, 2019 02:47
Example of a Multi-targeted .NET Standard Library for Xamarin. This library targets .NET Standard 2.0, Xamarin.iOS and Xamarin.Android, it is here as a reference
<Project Sdk="MSBuild.Sdk.Extras/2.0.24">
<PropertyGroup Label="Globals">
<SccProjectName>SAK</SccProjectName>
<SccProvider>SAK</SccProvider>
<SccAuxPath>SAK</SccAuxPath>
<SccLocalPath>SAK</SccLocalPath>
</PropertyGroup>
<PropertyGroup>
private async Task GoToCustomerFormAsync(object obj)
{
var bc = new CustomerFormViewModel(Client) { Navigation = this.Navigation };
var c = new CRMNavigationPage(new CustomerFormPage()
{
BindingContext = bc,
Title = "Fiche Client"
});
@Juansero29
Juansero29 / bprop.snippet
Last active May 13, 2022 03:41 — forked from parth7676/bprop.snippet
Modern Bindable Property Snippet for Xamarin Forms.
<?xml version="1.0" encoding="utf-8"?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<SnippetTypes>
<SnippetType>Expansion</SnippetType>
</SnippetTypes>
<Title>BindableProperty</Title>
<Author>Juan R. (Juansero29) and Parth Patel (parth7676)</Author>
<Description>
@Juansero29
Juansero29 / PersistenceManager.java
Created October 18, 2018 09:40
A simple binary persistence manager written in java
/* This file and every class, interface and other components in this project is licenses
* under 'THE UNLICENSE' terms and conditions.
*
* THE UNLICENSE:
* This is free and unencumbered software released into the public domain.
*
* Anyone is free to copy, modify, publish, use, compile, sell, or
* distribute this software, either in source code form or as a compiled
* binary, for any purpose, commercial or non-commercial, and by any
* means.