diff --git a/.gitignore b/.gitignore index bdc3535..a255bab 100644 --- a/.gitignore +++ b/.gitignore @@ -100,6 +100,7 @@ ClientBin ~$* *.dbmdl Generated_Code #added for RIA/Silverlight projects +.vs # Backup & report files from converting an old project file to a newer # Visual Studio version. Backup files are not needed, because we have git ;-) diff --git a/Deployment/NuGet.exe b/Deployment/NuGet.exe index 6bb79fe..463f8e1 100644 Binary files a/Deployment/NuGet.exe and b/Deployment/NuGet.exe differ diff --git a/Deployment/publish-mustache-sharp.bat b/Deployment/publish-mustache-sharp.bat deleted file mode 100644 index 5aeec9a..0000000 --- a/Deployment/publish-mustache-sharp.bat +++ /dev/null @@ -1,4 +0,0 @@ -"C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe" ../mustache-sharp.sln /p:Configuration=Release -nuget pack ../mustache-sharp/mustache-sharp.csproj -Properties Configuration=Release -nuget push *.nupkg -Source https://www.nuget.org/api/v2/package -del *.nupkg \ No newline at end of file diff --git a/Deployment/publish-mustache-sharp.ps1 b/Deployment/publish-mustache-sharp.ps1 new file mode 100644 index 0000000..f93aecd --- /dev/null +++ b/Deployment/publish-mustache-sharp.ps1 @@ -0,0 +1,5 @@ +&dotnet pack "..\MustacheSharp\MustacheSharp.csproj" --configuration Release --output $PWD + +.\NuGet.exe push mustache-sharp.*.nupkg -Source https://www.nuget.org/api/v2/package + +Remove-Item mustache-sharp.*.nupkg \ No newline at end of file diff --git a/mustache-sharp.test/FormatCompilerTester.cs b/MustacheSharp.Tests/FormatCompilerTester.cs similarity index 99% rename from mustache-sharp.test/FormatCompilerTester.cs rename to MustacheSharp.Tests/FormatCompilerTester.cs index b63a986..2b4e574 100644 --- a/mustache-sharp.test/FormatCompilerTester.cs +++ b/MustacheSharp.Tests/FormatCompilerTester.cs @@ -1249,10 +1249,12 @@ Last"; [TestMethod] public void TestCompile_Each_ContextAfterIndexTag() { - List objects = new List(); - objects.Add(new TestObject { Name = "name1", Val = "val1" }); - objects.Add(new TestObject { Name = "name2", Val = "val2" }); - objects.Add(new TestObject { Name = "name3", Val = "val3" }); + List objects = new List() + { + new TestObject { Name = "name1", Val = "val1" }, + new TestObject { Name = "name2", Val = "val2" }, + new TestObject { Name = "name3", Val = "val3" } + }; const string template = @"{{#each this}} Item Number: {{#index}}
{{#newline}} diff --git a/mustache-sharp.test/HtmlFormatCompilerTester.cs b/MustacheSharp.Tests/HtmlFormatCompilerTester.cs similarity index 100% rename from mustache-sharp.test/HtmlFormatCompilerTester.cs rename to MustacheSharp.Tests/HtmlFormatCompilerTester.cs diff --git a/MustacheSharp.Tests/MustacheSharp.Tests.csproj b/MustacheSharp.Tests/MustacheSharp.Tests.csproj new file mode 100644 index 0000000..566e6b9 --- /dev/null +++ b/MustacheSharp.Tests/MustacheSharp.Tests.csproj @@ -0,0 +1,25 @@ + + + + netcoreapp2.1 + + false + + true + + MustacheSharp.Tests.snk + + false + + + + + + + + + + + + + diff --git a/MustacheSharp.Tests/MustacheSharp.Tests.snk b/MustacheSharp.Tests/MustacheSharp.Tests.snk new file mode 100644 index 0000000..38e21c6 Binary files /dev/null and b/MustacheSharp.Tests/MustacheSharp.Tests.snk differ diff --git a/mustache-sharp.test/UpcastDictionaryTester.cs b/MustacheSharp.Tests/UpcastDictionaryTester.cs similarity index 98% rename from mustache-sharp.test/UpcastDictionaryTester.cs rename to MustacheSharp.Tests/UpcastDictionaryTester.cs index 2b8b50d..c2e30bb 100644 --- a/mustache-sharp.test/UpcastDictionaryTester.cs +++ b/MustacheSharp.Tests/UpcastDictionaryTester.cs @@ -97,8 +97,7 @@ namespace Mustache.Test { var source = new Dictionary() { { "Name", "Bob" } }; IDictionary result = UpcastDictionary.Create(source); - object value; - bool found = result.TryGetValue("Name", out value); + bool found = result.TryGetValue("Name", out object value); Assert.IsTrue(found, "The key should have been found."); Assert.AreSame(source["Name"], value, "The value in the underlying dictionary should have been returned."); } @@ -108,8 +107,7 @@ namespace Mustache.Test { var source = new Dictionary() { { "Age", 100 } }; IDictionary result = UpcastDictionary.Create(source); - object value; - bool found = result.TryGetValue("Name", out value); + bool found = result.TryGetValue("Name", out object value); Assert.IsFalse(found, "The key should not have been found."); Assert.IsNull(value, "The value should be null even if the actual type is a struct."); diff --git a/MustacheSharp.sln b/MustacheSharp.sln new file mode 100644 index 0000000..6d4dfaf --- /dev/null +++ b/MustacheSharp.sln @@ -0,0 +1,31 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio 15 +VisualStudioVersion = 15.0.27703.2042 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MustacheSharp", "MustacheSharp\MustacheSharp.csproj", "{3013083D-0FB2-4A71-AFD7-6B7875112553}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MustacheSharp.Tests", "MustacheSharp.Tests\MustacheSharp.Tests.csproj", "{AFCE0299-A701-4648-9D3D-CC0084F85259}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {3013083D-0FB2-4A71-AFD7-6B7875112553}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {3013083D-0FB2-4A71-AFD7-6B7875112553}.Debug|Any CPU.Build.0 = Debug|Any CPU + {3013083D-0FB2-4A71-AFD7-6B7875112553}.Release|Any CPU.ActiveCfg = Release|Any CPU + {3013083D-0FB2-4A71-AFD7-6B7875112553}.Release|Any CPU.Build.0 = Release|Any CPU + {AFCE0299-A701-4648-9D3D-CC0084F85259}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AFCE0299-A701-4648-9D3D-CC0084F85259}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AFCE0299-A701-4648-9D3D-CC0084F85259}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AFCE0299-A701-4648-9D3D-CC0084F85259}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {2A85C61F-B68F-44E2-879C-5DEE6EB01C56} + EndGlobalSection +EndGlobal diff --git a/mustache-sharp/ArgumentCollection.cs b/MustacheSharp/ArgumentCollection.cs similarity index 82% rename from mustache-sharp/ArgumentCollection.cs rename to MustacheSharp/ArgumentCollection.cs index 07c23af..7dd1b3a 100644 --- a/mustache-sharp/ArgumentCollection.cs +++ b/MustacheSharp/ArgumentCollection.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace Mustache @@ -9,15 +8,7 @@ namespace Mustache /// internal sealed class ArgumentCollection { - private readonly Dictionary _argumentLookup; - - /// - /// Initializes a new instance of an ArgumentCollection. - /// - public ArgumentCollection() - { - _argumentLookup = new Dictionary(); - } + private readonly Dictionary _argumentLookup = new Dictionary(); /// /// Associates the given parameter to the key placeholder. @@ -36,15 +27,11 @@ namespace Mustache /// The name of the parameter. public string GetKey(TagParameter parameter) { - IArgument argument; - if (_argumentLookup.TryGetValue(parameter, out argument) && argument != null) + if (_argumentLookup.TryGetValue(parameter, out IArgument argument) && argument != null) { return argument.GetKey(); } - else - { - return null; - } + return null; } /// diff --git a/mustache-sharp/CompoundGenerator.cs b/MustacheSharp/CompoundGenerator.cs similarity index 96% rename from mustache-sharp/CompoundGenerator.cs rename to MustacheSharp/CompoundGenerator.cs index a9dc10e..0388f5b 100644 --- a/mustache-sharp/CompoundGenerator.cs +++ b/MustacheSharp/CompoundGenerator.cs @@ -11,7 +11,7 @@ namespace Mustache { private readonly TagDefinition _definition; private readonly ArgumentCollection _arguments; - private readonly List _primaryGenerators; + private readonly List _primaryGenerators = new List(); private IGenerator _subGenerator; /// @@ -23,7 +23,6 @@ namespace Mustache { _definition = definition; _arguments = arguments; - _primaryGenerators = new List(); } /// diff --git a/mustache-sharp/ConditionTagDefinition.cs b/MustacheSharp/ConditionTagDefinition.cs similarity index 97% rename from mustache-sharp/ConditionTagDefinition.cs rename to MustacheSharp/ConditionTagDefinition.cs index 82e0ef2..41e2c6e 100644 --- a/mustache-sharp/ConditionTagDefinition.cs +++ b/MustacheSharp/ConditionTagDefinition.cs @@ -69,8 +69,7 @@ namespace Mustache { return false; } - IEnumerable enumerable = condition as IEnumerable; - if (enumerable != null) + if (condition is IEnumerable enumerable) { return enumerable.Cast().Any(); } diff --git a/mustache-sharp/ContentTagDefinition.cs b/MustacheSharp/ContentTagDefinition.cs similarity index 96% rename from mustache-sharp/ContentTagDefinition.cs rename to MustacheSharp/ContentTagDefinition.cs index 5fea260..48e22b7 100644 --- a/mustache-sharp/ContentTagDefinition.cs +++ b/MustacheSharp/ContentTagDefinition.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { /// /// Defines a tag that can contain inner text. diff --git a/mustache-sharp/Context.cs b/MustacheSharp/Context.cs similarity index 83% rename from mustache-sharp/Context.cs rename to MustacheSharp/Context.cs index 2a6c249..f8dcef0 100644 --- a/mustache-sharp/Context.cs +++ b/MustacheSharp/Context.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { /// /// Represents a context within a template. @@ -21,11 +19,11 @@ namespace Mustache /// /// Gets the tag that created the context. /// - public string TagName { get; private set; } + public string TagName { get; } /// /// Gets the argument used to create the context. /// - public ContextParameter[] Parameters { get; private set; } + public ContextParameter[] Parameters { get; } } } diff --git a/mustache-sharp/ContextParameter.cs b/MustacheSharp/ContextParameter.cs similarity index 86% rename from mustache-sharp/ContextParameter.cs rename to MustacheSharp/ContextParameter.cs index 57fbe52..68aebb9 100644 --- a/mustache-sharp/ContextParameter.cs +++ b/MustacheSharp/ContextParameter.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { /// /// Holds information describing a parameter that creates a new context. @@ -21,11 +19,11 @@ namespace Mustache /// /// Gets the parameter that is used to create a new context. /// - public string Parameter { get; private set; } + public string Parameter { get; } /// /// Gets the key whose corresponding value will be used to create the context. /// - public string Argument { get; private set; } + public string Argument { get; } } } diff --git a/mustache-sharp/EachTagDefinition.cs b/MustacheSharp/EachTagDefinition.cs similarity index 95% rename from mustache-sharp/EachTagDefinition.cs rename to MustacheSharp/EachTagDefinition.cs index 163d7cb..0c6fcff 100644 --- a/mustache-sharp/EachTagDefinition.cs +++ b/MustacheSharp/EachTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections; +using System.Collections; using System.Collections.Generic; using System.IO; @@ -53,8 +52,7 @@ namespace Mustache Scope contextScope) { object value = arguments[collectionParameter]; - IEnumerable enumerable = value as IEnumerable; - if (enumerable == null) + if (!(value is IEnumerable enumerable)) { yield break; } diff --git a/mustache-sharp/ElifTagDefinition.cs b/MustacheSharp/ElifTagDefinition.cs similarity index 94% rename from mustache-sharp/ElifTagDefinition.cs rename to MustacheSharp/ElifTagDefinition.cs index 0d5b221..fd02ac7 100644 --- a/mustache-sharp/ElifTagDefinition.cs +++ b/MustacheSharp/ElifTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace Mustache { diff --git a/mustache-sharp/ElseTagDefinition.cs b/MustacheSharp/ElseTagDefinition.cs similarity index 96% rename from mustache-sharp/ElseTagDefinition.cs rename to MustacheSharp/ElseTagDefinition.cs index 04635ab..f4dc6a2 100644 --- a/mustache-sharp/ElseTagDefinition.cs +++ b/MustacheSharp/ElseTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; namespace Mustache { diff --git a/mustache-sharp/FormatCompiler.cs b/MustacheSharp/FormatCompiler.cs similarity index 96% rename from mustache-sharp/FormatCompiler.cs rename to MustacheSharp/FormatCompiler.cs index 16f6027..5fe074a 100644 --- a/mustache-sharp/FormatCompiler.cs +++ b/MustacheSharp/FormatCompiler.cs @@ -12,19 +12,15 @@ namespace Mustache /// public sealed class FormatCompiler { - private readonly Dictionary _tagLookup; - private readonly Dictionary _regexLookup; - private readonly MasterTagDefinition _masterDefinition; + private readonly Dictionary _tagLookup = new Dictionary(); + private readonly Dictionary _regexLookup = new Dictionary(); + private readonly MasterTagDefinition _masterDefinition = new MasterTagDefinition(); /// /// Initializes a new instance of a FormatCompiler. /// public FormatCompiler() { - _tagLookup = new Dictionary(); - _regexLookup = new Dictionary(); - _masterDefinition = new MasterTagDefinition(); - IfTagDefinition ifDefinition = new IfTagDefinition(); _tagLookup.Add(ifDefinition.Name, ifDefinition); ElifTagDefinition elifDefinition = new ElifTagDefinition(); @@ -111,12 +107,13 @@ namespace Mustache private Regex prepareRegex(TagDefinition definition) { - Regex regex; - if (!_regexLookup.TryGetValue(definition.Name, out regex)) + if (!_regexLookup.TryGetValue(definition.Name, out Regex regex)) { - List matches = new List(); - matches.Add(getKeyRegex()); - matches.Add(getCommentTagRegex()); + List matches = new List() + { + getKeyRegex(), + getCommentTagRegex() + }; foreach (string closingTag in definition.ClosingTags) { matches.Add(getClosingTagRegex(closingTag)); @@ -376,8 +373,7 @@ namespace Mustache } else if (RegexHelper.IsNumber(placeholder)) { - decimal number; - if (Decimal.TryParse(placeholder, out number)) + if (Decimal.TryParse(placeholder, out decimal number)) { argument = new NumberArgument(number); } diff --git a/mustache-sharp/Generator.cs b/MustacheSharp/Generator.cs similarity index 93% rename from mustache-sharp/Generator.cs rename to MustacheSharp/Generator.cs index 2cd47dd..dd8e896 100644 --- a/mustache-sharp/Generator.cs +++ b/MustacheSharp/Generator.cs @@ -11,9 +11,9 @@ namespace Mustache public sealed class Generator { private readonly IGenerator _generator; - private readonly List> _foundHandlers; - private readonly List> _notFoundHandlers; - private readonly List> _valueRequestedHandlers; + private readonly List> _foundHandlers = new List>(); + private readonly List> _notFoundHandlers = new List>(); + private readonly List> _valueRequestedHandlers = new List>(); /// /// Initializes a new instance of a Generator. @@ -22,9 +22,6 @@ namespace Mustache internal Generator(IGenerator generator) { _generator = generator; - _foundHandlers = new List>(); - _notFoundHandlers = new List>(); - _valueRequestedHandlers = new List>(); } /// diff --git a/mustache-sharp/HtmlFormatCompiler.cs b/MustacheSharp/HtmlFormatCompiler.cs similarity index 95% rename from mustache-sharp/HtmlFormatCompiler.cs rename to MustacheSharp/HtmlFormatCompiler.cs index 3e4d24a..29e9147 100644 --- a/mustache-sharp/HtmlFormatCompiler.cs +++ b/MustacheSharp/HtmlFormatCompiler.cs @@ -5,11 +5,10 @@ namespace Mustache { public sealed class HtmlFormatCompiler { - private readonly FormatCompiler compiler; + private readonly FormatCompiler compiler = new FormatCompiler(); public HtmlFormatCompiler() { - compiler = new FormatCompiler(); compiler.AreExtensionTagsAllowed = true; compiler.RemoveNewLines = true; } diff --git a/mustache-sharp/IArgument.cs b/MustacheSharp/IArgument.cs similarity index 55% rename from mustache-sharp/IArgument.cs rename to MustacheSharp/IArgument.cs index 4877cc2..9906e72 100644 --- a/mustache-sharp/IArgument.cs +++ b/MustacheSharp/IArgument.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; - -namespace Mustache +namespace Mustache { public interface IArgument { diff --git a/mustache-sharp/IGenerator.cs b/MustacheSharp/IGenerator.cs similarity index 100% rename from mustache-sharp/IGenerator.cs rename to MustacheSharp/IGenerator.cs diff --git a/mustache-sharp/IfTagDefinition.cs b/MustacheSharp/IfTagDefinition.cs similarity index 94% rename from mustache-sharp/IfTagDefinition.cs rename to MustacheSharp/IfTagDefinition.cs index f03e1f8..c2427f0 100644 --- a/mustache-sharp/IfTagDefinition.cs +++ b/MustacheSharp/IfTagDefinition.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { /// /// Defines a tag that renders its content depending on the truthyness diff --git a/mustache-sharp/IndexTagDefinition.cs b/MustacheSharp/IndexTagDefinition.cs similarity index 87% rename from mustache-sharp/IndexTagDefinition.cs rename to MustacheSharp/IndexTagDefinition.cs index 1d965a7..dbbb529 100644 --- a/mustache-sharp/IndexTagDefinition.cs +++ b/MustacheSharp/IndexTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; namespace Mustache @@ -25,8 +24,7 @@ namespace Mustache /// Extra data passed along with the context. public override void GetText(TextWriter writer, Dictionary arguments, Scope contextScope) { - object index; - if (contextScope.TryFind("index", out index)) + if (contextScope.TryFind("index", out object index)) { writer.Write(index); } diff --git a/mustache-sharp/InlineGenerator.cs b/MustacheSharp/InlineGenerator.cs similarity index 79% rename from mustache-sharp/InlineGenerator.cs rename to MustacheSharp/InlineGenerator.cs index f1ed40a..1d4de52 100644 --- a/mustache-sharp/InlineGenerator.cs +++ b/MustacheSharp/InlineGenerator.cs @@ -25,16 +25,20 @@ namespace Mustache void IGenerator.GetText(TextWriter writer, Scope scope, Scope context, Action postProcessor) { - Dictionary arguments; + var arguments = GetArguments(scope, context); + _definition.GetText(writer, arguments, context); + } + + private Dictionary GetArguments(Scope scope, Scope context) + { if (_definition.IsSetter) { - arguments = _arguments.GetArgumentKeyNames(); + return _arguments.GetArgumentKeyNames(); } else { - arguments = _arguments.GetArguments(scope, context); - } - _definition.GetText(writer, arguments, context); + return _arguments.GetArguments(scope, context); + } } } } diff --git a/mustache-sharp/InlineTagDefinition.cs b/MustacheSharp/InlineTagDefinition.cs similarity index 95% rename from mustache-sharp/InlineTagDefinition.cs rename to MustacheSharp/InlineTagDefinition.cs index 04d45d4..34db3e5 100644 --- a/mustache-sharp/InlineTagDefinition.cs +++ b/MustacheSharp/InlineTagDefinition.cs @@ -1,6 +1,4 @@ -using System; -using System.Collections.Generic; -using System.IO; +using System.Collections.Generic; namespace Mustache { diff --git a/mustache-sharp/KeyFoundEventArgs.cs b/MustacheSharp/KeyFoundEventArgs.cs similarity index 90% rename from mustache-sharp/KeyFoundEventArgs.cs rename to MustacheSharp/KeyFoundEventArgs.cs index 1d686fb..c432066 100644 --- a/mustache-sharp/KeyFoundEventArgs.cs +++ b/MustacheSharp/KeyFoundEventArgs.cs @@ -21,12 +21,12 @@ namespace Mustache /// /// Gets the fully-qualified key. /// - public string Key { get; private set; } + public string Key { get; } /// /// Gets or sets whether the key appeared within triple curly braces. /// - public bool IsExtension { get; private set; } + public bool IsExtension { get; } /// /// Gets or sets the object to use as the substitute. diff --git a/mustache-sharp/KeyGenerator.cs b/MustacheSharp/KeyGenerator.cs similarity index 100% rename from mustache-sharp/KeyGenerator.cs rename to MustacheSharp/KeyGenerator.cs diff --git a/mustache-sharp/KeyNotFoundEventArgs.cs b/MustacheSharp/KeyNotFoundEventArgs.cs similarity index 89% rename from mustache-sharp/KeyNotFoundEventArgs.cs rename to MustacheSharp/KeyNotFoundEventArgs.cs index d0776bd..6e00a56 100644 --- a/mustache-sharp/KeyNotFoundEventArgs.cs +++ b/MustacheSharp/KeyNotFoundEventArgs.cs @@ -23,17 +23,17 @@ namespace Mustache /// /// Gets the fully-qualified key. /// - public string Key { get; private set; } + public string Key { get; } /// /// Gets the part of the key that could not be found. /// - public string MissingMember { get; private set; } + public string MissingMember { get; } /// /// Gets whether the key appeared within triple curly braces. /// - public bool IsExtension { get; private set; } + public bool IsExtension { get; } /// /// Gets or sets whether to use the substitute. diff --git a/mustache-sharp/MasterTagDefinition.cs b/MustacheSharp/MasterTagDefinition.cs similarity index 100% rename from mustache-sharp/MasterTagDefinition.cs rename to MustacheSharp/MasterTagDefinition.cs diff --git a/MustacheSharp/MustacheSharp.csproj b/MustacheSharp/MustacheSharp.csproj new file mode 100644 index 0000000..c6460bc --- /dev/null +++ b/MustacheSharp/MustacheSharp.csproj @@ -0,0 +1,37 @@ + + + + NET45;netstandard2.0 + Mustache + true + MustacheSharp.snk + false + mustache-sharp + Truncon + An extension of the mustache text template engine for .NET. + Copyright © 2013 + https://github.com/jehugaleahsa/mustache-sharp/blob/master/UNLICENSE.txt + https://github.com/jehugaleahsa/mustache-sharp + https://github.com/jehugaleahsa/mustache-sharp.git + git + mustache handlebars text generation building template + Migrate to .NET Standard 2.0 + en-US + + + + + True + True + Resources.resx + + + + + + ResXFileCodeGenerator + Resources.Designer.cs + + + + diff --git a/MustacheSharp/MustacheSharp.snk b/MustacheSharp/MustacheSharp.snk new file mode 100644 index 0000000..0e6fecc Binary files /dev/null and b/MustacheSharp/MustacheSharp.snk differ diff --git a/mustache-sharp/NestedContext.cs b/MustacheSharp/NestedContext.cs similarity index 97% rename from mustache-sharp/NestedContext.cs rename to MustacheSharp/NestedContext.cs index 3c98c8b..c489f00 100644 --- a/mustache-sharp/NestedContext.cs +++ b/MustacheSharp/NestedContext.cs @@ -1,5 +1,4 @@ -using System; -using System.IO; +using System.IO; namespace Mustache { diff --git a/mustache-sharp/NewlineTagDefinition.cs b/MustacheSharp/NewlineTagDefinition.cs similarity index 100% rename from mustache-sharp/NewlineTagDefinition.cs rename to MustacheSharp/NewlineTagDefinition.cs diff --git a/mustache-sharp/NumberArgument.cs b/MustacheSharp/NumberArgument.cs similarity index 91% rename from mustache-sharp/NumberArgument.cs rename to MustacheSharp/NumberArgument.cs index ec40ae4..ec5fe3e 100644 --- a/mustache-sharp/NumberArgument.cs +++ b/MustacheSharp/NumberArgument.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { public class NumberArgument : IArgument { diff --git a/mustache-sharp/PlaceholderArgument.cs b/MustacheSharp/PlaceholderArgument.cs similarity index 91% rename from mustache-sharp/PlaceholderArgument.cs rename to MustacheSharp/PlaceholderArgument.cs index 092f84c..2cf01af 100644 --- a/mustache-sharp/PlaceholderArgument.cs +++ b/MustacheSharp/PlaceholderArgument.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { public class PlaceholderArgument : IArgument { diff --git a/mustache-sharp/PlaceholderFoundEventArgs.cs b/MustacheSharp/PlaceholderFoundEventArgs.cs similarity index 95% rename from mustache-sharp/PlaceholderFoundEventArgs.cs rename to MustacheSharp/PlaceholderFoundEventArgs.cs index a194209..7461123 100644 --- a/mustache-sharp/PlaceholderFoundEventArgs.cs +++ b/MustacheSharp/PlaceholderFoundEventArgs.cs @@ -1,5 +1,4 @@ using System; -using Mustache.Properties; namespace Mustache { @@ -47,6 +46,6 @@ namespace Mustache /// /// Gets the context where the placeholder was found. /// - public Context[] Context { get; private set; } + public Context[] Context { get; } } } diff --git a/MustacheSharp/Properties/Assembly.cs b/MustacheSharp/Properties/Assembly.cs new file mode 100644 index 0000000..5054036 --- /dev/null +++ b/MustacheSharp/Properties/Assembly.cs @@ -0,0 +1,3 @@ +using System.Runtime.CompilerServices; + +[assembly:InternalsVisibleTo("MustacheSharp.Tests, PublicKey=0024000004800000940000000602000000240000525341310004000001000100fd172e711b4abd8f660ce475c6b888aa47f2e1e37c0a9b0296f2df9f7ab9ec8f7fc28c8e926cc8f77079e4b55dcd74427620e0265ded8aba26576e00dc6de91514b52799ee2ed9bb74be24a370bb77f327c92cb5bd114913b75385beeaeb43bba8b66971d21e330ca274a13bc632d6d2ac7ff595c4df0c199a9d0b9e8e9c67ed")] \ No newline at end of file diff --git a/mustache-sharp/Properties/Resources.Designer.cs b/MustacheSharp/Properties/Resources.Designer.cs similarity index 98% rename from mustache-sharp/Properties/Resources.Designer.cs rename to MustacheSharp/Properties/Resources.Designer.cs index 3d33190..4ed7e92 100644 --- a/mustache-sharp/Properties/Resources.Designer.cs +++ b/MustacheSharp/Properties/Resources.Designer.cs @@ -1,7 +1,7 @@ //------------------------------------------------------------------------------ // // This code was generated by a tool. -// Runtime Version:4.0.30319.18052 +// Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -19,7 +19,7 @@ namespace Mustache.Properties { // class via a tool like ResGen or Visual Studio. // To add or remove a member, edit your .ResX file then rerun ResGen // with the /str option, or rebuild your VS project. - [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")] + [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] internal class Resources { diff --git a/mustache-sharp/Properties/Resources.resx b/MustacheSharp/Properties/Resources.resx similarity index 100% rename from mustache-sharp/Properties/Resources.resx rename to MustacheSharp/Properties/Resources.resx diff --git a/mustache-sharp/PropertyDictionary.cs b/MustacheSharp/PropertyDictionary.cs similarity index 94% rename from mustache-sharp/PropertyDictionary.cs rename to MustacheSharp/PropertyDictionary.cs index dd66458..982f44c 100644 --- a/mustache-sharp/PropertyDictionary.cs +++ b/MustacheSharp/PropertyDictionary.cs @@ -13,8 +13,6 @@ namespace Mustache internal sealed class PropertyDictionary : IDictionary { private static readonly Dictionary>> _cache = new Dictionary>>(); - - private readonly object _instance; private readonly Dictionary> _typeCache; /// @@ -23,7 +21,7 @@ namespace Mustache /// The instance to wrap in the PropertyDictionary. public PropertyDictionary(object instance) { - _instance = instance; + Instance = instance; if (instance == null) { _typeCache = new Dictionary>(); @@ -32,7 +30,7 @@ namespace Mustache { lock (_cache) { - _typeCache = getCacheType(_instance); + _typeCache = getCacheType(instance); } } } @@ -98,10 +96,7 @@ namespace Mustache /// /// Gets the underlying instance. /// - public object Instance - { - get { return _instance; } - } + public object Instance { get; } [EditorBrowsable(EditorBrowsableState.Never)] void IDictionary.Add(string key, object value) @@ -148,7 +143,7 @@ namespace Mustache value = null; return false; } - value = getter(_instance); + value = getter(Instance); return true; } @@ -163,7 +158,7 @@ namespace Mustache List values = new List(); foreach (Func getter in getters) { - object value = getter(_instance); + object value = getter(Instance); values.Add(value); } return values.AsReadOnly(); @@ -186,7 +181,7 @@ namespace Mustache get { Func getter = _typeCache[key]; - return getter(_instance); + return getter(Instance); } [EditorBrowsable(EditorBrowsableState.Never)] set @@ -209,12 +204,11 @@ namespace Mustache bool ICollection>.Contains(KeyValuePair item) { - Func getter; - if (!_typeCache.TryGetValue(item.Key, out getter)) + if (!_typeCache.TryGetValue(item.Key, out Func getter)) { return false; } - object value = getter(_instance); + object value = getter(Instance); return Equals(item.Value, value); } @@ -225,7 +219,7 @@ namespace Mustache foreach (KeyValuePair> pair in collection) { Func getter = pair.Value; - object value = getter(_instance); + object value = getter(Instance); pairs.Add(new KeyValuePair(pair.Key, value)); } pairs.CopyTo(array, arrayIndex); @@ -262,7 +256,7 @@ namespace Mustache foreach (KeyValuePair> pair in _typeCache) { Func getter = pair.Value; - object value = getter(_instance); + object value = getter(Instance); yield return new KeyValuePair(pair.Key, value); } } diff --git a/mustache-sharp/RegexHelper.cs b/MustacheSharp/RegexHelper.cs similarity index 96% rename from mustache-sharp/RegexHelper.cs rename to MustacheSharp/RegexHelper.cs index c3bbc1a..9c2a447 100644 --- a/mustache-sharp/RegexHelper.cs +++ b/MustacheSharp/RegexHelper.cs @@ -1,5 +1,4 @@ -using System; -using System.Text.RegularExpressions; +using System.Text.RegularExpressions; namespace Mustache { diff --git a/mustache-sharp/Scope.cs b/MustacheSharp/Scope.cs similarity index 97% rename from mustache-sharp/Scope.cs rename to MustacheSharp/Scope.cs index 5310bd6..6451558 100644 --- a/mustache-sharp/Scope.cs +++ b/MustacheSharp/Scope.cs @@ -1,7 +1,6 @@ using System; using System.Collections.Generic; using System.Globalization; -using System.Linq; using Mustache.Properties; namespace Mustache @@ -86,8 +85,7 @@ namespace Mustache { return onKeyFound(name, results.Value, isExtension); } - object value; - if (onKeyNotFound(name, results.Member, isExtension, out value)) + if (onKeyNotFound(name, results.Member, isExtension, out object value)) { return value; } @@ -199,8 +197,7 @@ namespace Mustache { results.Lookup = toLookup(results.Value); results.MemberIndex = index; - object value; - results.Found = results.Lookup.TryGetValue(results.Member, out value); + results.Found = results.Lookup.TryGetValue(results.Member, out object value); results.Value = value; } return results; @@ -209,8 +206,7 @@ namespace Mustache private void tryFindFirst(SearchResults results) { results.Lookup = toLookup(_source); - object value; - if (results.Lookup.TryGetValue(results.Member, out value)) + if (results.Lookup.TryGetValue(results.Member, out object value)) { results.Found = true; results.Value = value; diff --git a/mustache-sharp/SetTagDefinition.cs b/MustacheSharp/SetTagDefinition.cs similarity index 96% rename from mustache-sharp/SetTagDefinition.cs rename to MustacheSharp/SetTagDefinition.cs index 7ee73bb..b61f53e 100644 --- a/mustache-sharp/SetTagDefinition.cs +++ b/MustacheSharp/SetTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; namespace Mustache diff --git a/mustache-sharp/StaticGenerator.cs b/MustacheSharp/StaticGenerator.cs similarity index 76% rename from mustache-sharp/StaticGenerator.cs rename to MustacheSharp/StaticGenerator.cs index 5afc28a..3f240d7 100644 --- a/mustache-sharp/StaticGenerator.cs +++ b/MustacheSharp/StaticGenerator.cs @@ -8,8 +8,6 @@ namespace Mustache /// internal sealed class StaticGenerator : IGenerator { - private readonly string value; - /// /// Initializes a new instance of a StaticGenerator. /// @@ -17,21 +15,18 @@ namespace Mustache { if (removeNewLines) { - this.value = value.Replace(Environment.NewLine, String.Empty); + Value = value.Replace(Environment.NewLine, String.Empty); } else { - this.value = value; + Value = value; } } /// /// Gets or sets the static text. /// - public string Value - { - get { return value; } - } + public string Value { get; } void IGenerator.GetText(TextWriter writer, Scope scope, Scope context, Action postProcessor) { diff --git a/mustache-sharp/StringArgument.cs b/MustacheSharp/StringArgument.cs similarity index 91% rename from mustache-sharp/StringArgument.cs rename to MustacheSharp/StringArgument.cs index 36aeec6..d943029 100644 --- a/mustache-sharp/StringArgument.cs +++ b/MustacheSharp/StringArgument.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { public class StringArgument : IArgument { diff --git a/mustache-sharp/Substitution.cs b/MustacheSharp/Substitution.cs similarity index 83% rename from mustache-sharp/Substitution.cs rename to MustacheSharp/Substitution.cs index ffcd9e2..1c0f351 100644 --- a/mustache-sharp/Substitution.cs +++ b/MustacheSharp/Substitution.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { internal class Substitution { diff --git a/mustache-sharp/TagDefinition.cs b/MustacheSharp/TagDefinition.cs similarity index 97% rename from mustache-sharp/TagDefinition.cs rename to MustacheSharp/TagDefinition.cs index 429b131..37c8125 100644 --- a/mustache-sharp/TagDefinition.cs +++ b/MustacheSharp/TagDefinition.cs @@ -1,7 +1,7 @@ using System; using System.Collections.Generic; -using Mustache.Properties; using System.IO; +using Mustache.Properties; namespace Mustache { @@ -10,8 +10,6 @@ namespace Mustache /// public abstract class TagDefinition { - private readonly string _tagName; - /// /// Initializes a new instance of a TagDefinition. /// @@ -33,16 +31,13 @@ namespace Mustache { throw new ArgumentException(Resources.BlankTagName, "tagName"); } - _tagName = tagName; + Name = tagName; } /// /// Gets the name of the tag. /// - public string Name - { - get { return _tagName; } - } + public string Name { get; private set; } internal bool IsSetter { diff --git a/mustache-sharp/TagFormattedEventArgs.cs b/MustacheSharp/TagFormattedEventArgs.cs similarity index 91% rename from mustache-sharp/TagFormattedEventArgs.cs rename to MustacheSharp/TagFormattedEventArgs.cs index c9263ea..d663263 100644 --- a/mustache-sharp/TagFormattedEventArgs.cs +++ b/MustacheSharp/TagFormattedEventArgs.cs @@ -23,12 +23,12 @@ namespace Mustache /// /// Gets the fully-qualified key. /// - public string Key { get; private set; } + public string Key { get; } /// /// Gets or sets whether the key appeared within triple curly braces. /// - public bool IsExtension { get; private set; } + public bool IsExtension { get; } /// /// Gets or sets the object to use as the substitute. diff --git a/mustache-sharp/TagParameter.cs b/MustacheSharp/TagParameter.cs similarity index 77% rename from mustache-sharp/TagParameter.cs rename to MustacheSharp/TagParameter.cs index 07235c0..adb7201 100644 --- a/mustache-sharp/TagParameter.cs +++ b/MustacheSharp/TagParameter.cs @@ -8,8 +8,6 @@ namespace Mustache /// public sealed class TagParameter { - private readonly string _name; - /// /// Initializes a new instance of a TagParameter. /// @@ -21,34 +19,23 @@ namespace Mustache { throw new ArgumentException(Resources.BlankParameterName, "parameterName"); } - _name = parameterName; + Name = parameterName; } /// /// Gets the name of the parameter. /// - public string Name - { - get { return _name; } - } + public string Name { get; } /// /// Gets or sets whether the field is required. /// - public bool IsRequired - { - get; - set; - } + public bool IsRequired { get; set; } /// /// Gets or sets the default value to use when an argument is not provided /// for the parameter. /// - public object DefaultValue - { - get; - set; - } + public object DefaultValue { get; set; } } } diff --git a/mustache-sharp/UpcastDictionary.cs b/MustacheSharp/UpcastDictionary.cs similarity index 96% rename from mustache-sharp/UpcastDictionary.cs rename to MustacheSharp/UpcastDictionary.cs index e32ba21..e33b6cb 100644 --- a/mustache-sharp/UpcastDictionary.cs +++ b/MustacheSharp/UpcastDictionary.cs @@ -14,8 +14,7 @@ namespace Mustache { return null; } - IDictionary sourceDictionary = source as IDictionary; - if (sourceDictionary != null) + if (source is IDictionary sourceDictionary) { return sourceDictionary; } @@ -123,8 +122,7 @@ namespace Mustache public bool TryGetValue(string key, out object value) { - TValue result; - if (dictionary.TryGetValue(key, out result)) + if (dictionary.TryGetValue(key, out TValue result)) { value = result; return true; diff --git a/mustache-sharp/ValueRequestEventArgs.cs b/MustacheSharp/ValueRequestEventArgs.cs similarity index 100% rename from mustache-sharp/ValueRequestEventArgs.cs rename to MustacheSharp/ValueRequestEventArgs.cs diff --git a/mustache-sharp/VariableArgument.cs b/MustacheSharp/VariableArgument.cs similarity index 91% rename from mustache-sharp/VariableArgument.cs rename to MustacheSharp/VariableArgument.cs index bac6125..fda38c2 100644 --- a/mustache-sharp/VariableArgument.cs +++ b/MustacheSharp/VariableArgument.cs @@ -1,6 +1,4 @@ -using System; - -namespace Mustache +namespace Mustache { public class VariableArgument : IArgument { diff --git a/mustache-sharp/VariableFoundEventArgs.cs b/MustacheSharp/VariableFoundEventArgs.cs similarity index 95% rename from mustache-sharp/VariableFoundEventArgs.cs rename to MustacheSharp/VariableFoundEventArgs.cs index 08efe20..40f7ed6 100644 --- a/mustache-sharp/VariableFoundEventArgs.cs +++ b/MustacheSharp/VariableFoundEventArgs.cs @@ -1,5 +1,4 @@ using System; -using Mustache.Properties; namespace Mustache { @@ -48,6 +47,6 @@ namespace Mustache /// /// Gets the context where the placeholder was found. /// - public Context[] Context { get; private set; } + public Context[] Context { get; } } } diff --git a/mustache-sharp/WithTagDefinition.cs b/MustacheSharp/WithTagDefinition.cs similarity index 97% rename from mustache-sharp/WithTagDefinition.cs rename to MustacheSharp/WithTagDefinition.cs index 7ef40b5..caee5c5 100644 --- a/mustache-sharp/WithTagDefinition.cs +++ b/MustacheSharp/WithTagDefinition.cs @@ -1,5 +1,4 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.IO; namespace Mustache diff --git a/mustache-sharp.sln b/mustache-sharp.sln deleted file mode 100644 index 9a026f2..0000000 --- a/mustache-sharp.sln +++ /dev/null @@ -1,29 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mustache-sharp", "mustache-sharp\mustache-sharp.csproj", "{D71B378F-A4BA-4263-A4F0-07A49A0C528D}" -EndProject -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "mustache-sharp.test", "mustache-sharp.test\mustache-sharp.test.csproj", "{7F607362-0680-4751-B1DC-621219294AE3}" -EndProject -Global - GlobalSection(TestCaseManagementSettings) = postSolution - CategoryFile = mustache-sharp.vsmdi - EndGlobalSection - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {D71B378F-A4BA-4263-A4F0-07A49A0C528D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {D71B378F-A4BA-4263-A4F0-07A49A0C528D}.Debug|Any CPU.Build.0 = Debug|Any CPU - {D71B378F-A4BA-4263-A4F0-07A49A0C528D}.Release|Any CPU.ActiveCfg = Release|Any CPU - {D71B378F-A4BA-4263-A4F0-07A49A0C528D}.Release|Any CPU.Build.0 = Release|Any CPU - {7F607362-0680-4751-B1DC-621219294AE3}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {7F607362-0680-4751-B1DC-621219294AE3}.Debug|Any CPU.Build.0 = Debug|Any CPU - {7F607362-0680-4751-B1DC-621219294AE3}.Release|Any CPU.ActiveCfg = Release|Any CPU - {7F607362-0680-4751-B1DC-621219294AE3}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/mustache-sharp.test/Properties/AssemblyInfo.cs b/mustache-sharp.test/Properties/AssemblyInfo.cs deleted file mode 100644 index 3bbd9f9..0000000 --- a/mustache-sharp.test/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,15 +0,0 @@ -using System.Reflection; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("mustache-sharp.test")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("Truncon")] -[assembly: AssemblyProduct("mustache-sharp.test")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: ComVisible(false)] -[assembly: Guid("9975f293-f972-4751-9c8c-e25b17c0c8bc")] -[assembly: AssemblyVersion("0.0.0.0")] -[assembly: AssemblyFileVersion("0.0.0.0")] diff --git a/mustache-sharp.test/mustache-sharp.test.csproj b/mustache-sharp.test/mustache-sharp.test.csproj deleted file mode 100644 index 4fed361..0000000 --- a/mustache-sharp.test/mustache-sharp.test.csproj +++ /dev/null @@ -1,75 +0,0 @@ - - - - Debug - AnyCPU - - - 2.0 - {7F607362-0680-4751-B1DC-621219294AE3} - Library - Properties - Mustache.Test - mustache-sharp.test - v4.0 - 512 - {3AC096D0-A1C2-E12C-1390-A8335801FDAB};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - true - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - - - mustache-sharp.test.snk - - - - - - - - - False - - - - - - - - - - - {d71b378f-a4ba-4263-a4f0-07a49a0c528d} - mustache-sharp - - - - - - - - \ No newline at end of file diff --git a/mustache-sharp.test/mustache-sharp.test.snk b/mustache-sharp.test/mustache-sharp.test.snk deleted file mode 100644 index eefec32..0000000 Binary files a/mustache-sharp.test/mustache-sharp.test.snk and /dev/null differ diff --git a/mustache-sharp/Properties/AssemblyInfo.cs b/mustache-sharp/Properties/AssemblyInfo.cs deleted file mode 100644 index bc6cf78..0000000 --- a/mustache-sharp/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,19 +0,0 @@ -using System; -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -[assembly: AssemblyTitle("mustache-sharp")] -[assembly: AssemblyDescription("A extension of the mustache text template engine for .NET.")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("truncon")] -[assembly: AssemblyProduct("mustache-sharp")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] -[assembly: AssemblyCulture("")] -[assembly: CLSCompliant(true)] -[assembly: ComVisible(false)] -[assembly: Guid("e5a4263d-d450-4d85-a4d5-44c0a2822668")] -[assembly: AssemblyVersion("0.2.10.0")] -[assembly: AssemblyFileVersion("0.2.10.0")] -[assembly: InternalsVisibleTo("mustache-sharp.test,PublicKey=0024000004800000940000000602000000240000525341310004000001000100755df5a2b24c568812aae0eb194d08a4e3cba960673bcc07a7d446acf52f3f56ae2155b37b8d547bc5d8c562823bd592d1312bef9ad4740a8bb503d0095c31419f9d190882a2fa46090412bf15b13ca0057ba533c85a853333132ec8b70cf19655ef961b06d1c3fc35b3f68680420562be741456cb7a18bd5ab0fa779f8d47b1")] \ No newline at end of file diff --git a/mustache-sharp/mustache-sharp.csproj b/mustache-sharp/mustache-sharp.csproj deleted file mode 100644 index a4fad22..0000000 --- a/mustache-sharp/mustache-sharp.csproj +++ /dev/null @@ -1,109 +0,0 @@ - - - - Debug - AnyCPU - 8.0.30703 - 2.0 - {D71B378F-A4BA-4263-A4F0-07A49A0C528D} - Library - Properties - Mustache - mustache-sharp - v4.0 - 512 - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - - - true - - - mustache-sharp.snk - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - True - True - Resources.resx - - - - - - - - - - - - - ResXFileCodeGenerator - Resources.Designer.cs - - - - - - - - \ No newline at end of file diff --git a/mustache-sharp/mustache-sharp.nuspec b/mustache-sharp/mustache-sharp.nuspec deleted file mode 100644 index ed5c838..0000000 --- a/mustache-sharp/mustache-sharp.nuspec +++ /dev/null @@ -1,17 +0,0 @@ - - - - $id$ - $version$ - $title$ - $author$ - $author$ - http://github.com/jehugaleahsa/mustache-sharp - false - $description$ - Copyright 2013 - - mustache handlebars.js text generation building template - - - \ No newline at end of file diff --git a/mustache-sharp/mustache-sharp.snk b/mustache-sharp/mustache-sharp.snk deleted file mode 100644 index a2d7a1a..0000000 Binary files a/mustache-sharp/mustache-sharp.snk and /dev/null differ