Skip to content

Commit

Permalink
Merge branch 'release/5.0.0' into production
Browse files Browse the repository at this point in the history
  • Loading branch information
craigfowler committed Sep 26, 2016
2 parents 268b234 + ecef031 commit 5a6a828
Show file tree
Hide file tree
Showing 140 changed files with 2,518 additions and 1,678 deletions.
71 changes: 71 additions & 0 deletions CSF.Cli.Parameters/CSF.Cli.Parameters.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{295C293C-60FB-43F3-B728-C2BA5B7516BC}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>CSF.Cli.Parameters</RootNamespace>
<AssemblyName>CSF.Cli.Parameters</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="IParameterParser.cs" />
<Compile Include="IParameterParser`1.cs" />
<Compile Include="ParameterBehaviour.cs" />
<Compile Include="ParameterMapping.cs" />
<Compile Include="ParameterParserBuilder.cs" />
<Compile Include="ParameterParserBuilder`1.cs" />
<Compile Include="ParsedParameters.cs" />
<Compile Include="PosixParameterParser.cs" />
<Compile Include="PosixParameterParser`1.cs" />
<Compile Include="Resources\ExceptionMessages.Designer.cs">
<DependentUpon>ExceptionMessages.resx</DependentUpon>
</Compile>
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<EmbeddedResource Include="Resources\ExceptionMessages.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>ExceptionMessages.Designer.cs</LastGenOutput>
<LogicalName>ExceptionMessages.resx</LogicalName>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Folder Include="Resources\" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\CSF\CSF.csproj">
<Project>{E563D7BC-1AB1-4AFB-8533-51315437C6E6}</Project>
<Name>CSF</Name>
</ProjectReference>
<ProjectReference Include="..\CSF.Reflection\CSF.Reflection.csproj">
<Project>{275413F6-0651-4AD4-A426-07EDA165C07E}</Project>
<Name>CSF.Reflection</Name>
</ProjectReference>
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
using System;
using System.Collections.Generic;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Base interface for a parameter parser.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
using System;
using System.Collections.Generic;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Interface for an instance of <see cref="IParameterParser"/> which parses parameters into an object type.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@

using System;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Enumerates the possible behaviours for an <see cref="ParameterMapping"/>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
using System.Collections.Generic;
using System.Linq;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Represents the mapping of a single parameter to be used in an <see cref="T:IParameterParser{T}"/>
Expand Down Expand Up @@ -106,11 +106,11 @@ public ParameterMapping(object identifier,
{
if(identifier == null)
{
throw new ArgumentNullException("identifier");
throw new ArgumentNullException(nameof(identifier));
}
if(!behaviour.IsDefinedValue())
{
throw new ArgumentException("Behaviour must be a defined enumeration constant.", "behaviour");
throw new ArgumentException("Behaviour must be a defined enumeration constant.", nameof(behaviour));
}

_identifier = identifier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
using System;
using System.Collections.Generic;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Builder type creates an instance of the non-generic <see cref="IParameterParser"/> and registers parameters which
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
using System.Linq.Expressions;
using CSF.Reflection;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Builder type creates an instance of the generic <see cref="T:IParameterParser{T}"/> and registers mappings
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
using CSF.Reflection;
using System.Linq;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Represents the results of a <see cref="IParameterParser"/>'s parsing activity. Contains the parameters that were
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
using System.Text.RegularExpressions;
using System.Linq;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Implementation of an <see cref="IParameterParser"/> that deals with POSIX-style parameters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
using System.Reflection;
using System.Linq;

namespace CSF.Cli
namespace CSF.Cli.Parameters
{
/// <summary>
/// Generic implementation of <see cref="PosixParameterParser"/>, which parses parameters into object instances.
Expand Down
44 changes: 44 additions & 0 deletions CSF.Cli.Parameters/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
//
// AssemblyInfo.cs
//
// Author:
// Craig Fowler <craig@craigfowler.me.uk>
//
// Copyright (c) 2016 Craig Fowler
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
// furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.
using System;
using System.Reflection;
using System.Runtime.CompilerServices;

[assembly: CLSCompliant(true)]
[assembly: AssemblyTitle("CSF.Cli.Parameters")]
[assembly: AssemblyDescription("A command-line parameter parser")]
[assembly: AssemblyCompany("CSF Software Limited")]
[assembly: AssemblyProduct("CSF Software Utilities")]
[assembly: AssemblyCopyright("CSF Software Limited")]

#if DEBUG
[assembly: AssemblyConfiguration("Debug")]
#else
[assembly: AssemblyConfiguration("Release")]
#endif

[assembly: AssemblyVersion("5.0.0")]

49 changes: 49 additions & 0 deletions CSF.Cli.Parameters/Resources/ExceptionMessages.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions CSF.Cli.Parameters/Resources/ExceptionMessages.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>
55 changes: 55 additions & 0 deletions CSF.Collections.EventHandling/CSF.Collections.EventHandling.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{A89D3196-8E70-496D-9999-AA5B7AF1183D}</ProjectGuid>
<OutputType>Library</OutputType>
<RootNamespace>CSF.Collections.EventHandling</RootNamespace>
<AssemblyName>CSF.Collections.EventHandling</AssemblyName>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug</OutputPath>
<DefineConstants>DEBUG;</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>full</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release</OutputPath>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<ConsolePause>false</ConsolePause>
</PropertyGroup>
<ItemGroup>
<Reference Include="System" />
</ItemGroup>
<ItemGroup>
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="EventBoundCollectionWrapper`1.cs" />
<Compile Include="EventBoundCollectionWrapper`2.cs" />
<Compile Include="EventBoundListWrapper`1.cs" />
<Compile Include="EventBoundSetWrapper.cs" />
<Compile Include="IEventBoundCollection`2.cs" />
<Compile Include="ReferenceCollection.cs" />
<Compile Include="ReferenceList.cs" />
<Compile Include="ListExtensions.cs" />
<Compile Include="SetExtensions.cs" />
<Compile Include="CollectionExtensions.cs" />
</ItemGroup>
<Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" />
<ItemGroup>
<ProjectReference Include="..\CSF.Reflection\CSF.Reflection.csproj">
<Project>{275413F6-0651-4AD4-A426-07EDA165C07E}</Project>
<Name>CSF.Reflection</Name>
</ProjectReference>
</ItemGroup>
</Project>
Loading

0 comments on commit 5a6a828

Please sign in to comment.