Coder Social home page Coder Social logo

postalcodes.net's Introduction

Build Status Build status Coverage Status Nuget Package Nuget Package PostalCodes Release

PostalCodes.Net

Library for managing postal codes for .NET

Branching model

This package follows the git-flow branching model:

  • Develop features of a feature/* branch.
  • Create pull request to a master branch.
  • Once master is branched into release/<major>.<minor>.<patch> an automatic job builds and if successful publishes the NuGet package.
  • After successful build the artifact will be available via NuGet or directly from GitHub Releases.

Prerequisites

If you want to open the solution file in Visual Studio, you may need the Sandcastle Help File Builder Visual Studio extension available in the bundle here.

Building

The following snippets assume your working directory is in the root of the repository:

> git clone https://github.com/Cimpress-MCP/PostalCodes.Net.git
> cd PostalCodes.Net

On Windows

In order to build the project you can use plain msbuild:

> nuget restore
> msbuild

On Mac

> nuget restore
> xbuild

On Linux

Install the nuget and mono-xbuild packages from Mono Project package repository.

> nuget restore
> xbuild

##Reading the docs

On Windows

Microsoft Compiled HTML Help is supported by default on Windows.

On Mac

One alternative to read Microsoft Compiled HTML Help on a Mac is iChm or Chmox.

On Linux

A popular cross-platform alternative to read Microsoft Compiled HTML Help is xCHM.

##Usages

Creating postal code objects

var country = CountryFactory.Instance.CreateCountry("PL");
var postalCode = PostalCodeFactory.Instance.CreatePostalCode(
	country, "44-100");

in case of invalid postal code you will get an ArgumentException with the proper message explaining the reason for the failure.

postalcodes.net's People

Contributors

istanishev avatar maherkassim avatar mmaruniak avatar rnowosielski avatar schulz3000 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.