VWG.Community.Util
1.0.0
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package VWG.Community.Util --version 1.0.0
NuGet\Install-Package VWG.Community.Util -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="VWG.Community.Util" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VWG.Community.Util --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: VWG.Community.Util, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install VWG.Community.Util as a Cake Addin #addin nuget:?package=VWG.Community.Util&version=1.0.0 // Install VWG.Community.Util as a Cake Tool #tool nuget:?package=VWG.Community.Util&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Usage
private void CountryCodes_Load(object sender, EventArgs e)
{
var codes = new VWG.Community.Util.CountryCodes();
var list = codes.GetList();
var lvw = new ListView()
{
Dock = DockStyle.Fill,
DataSource = list
};
Controls.Add(lvw);
}
private void cmdFindCountryName_Click(object sender, EventArgs e)
{
var target = txtCountryName.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByDisplayName(target);
ShowResult(item);
}
private void cmdFindFIFACode_Click(object sender, EventArgs e)
{
var target = txtFIFACode.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByFIFA(target);
ShowResult(item);
}
private void cmdTLD_Click(object sender, EventArgs e)
{
var target = txtTLD.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByTLD(target);
ShowResult(item);
}
private void cmdPhone_Click(object sender, EventArgs e)
{
var target = txtPhone.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByDial(target);
ShowResult(item);
}
private void cmdISO3166_Click(object sender, EventArgs e)
{
var target = txtISO3166.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByISO3166_Alpha3(target);
ShowResult(item);
}
private void cmdFIPS_Click(object sender, EventArgs e)
{
var target = txtFIPS.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByFIPS(target);
ShowResult(item);
}
private void cmdAll_Click(object sender, EventArgs e)
{
var target = txtAll.Text.Trim();
var codes = new VWG.Community.Util.CountryCodes();
var item = codes.FindByAll(target);
ShowResult(item);
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- CsvHelper (>= 15.0.8)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.