Rename `Microsoft.AspNet.Razor.TagHelpers`.

- Name changed to `Microsoft.AspNet.Razor.Compilation.TagHelpers`.
- Changed folder locations to reflect namespace change.

#578
This commit is contained in:
N. Taylor Mullen 2015-10-19 16:25:15 -07:00
parent ce39864623
commit bd2a98e5ec
58 changed files with 64 additions and 64 deletions

View File

@ -17,13 +17,13 @@ namespace Microsoft.AspNet.Razor.Runtime.Precompilation
private readonly object _assemblyLookupLock = new object(); private readonly object _assemblyLookupLock = new object();
private readonly Dictionary<string, IEnumerable<ITypeInfo>> _assemblyLookup private readonly Dictionary<string, IEnumerable<ITypeInfo>> _assemblyLookup
= new Dictionary<string, IEnumerable<ITypeInfo>>(StringComparer.Ordinal); = new Dictionary<string, IEnumerable<ITypeInfo>>(StringComparer.Ordinal);
private readonly Compilation _compilation; private readonly CodeAnalysis.Compilation _compilation;
/// <summary> /// <summary>
/// Initializes a new instance of <see cref="PrecompilationTagHelperTypeResolver"/>. /// Initializes a new instance of <see cref="PrecompilationTagHelperTypeResolver"/>.
/// </summary> /// </summary>
/// <param name="compilation">The <see cref="Compilation"/>.</param> /// <param name="compilation">The <see cref="CodeAnalysis.Compilation"/>.</param>
public PrecompilationTagHelperTypeResolver(Compilation compilation) public PrecompilationTagHelperTypeResolver(CodeAnalysis.Compilation compilation)
{ {
if (compilation == null) if (compilation == null)
{ {

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Runtime.TagHelpers namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
{ {

View File

@ -29,7 +29,7 @@ namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
/// <remarks> /// <remarks>
/// Indexers in this context refer to the CLR notion of an indexer (<c>this [string name]</c> /// Indexers in this context refer to the CLR notion of an indexer (<c>this [string name]</c>
/// and does not overlap with the semantics of /// and does not overlap with the semantics of
/// <see cref="Razor.TagHelpers.TagHelperAttributeDescriptor.IsIndexer"/>. /// <see cref="Razor.Compilation.TagHelperAttributeDescriptor.IsIndexer"/>.
/// </remarks> /// </remarks>
IEnumerable<IPropertyInfo> Properties { get; } IEnumerable<IPropertyInfo> Properties { get; }

View File

@ -7,7 +7,7 @@ using System.ComponentModel;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Runtime.TagHelpers namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
{ {

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using System.Text.RegularExpressions; using System.Text.RegularExpressions;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Runtime.TagHelpers namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
{ {

View File

@ -8,7 +8,7 @@ using System.Globalization;
using System.IO; using System.IO;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Runtime.TagHelpers namespace Microsoft.AspNet.Razor.Runtime.TagHelpers
{ {

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
using Xunit; using Xunit;

View File

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
using Xunit; using Xunit;

View File

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
using Xunit; using Xunit;

View File

@ -3,7 +3,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
using Xunit; using Xunit;

View File

@ -4,12 +4,12 @@
namespace Microsoft.AspNet.Razor.Chunks namespace Microsoft.AspNet.Razor.Chunks
{ {
/// <summary> /// <summary>
/// A <see cref="Chunk"/> used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s. /// A <see cref="Chunk"/> used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s.
/// </summary> /// </summary>
public class AddTagHelperChunk : Chunk public class AddTagHelperChunk : Chunk
{ {
/// <summary> /// <summary>
/// Text used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s. /// Text used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s.
/// </summary> /// </summary>
public string LookupText { get; set; } public string LookupText { get; set; }
} }

View File

@ -15,7 +15,7 @@ namespace Microsoft.AspNet.Razor.Chunks.Generators
/// Instantiates a new <see cref="AddOrRemoveTagHelperChunkGenerator"/>. /// Instantiates a new <see cref="AddOrRemoveTagHelperChunkGenerator"/>.
/// </summary> /// </summary>
/// <param name="lookupText"> /// <param name="lookupText">
/// Text used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s that should be added or removed. /// Text used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s that should be added or removed.
/// </param> /// </param>
public AddOrRemoveTagHelperChunkGenerator(bool removeTagHelperDescriptors, string lookupText) public AddOrRemoveTagHelperChunkGenerator(bool removeTagHelperDescriptors, string lookupText)
{ {
@ -24,13 +24,13 @@ namespace Microsoft.AspNet.Razor.Chunks.Generators
} }
/// <summary> /// <summary>
/// Gets the text used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s that should be added to or /// Gets the text used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s that should be added to or
/// removed from the Razor page. /// removed from the Razor page.
/// </summary> /// </summary>
public string LookupText { get; } public string LookupText { get; }
/// <summary> /// <summary>
/// Whether we want to remove <see cref="TagHelpers.TagHelperDescriptor"/>s from the Razor page. /// Whether we want to remove <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s from the Razor page.
/// </summary> /// </summary>
/// <remarks>If <c>true</c> <see cref="GenerateChunk"/> generates <see cref="AddTagHelperChunk"/>s, /// <remarks>If <c>true</c> <see cref="GenerateChunk"/> generates <see cref="AddTagHelperChunk"/>s,
/// <see cref="RemoveTagHelperChunk"/>s otherwise.</remarks> /// <see cref="RemoveTagHelperChunk"/>s otherwise.</remarks>

View File

@ -6,7 +6,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Parser.TagHelpers; using Microsoft.AspNet.Razor.Parser.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Chunks.Generators namespace Microsoft.AspNet.Razor.Chunks.Generators
{ {

View File

@ -4,13 +4,13 @@
namespace Microsoft.AspNet.Razor.Chunks namespace Microsoft.AspNet.Razor.Chunks
{ {
/// <summary> /// <summary>
/// A <see cref="Chunk"/> used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s that should be ignored /// A <see cref="Chunk"/> used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s that should be ignored
/// within the Razor page. /// within the Razor page.
/// </summary> /// </summary>
public class RemoveTagHelperChunk : Chunk public class RemoveTagHelperChunk : Chunk
{ {
/// <summary> /// <summary>
/// Text used to look up <see cref="TagHelpers.TagHelperDescriptor"/>s that should be ignored within the Razor /// Text used to look up <see cref="Compilation.TagHelpers.TagHelperDescriptor"/>s that should be ignored within the Razor
/// page. /// page.
/// </summary> /// </summary>
public string LookupText { get; set; } public string LookupText { get; set; }

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Chunks namespace Microsoft.AspNet.Razor.Chunks
{ {

View File

@ -9,7 +9,7 @@ using System.Linq;
using Microsoft.AspNet.Razor.Chunks; using Microsoft.AspNet.Razor.Chunks;
using Microsoft.AspNet.Razor.CodeGenerators.Visitors; using Microsoft.AspNet.Razor.CodeGenerators.Visitors;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.CodeGenerators namespace Microsoft.AspNet.Razor.CodeGenerators
{ {

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.Chunks; using Microsoft.AspNet.Razor.Chunks;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.CodeGenerators namespace Microsoft.AspNet.Razor.CodeGenerators
{ {

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System; using System;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.CodeGenerators namespace Microsoft.AspNet.Razor.CodeGenerators
{ {

View File

@ -3,7 +3,7 @@
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// Contract used to resolve <see cref="TagHelperDescriptor"/>s. /// Contract used to resolve <see cref="TagHelperDescriptor"/>s.

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Reflection; using System.Reflection;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// A metadata class describing a tag helper attribute. /// A metadata class describing a tag helper attribute.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// A metadata class containing information about tag helper use. /// A metadata class containing information about tag helper use.

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// A metadata class describing a tag helper. /// A metadata class describing a tag helper.

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// An <see cref="IEqualityComparer{TagHelperDescriptor}"/> used to check equality between /// An <see cref="IEqualityComparer{TagHelperDescriptor}"/> used to check equality between

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// Enables retrieval of <see cref="TagHelperDescriptor"/>'s. /// Enables retrieval of <see cref="TagHelperDescriptor"/>'s.

View File

@ -4,7 +4,7 @@
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// Contains information needed to resolve <see cref="TagHelperDescriptor"/>s. /// Contains information needed to resolve <see cref="TagHelperDescriptor"/>s.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// A metadata class containing design time information about a tag helper. /// A metadata class containing design time information about a tag helper.

View File

@ -3,7 +3,7 @@
using System; using System;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// Contains information needed to resolve <see cref="TagHelperDescriptor"/>s. /// Contains information needed to resolve <see cref="TagHelperDescriptor"/>s.

View File

@ -1,7 +1,7 @@
// Copyright (c) .NET Foundation. All rights reserved. // Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// The type of tag helper directive. /// The type of tag helper directive.

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
/// <summary> /// <summary>
/// An <see cref="IEqualityComparer{TagHelperDescriptor}"/> that checks equality between two /// An <see cref="IEqualityComparer{TagHelperDescriptor}"/> that checks equality between two

View File

@ -9,7 +9,7 @@ using System.Globalization;
using System.Linq; using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Text;
using Microsoft.AspNet.Razor.Utils; using Microsoft.AspNet.Razor.Utils;

View File

@ -11,7 +11,7 @@ using System.Threading.Tasks;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Parser.TagHelpers; using Microsoft.AspNet.Razor.Parser.TagHelpers;
using Microsoft.AspNet.Razor.Parser.TagHelpers.Internal; using Microsoft.AspNet.Razor.Parser.TagHelpers.Internal;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Text;
namespace Microsoft.AspNet.Razor.Parser namespace Microsoft.AspNet.Razor.Parser

View File

@ -7,7 +7,7 @@ using System.Globalization;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.Extensions.Internal; using Microsoft.Extensions.Internal;
namespace Microsoft.AspNet.Razor.Parser.TagHelpers namespace Microsoft.AspNet.Razor.Parser.TagHelpers

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using Microsoft.AspNet.Razor.Chunks.Generators; using Microsoft.AspNet.Razor.Chunks.Generators;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Parser.TagHelpers namespace Microsoft.AspNet.Razor.Parser.TagHelpers
{ {

View File

@ -8,7 +8,7 @@ using System.Linq;
using Microsoft.AspNet.Razor.Chunks.Generators; using Microsoft.AspNet.Razor.Chunks.Generators;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Tokenizer.Symbols; using Microsoft.AspNet.Razor.Tokenizer.Symbols;
namespace Microsoft.AspNet.Razor.Parser.TagHelpers.Internal namespace Microsoft.AspNet.Razor.Parser.TagHelpers.Internal

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Razor.Chunks.Generators; using Microsoft.AspNet.Razor.Chunks.Generators;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Parser.TagHelpers namespace Microsoft.AspNet.Razor.Parser.TagHelpers
{ {

View File

@ -7,7 +7,7 @@ using System.Diagnostics;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Tokenizer.Symbols; using Microsoft.AspNet.Razor.Tokenizer.Symbols;
namespace Microsoft.AspNet.Razor.Parser.TagHelpers.Internal namespace Microsoft.AspNet.Razor.Parser.TagHelpers.Internal

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor namespace Microsoft.AspNet.Razor
{ {

View File

@ -7,7 +7,7 @@ using System.Diagnostics.CodeAnalysis;
using Microsoft.AspNet.Razor.Chunks.Generators; using Microsoft.AspNet.Razor.Chunks.Generators;
using Microsoft.AspNet.Razor.CodeGenerators; using Microsoft.AspNet.Razor.CodeGenerators;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor namespace Microsoft.AspNet.Razor
{ {

View File

@ -21,7 +21,7 @@ namespace Microsoft.AspNet.Razor.Runtime.Precompilation
private static readonly Assembly ExecutingAssembly = typeof(CompilationUtility).GetTypeInfo().Assembly; private static readonly Assembly ExecutingAssembly = typeof(CompilationUtility).GetTypeInfo().Assembly;
public static readonly string GeneratedAssemblyName = Path.GetRandomFileName() + "." + Path.GetRandomFileName(); public static readonly string GeneratedAssemblyName = Path.GetRandomFileName() + "." + Path.GetRandomFileName();
public static Compilation GetCompilation(params string[] resourceFiles) public static CodeAnalysis.Compilation GetCompilation(params string[] resourceFiles)
{ {
var assemblyVersion = ExecutingAssembly.GetName().Version; var assemblyVersion = ExecutingAssembly.GetName().Version;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Xunit; using Xunit;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Xunit; using Xunit;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Xunit; using Xunit;

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Xunit; using Xunit;

View File

@ -5,7 +5,7 @@
using System; using System;
using System.IO; using System.IO;
using System.Reflection; using System.Reflection;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Microsoft.AspNet.Testing; using Microsoft.AspNet.Testing;
using Moq; using Moq;

View File

@ -5,7 +5,7 @@ using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks; using System.Threading.Tasks;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.Runtime.Test.TagHelpers namespace Microsoft.AspNet.Razor.Runtime.Test.TagHelpers

View File

@ -9,7 +9,7 @@ using System.Reflection;
#endif #endif
using Microsoft.AspNet.Razor.CodeGenerators; using Microsoft.AspNet.Razor.CodeGenerators;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.Test.Generator namespace Microsoft.AspNet.Razor.Test.Generator

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Razor.CodeGenerators.Visitors;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Parser.TagHelpers; using Microsoft.AspNet.Razor.Parser.TagHelpers;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.Test.Generator namespace Microsoft.AspNet.Razor.Test.Generator

View File

@ -2,7 +2,7 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.Chunks.Generators namespace Microsoft.AspNet.Razor.Chunks.Generators

View File

@ -8,7 +8,7 @@ using System.Reflection;
using Microsoft.AspNet.Razor.CodeGenerators; using Microsoft.AspNet.Razor.CodeGenerators;
using Microsoft.AspNet.Razor.CodeGenerators.Visitors; using Microsoft.AspNet.Razor.CodeGenerators.Visitors;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.Test.Generator namespace Microsoft.AspNet.Razor.Test.Generator

View File

@ -7,7 +7,7 @@ using System.Linq;
using Microsoft.AspNet.Razor.CodeGenerators; using Microsoft.AspNet.Razor.CodeGenerators;
using Microsoft.AspNet.Razor.CodeGenerators.Visitors; using Microsoft.AspNet.Razor.CodeGenerators.Visitors;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
namespace Microsoft.AspNet.Razor.Test.Generator namespace Microsoft.AspNet.Razor.Test.Generator
{ {

View File

@ -6,7 +6,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Moq; using Moq;
using Xunit; using Xunit;

View File

@ -7,7 +7,7 @@ using System.IO;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Test.Framework;
#if !DNXCORE50 #if !DNXCORE50
using Moq; using Moq;

View File

@ -14,7 +14,7 @@ using Microsoft.AspNet.Razor.Test.TagHelpers;
using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Text;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
public class TagHelperBlockRewriterTest : TagHelperRewritingTestBase public class TagHelperBlockRewriterTest : TagHelperRewritingTestBase
{ {

View File

@ -7,7 +7,7 @@ using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.Test.Internal; using Microsoft.AspNet.Razor.Test.Internal;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
public class TagHelperDescriptorProviderTest public class TagHelperDescriptorProviderTest
{ {

View File

@ -8,7 +8,7 @@ using Microsoft.AspNet.Razor.Test.Internal;
using Newtonsoft.Json; using Newtonsoft.Json;
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
public class TagHelperDescriptorTest public class TagHelperDescriptorTest
{ {

View File

@ -14,7 +14,7 @@ using Moq;
#endif #endif
using Xunit; using Xunit;
namespace Microsoft.AspNet.Razor.TagHelpers namespace Microsoft.AspNet.Razor.Compilation.TagHelpers
{ {
public class TagHelperDirectiveSpanVisitorTest public class TagHelperDirectiveSpanVisitorTest
{ {

View File

@ -9,7 +9,7 @@ using Microsoft.AspNet.Razor.Chunks.Generators;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.Parser.SyntaxTree; using Microsoft.AspNet.Razor.Parser.SyntaxTree;
using Microsoft.AspNet.Razor.Runtime.TagHelpers; using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Test.Framework;
using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Text;
using Xunit; using Xunit;

View File

@ -5,7 +5,7 @@ using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.AspNet.Razor.Parser; using Microsoft.AspNet.Razor.Parser;
using Microsoft.AspNet.Razor.Parser.TagHelpers.Internal; using Microsoft.AspNet.Razor.Parser.TagHelpers.Internal;
using Microsoft.AspNet.Razor.TagHelpers; using Microsoft.AspNet.Razor.Compilation.TagHelpers;
using Microsoft.AspNet.Razor.Test.Framework; using Microsoft.AspNet.Razor.Test.Framework;
using Microsoft.AspNet.Razor.Text; using Microsoft.AspNet.Razor.Text;
using Microsoft.AspNet.Razor.Tokenizer; using Microsoft.AspNet.Razor.Tokenizer;