- Fork del repositorio
- Clonar el repositorio
- Actualizar la rama master
- Crear una rama
- Hacer los cambios
- Hacer un Pull Request
<Entry Text="{Binding Name.Value, Mode=TwoWay}" /> | |
<Label Text="{Binding Name.Error}" TextColor="Red" HorizontalTextAlignment="Center" /> |
using Plugin.ValidationRules; | |
namespace ValidationRulesTest.Models | |
{ | |
public class User | |
{ | |
public User() | |
{ | |
LastName = new ValidatableObject<string>(); | |
Name = new ValidatableObject<string>(); |
using Plugin.ValidationRules; | |
using ValidationRulesTest.Validations; | |
using ValidationRulesTest.Models; | |
namespace ValidationRulesTest.ViewModels | |
{ | |
public class Example2ViewModel | |
{ | |
public Example2ViewModel() | |
{ |
var isValidEmail = User.Email.Validate(); |
<Entry Text="{Binding User.Name.Value, Mode=TwoWay}" > | |
<Entry.Behaviors> | |
<behaviors:EventToCommandBehavior EventName="Unfocused" Command="{Binding ValidateUserNameCommand}" /> | |
</Entry.Behaviors> | |
</Entry> |
<Entry Text="{Binding User.Name.Value, Mode=TwoWay}" /> | |
<Label Text="{Binding User.Name.Error}" TextColor="Red" HorizontalTextAlignment="Center" /> |
<Label> | |
<Label.FormattedText> | |
<FormattedString> | |
<FormattedString.Spans> | |
<Span Text="Lorem ipsum " FontAttributes="Bold" TextColor="Blue" TextDecorations="Underline"> | |
<Span.GestureRecognizers> | |
<TapGestureRecognizer Command="{Binding TapCommand, Mode=OneWay}" | |
CommandParameter="https://luismts.com/"/> | |
</Span.GestureRecognizers> | |
</Span> |
<Label MaxLines="4" | |
LineBreakMode="TailTruncation" | |
Text="Lorem ipsum dolor sit amet, consectetur adipiscing elit. Etiam mattis quam non enim pellentesque, ut placerat purus finibus. Nulla quis tincidunt ante. Ut mauris lectus, aliquam a sagittis vitae, consequat eget elit. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque convallis nunc nisi, a imperdiet elit efficitur et. Duis in lectus mollis, interdum ipsum et, tincidunt orci. Fusce ipsum metus, imperdiet non lacus vitae, facilisis feugiat magna. Nulla volutpat nisl tortor, a consectetur felis consectetur non. Curabitur in enim vulputate sem volutpat bibendum id nec lorem. Mauris laoreet lacus ac volutpat tempus."/> |
Whether you're trying to give back to the open source community or collaborating on your own projects, knowing how to properly fork and generate pull requests is essential. Unfortunately, it's quite easy to make mistakes or not know what you should do when you're initially learning the process. I know that I certainly had considerable initial trouble with it, and I found a lot of the information on GitHub and around the internet to be rather piecemeal and incomplete - part of the process described here, another there, common hangups in a different place, and so on.
In an attempt to coallate this information for myself and others, this short tutorial is what I've found to be fairly standard procedure for creating a fork, doing your work, issuing a pull request, and merging that pull request back into the original project.
Just head over to the GitHub page and click the "Fork" button. It's just that simple. Once you've done that, you can use your favorite git client to clone your repo or j