You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
30 lines
689 B
C#
30 lines
689 B
C#
|
|
// Copyright 1998-2015 Epic Games, Inc. All Rights Reserved.
|
|||
|
|
|
|||
|
|
using System;
|
|||
|
|
using System.Collections.Generic;
|
|||
|
|
|
|||
|
|
namespace Tools.DotNETCommon.CaselessDictionary
|
|||
|
|
{
|
|||
|
|
/// <summary>
|
|||
|
|
/// Equivalent of case insensitive Dictionary<string, T>
|
|||
|
|
/// </summary>
|
|||
|
|
/// <typeparam name="T"></typeparam>
|
|||
|
|
public class CaselessDictionary<T> : Dictionary<string, T>
|
|||
|
|
{
|
|||
|
|
public CaselessDictionary()
|
|||
|
|
: base(StringComparer.InvariantCultureIgnoreCase)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public CaselessDictionary(int Capacity)
|
|||
|
|
: base(Capacity, StringComparer.InvariantCultureIgnoreCase)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public CaselessDictionary(IDictionary<string, T> Dict)
|
|||
|
|
: base(Dict, StringComparer.InvariantCultureIgnoreCase)
|
|||
|
|
{
|
|||
|
|
}
|
|||
|
|
}
|
|||
|
|
}
|