-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from guibranco/develop
Develop
- Loading branch information
Showing
7 changed files
with
175 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
name: Auto merge approved pull requests | ||
on: | ||
pull_request: | ||
types: | ||
- labeled | ||
- unlabeled | ||
- synchronize | ||
- opened | ||
- edited | ||
- ready_for_review | ||
- reopened | ||
- unlocked | ||
pull_request_review: | ||
types: | ||
- submitted | ||
check_suite: | ||
types: | ||
- completed | ||
status: {} | ||
jobs: | ||
autoMerge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: autoMerge | ||
uses: "pascalgn/automerge-action@f81beb99aef41bb55ad072857d43073fba833a98" | ||
env: | ||
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
namespace ViaCep | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// The Via CEP result class. | ||
/// </summary> | ||
public sealed class ViaCepResult | ||
{ | ||
/// <summary> | ||
/// Gets or sets the zip code. | ||
/// </summary> | ||
/// <value> | ||
/// The zip code. | ||
/// </value> | ||
[JsonProperty("cep")] | ||
public string ZipCode { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the street. | ||
/// </summary> | ||
/// <value> | ||
/// The street. | ||
/// </value> | ||
[JsonProperty("logradouro")] | ||
public string Street { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the complement. | ||
/// </summary> | ||
/// <value> | ||
/// The complement. | ||
/// </value> | ||
[JsonProperty("complemento")] | ||
public string Complement { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the neighborhood. | ||
/// </summary> | ||
/// <value> | ||
/// The neighborhood. | ||
/// </value> | ||
[JsonProperty("bairro")] | ||
public string Neighborhood { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the city. | ||
/// </summary> | ||
/// <value> | ||
/// The city. | ||
/// </value> | ||
[JsonProperty("localidade")] | ||
public string City { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the state initials. | ||
/// </summary> | ||
/// <value> | ||
/// The state initials. | ||
/// </value> | ||
[JsonProperty("uf")] | ||
public string StateInitials { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the unit. | ||
/// </summary> | ||
/// <value> | ||
/// The unit. | ||
/// </value> | ||
[JsonProperty("unidade")] | ||
public string Unit { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the ibge code. | ||
/// </summary> | ||
/// <value> | ||
/// The ibge code. | ||
/// </value> | ||
[JsonProperty("ibge")] | ||
public int IBGECode { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets the gia code. | ||
/// </summary> | ||
/// <value> | ||
/// The gia code. | ||
/// </value> | ||
[JsonProperty("gia")] | ||
public int? GIACode { get; set; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation"> | ||
<s:String x:Key="/Default/CodeStyle/Naming/CSharpNaming/Abbreviations/=IBGE/@EntryIndexedValue">IBGE</s:String> | ||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Centro/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Direita/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/UserDictionary/Words/=IBGE/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/UserDictionary/Words/=Paulo/@EntryIndexedValue">True</s:Boolean> | ||
<s:Boolean x:Key="/Default/UserDictionary/Words/=unidade/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters