Click here to Skip to main content
15,896,557 members
Articles / Programming Languages / C# 4.0

The List Trifecta, Part 2

Rate me:
Please Sign up or sign in to vote.
5.00/5 (4 votes)
7 Sep 2013LGPL310 min read 28.7K   317   12  
The BDictionary is like a Dictionary mashed up with List<T>. BList and BMultiMap also say hello.
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <ProjectGuid>{DF642FB7-25EB-424D-8E92-6C046F42D4A9}</ProjectGuid>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
    <OutputType>Library</OutputType>
    <RootNamespace>Loyc.Essentials</RootNamespace>
    <AssemblyName>Loyc.Essentials</AssemblyName>
    <FileUpgradeFlags>
    </FileUpgradeFlags>
    <UpgradeBackupLocation>
    </UpgradeBackupLocation>
    <OldToolsVersion>2.0</OldToolsVersion>
    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
    <TargetFrameworkSubset>
    </TargetFrameworkSubset>
    <PublishUrl>publish\</PublishUrl>
    <Install>true</Install>
    <InstallFrom>Disk</InstallFrom>
    <UpdateEnabled>false</UpdateEnabled>
    <UpdateMode>Foreground</UpdateMode>
    <UpdateInterval>7</UpdateInterval>
    <UpdateIntervalUnits>Days</UpdateIntervalUnits>
    <UpdatePeriodically>false</UpdatePeriodically>
    <UpdateRequired>false</UpdateRequired>
    <MapFileExtensions>true</MapFileExtensions>
    <ApplicationRevision>0</ApplicationRevision>
    <ApplicationVersion>1.0.0.%2a</ApplicationVersion>
    <IsWebBootstrapper>false</IsWebBootstrapper>
    <UseApplicationTrust>false</UseApplicationTrust>
    <BootstrapperEnabled>true</BootstrapperEnabled>
    <TargetFrameworkProfile>Client</TargetFrameworkProfile>
    <AllowUnsafeBlocks>False</AllowUnsafeBlocks>
    <NoStdLib>False</NoStdLib>
    <WarningLevel>4</WarningLevel>
    <TreatWarningsAsErrors>false</TreatWarningsAsErrors>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
    <OutputPath>..\..\Bin\Essentials\Debug.NET4\</OutputPath>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>Full</DebugType>
    <CheckForOverflowUnderflow>false</CheckForOverflowUnderflow>
    <DefineConstants>TRACE;DEBUG;Loyc,DotNet4,CSharp4</DefineConstants>
    <NoWarn>1591, 1573</NoWarn>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
    <OutputPath>..\..\Bin\Essentials\Release.NET4\</OutputPath>
    <DebugSymbols>true</DebugSymbols>
    <DebugType>pdbonly</DebugType>
    <CheckForOverflowUnderflow>False</CheckForOverflowUnderflow>
    <DefineConstants>TRACE;Loyc,DotNet4,CSharp4</DefineConstants>
    <NoWarn>1591, 1573</NoWarn>
    <DocumentationFile>..\..\Bin\Essentials\Release.NET4\Loyc.Essentials.xml</DocumentationFile>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
    <Optimize>true</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
    <Optimize>False</Optimize>
  </PropertyGroup>
  <PropertyGroup Condition=" '$(Platform)' == 'AnyCPU' ">
    <RegisterForComInterop>False</RegisterForComInterop>
    <GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
    <BaseAddress>4194304</BaseAddress>
    <PlatformTarget>AnyCPU</PlatformTarget>
    <FileAlignment>4096</FileAlignment>
  </PropertyGroup>
  <PropertyGroup>
    <SignAssembly>true</SignAssembly>
  </PropertyGroup>
  <PropertyGroup>
    <AssemblyOriginatorKeyFile>OpenSourceKey.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.Targets" />
  <ItemGroup>
    <Reference Include="nunit.framework, Version=2.5.0.0, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
      <SpecificVersion>False</SpecificVersion>
      <HintPath>..\..\Bin\nunit.framework.dll</HintPath>
    </Reference>
    <Reference Include="System" />
    <Reference Include="System.Core">
      <RequiredTargetFramework>3.5</RequiredTargetFramework>
    </Reference>
  </ItemGroup>
  <ItemGroup>
    <Compile Include="AssemblyInfo.cs" />
    <Compile Include="Collections\BaseClasses\BaseDictionary.cs" />
    <Compile Include="Collections\BaseClasses\ListExBase.cs" />
    <Compile Include="Collections\BaseClasses\ListSourceBase.cs" />
    <Compile Include="Collections\BaseClasses\SourceBase.cs" />
    <Compile Include="Collections\CollectionDebugView.cs" />
    <Compile Include="Collections\ExtensionMethods\DictionaryExt.cs" />
    <Compile Include="Collections\ExtensionMethods\LCExtensions.cs" />
    <Compile Include="Collections\ExtensionMethods\ListExt.cs" />
    <Compile Include="Collections\ExtensionMethods\Range.cs" />
    <Compile Include="Collections\HelperClasses\ArraySlice.cs" />
    <Compile Include="Collections\HelperClasses\BufferedSequence.cs" />
    <Compile Include="Collections\HelperClasses\CollectionAsSource.cs" />
    <Compile Include="Collections\HelperClasses\EmptyEnumerator.cs" />
    <Compile Include="Collections\HelperClasses\EmptyList.cs" />
    <Compile Include="Collections\HelperClasses\IntRange.cs" />
    <Compile Include="Collections\HelperClasses\KeyCollection.cs" />
    <Compile Include="Collections\HelperClasses\ListAsListSource.cs" />
    <Compile Include="Collections\HelperClasses\ListSlice.cs" />
    <Compile Include="Collections\HelperClasses\ListSourceAsList.cs" />
    <Compile Include="Collections\HelperClasses\NegList.cs" />
    <Compile Include="Collections\HelperClasses\NegListSource.cs" />
    <Compile Include="Collections\HelperClasses\NestedEnumerator.cs" />
    <Compile Include="Collections\HelperClasses\RangeEnumerator.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Collections\HelperClasses\Repeated.cs" />
    <Compile Include="Collections\HelperClasses\ReverseBinumerator.cs" />
    <Compile Include="Collections\HelperClasses\ReversedListSource.cs" />
    <Compile Include="Collections\HelperClasses\SelectListSource.cs" />
    <Compile Include="Collections\HelperClasses\SelectNegLists.cs" />
    <Compile Include="Collections\HelperClasses\SelectNegListSources.cs" />
    <Compile Include="Collections\HelperClasses\Slice.cs" />
    <Compile Include="Collections\HelperClasses\SourceAsCollection.cs" />
    <Compile Include="Collections\HelperClasses\StringSlice.cs" />
    <Compile Include="Collections\HelperClasses\UString.cs" />
    <Compile Include="Collections\HelperClasses\ValueCollection.cs" />
    <Compile Include="Collections\Implementations\ArrayOf4.cs" />
    <Compile Include="Collections\Implementations\DList.cs" />
    <Compile Include="Collections\Implementations\InternalDList.cs" />
    <Compile Include="Collections\Implementations\InternalList.cs" />
    <Compile Include="Collections\Interfaces\New enumerators.cs" />
    <Compile Include="Collections\Interfaces\IRanges.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Collections\Interfaces\ISetImm.cs">
      <SubType>Code</SubType>
    </Compile>
    <Compile Include="Collections\Implementations\ListChangeInfo.cs" />
    <Compile Include="Collections\Implementations\WeakKeyComparer.cs" />
    <Compile Include="Collections\Implementations\WeakKeyDictionary.cs" />
    <Compile Include="Collections\Implementations\WeakValueDictionary.cs" />
    <Compile Include="Collections\Interfaces\ICount.cs" />
    <Compile Include="Collections\Interfaces\IListSource.cs" />
    <Compile Include="Collections\Interfaces\INegListSource.cs" />
    <Compile Include="Collections\Interfaces\IAutoCreatePool.cs" />
    <Compile Include="Collections\Interfaces\INotifyListChanging.cs" />
    <Compile Include="Collections\Interfaces\Queue interfaces.cs" />
    <Compile Include="Collections\Interfaces\Read-write interfaces.cs" />
    <Compile Include="Collections\Interfaces\Sink interfaces.cs" />
    <Compile Include="Compatibility\IReadOnlyCollections.cs" />
    <Compile Include="Compatibility\Serializable.cs" />
    <Compile Include="Exceptions.cs" />
    <Compile Include="G.cs" />
    <Compile Include="Math\BoundingBox.cs" />
    <Compile Include="Math\FixedPoint.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>FixedPoint.tt</DependentUpon>
    </Compile>
    <Compile Include="Math\IRectangle.cs" />
    <Compile Include="Math\IPoint3.cs" />
    <Compile Include="Math\IRectangle3.cs" />
    <Compile Include="Math\Math128.cs" />
    <Compile Include="Math\MathsT.cs" />
    <Compile Include="Math\PointT.cs" />
    <Compile Include="Math\VectorT.cs" />
    <Compile Include="Utilities\ExtensionsTests.cs" />
    <Compile Include="Utilities\EzStopwatch.cs" />
    <Compile Include="Utilities\ICloneable.cs" />
    <Compile Include="Math\Interfaces.cs" />
    <Compile Include="Math\IPoint.cs" />
    <Compile Include="Math\Margin.cs" />
    <Compile Include="Math\MathEx.cs" />
    <Compile Include="Math\Maths.cs">
      <AutoGen>True</AutoGen>
      <DesignTime>True</DesignTime>
      <DependentUpon>Maths.tt</DependentUpon>
    </Compile>
    <Compile Include="Math\Rectangle.cs" />
    <Compile Include="Math\Size.cs" />
    <Compile Include="Utilities\Extensions.cs" />
    <Compile Include="Utilities\GoInterface.cs" />
    <Compile Include="Utilities\GoInterfaceTests.cs" />
    <Compile Include="Utilities\HashTags.cs" />
    <Compile Include="Utilities\IMessageSink.cs" />
    <Compile Include="Utilities\ITags.cs" />
    <Compile Include="Utilities\Localize.cs" />
    <Compile Include="Utilities\MemoizedTypeName.cs" />
    <Compile Include="Utilities\MessageSinks.cs" />
    <Compile Include="Utilities\MiniTest.cs" />
    <Compile Include="Utilities\Pair.cs" />
    <Compile Include="Utilities\PushedTLV.cs" />
    <Compile Include="Utilities\RunTests.cs" />
    <Compile Include="Utilities\SimpleTimer.cs" />
    <Compile Include="Utilities\StringExt.cs" />
    <Compile Include="Utilities\Symbol.cs" />
    <Compile Include="Utilities\ThreadEx.cs" />
    <Compile Include="Utilities\ValueComparer.cs" />
    <Compile Include="Utilities\WeakReference.cs" />
    <Compile Include="Utilities\WrapperBase.cs" />
    <Compile Include="void.cs" />
  </ItemGroup>
  <ItemGroup>
    <None Include="app.config" />
    <None Include="Math\FixedPoint.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
      <LastGenOutput>FixedPoint.cs</LastGenOutput>
    </None>
    <None Include="Math\Maths.tt">
      <Generator>TextTemplatingFileGenerator</Generator>
      <LastGenOutput>Maths.cs</LastGenOutput>
    </None>
    <None Include="Math\NumTraits.ttinclude" />
    <None Include="OpenSourceKey.snk" />
  </ItemGroup>
  <ItemGroup>
    <BootstrapperPackage Include="Microsoft.Net.Client.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework Client Profile</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 2.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.0 %28x86%29</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5</ProductName>
      <Install>false</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
      <Visible>False</Visible>
      <ProductName>.NET Framework 3.5 SP1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
    <BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
      <Visible>False</Visible>
      <ProductName>Windows Installer 3.1</ProductName>
      <Install>true</Install>
    </BootstrapperPackage>
  </ItemGroup>
  <ItemGroup>
    <Folder Include="MiniLog\" />
    <Folder Include="Threading\" />
  </ItemGroup>
  <ItemGroup>
    <Service Include="{508349B6-6B84-4DF5-91F0-309BEEBAD82D}" />
  </ItemGroup>
</Project>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The GNU Lesser General Public License (LGPLv3)


Written By
Software Developer None
Canada Canada
Since I started programming when I was 11, I wrote the SNES emulator "SNEqr", the FastNav mapping component, the Enhanced C# programming language (in progress), the parser generator LLLPG, and LES, a syntax to help you start building programming languages, DSLs or build systems.

My overall focus is on the Language of your choice (Loyc) initiative, which is about investigating ways to improve interoperability between programming languages and putting more power in the hands of developers. I'm also seeking employment.

Comments and Discussions