This repository was archived by the owner on Dec 19, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 223
Razor.Language API polish #1510
Comments
When working on one of these lets put our name next to the items or item header so we don't duplicate work. |
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Also removed the == and `!=` operators for `SourceMapping`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Also removed the == and `!=` operators for `SourceMapping`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Renamed `IRazorParserOptionsFeature` to `IConfigureRazorParserOptionsFeature`, the original interface was re-purposed to get the options rather than configure them. - This involved re-designing how we set design time on the `RazorParserOptions` object. The indicator of `DesignTime` is now configured at the RazorEngine level via a parser options provider feature. - Moved options construction from the phase into an `IRazorParserOptionsFeature` type. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Renamed `IRazorParserOptionsFeature` to `IConfigureRazorParserOptionsFeature`, the original interface was re-purposed to get the options rather than configure them. - This involved re-designing how we set design time on the `RazorParserOptions` object. The indicator of `DesignTime` is now configured at the RazorEngine level via a parser options provider feature. - Moved options construction from the phase into an `IRazorParserOptionsFeature` type. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Removed verbose `Create` methods in favor of the `RazorParserOptionsBuilder`. This is similar to how the `RazorEngine` functions. - Added a `CreateDesignTime` method. - Updated existing tests to use new Create syntax. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Was renamed to `ParseLeadingDirectives`. #1510
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Jul 6, 2017
NTaylorMullen
added a commit
to aspnet/Mvc
that referenced
this issue
Jul 6, 2017
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Renamed `IRazorParserOptionsFeature` to `IConfigureRazorParserOptionsFeature`, the original interface was re-purposed to get the options rather than configure them. - This involved re-designing how we set design time on the `RazorParserOptions` object. The indicator of `DesignTime` is now configured at the RazorEngine level via a parser options provider feature. - Moved options construction from the phase into an `IRazorParserOptionsFeature` type. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Removed verbose `Create` methods in favor of the `RazorParserOptionsBuilder`. This is similar to how the `RazorEngine` functions. - Added a `CreateDesignTime` method. - Updated existing tests to use new Create syntax. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Was renamed to `ParseLeadingDirectives`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Changed `Attributes` to return `IReadOnlyList<KeyValuePair<string, string>>`. - Changed `GetBoundRules` to return `IReadOnlyList<TagMatchingRuleDescriptor>`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Changed `Attributes` to return `IReadOnlyList<KeyValuePair<string, string>>`. - Changed `GetBoundRules` to return `IReadOnlyList<TagMatchingRuleDescriptor>`. - Updated tests to react to new signature. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Changed `Attributes` to return `IReadOnlyList<KeyValuePair<string, string>>`. - Changed `GetBoundRules` to return `IReadOnlyList<TagMatchingRuleDescriptor>`. - Updated tests to react to new signature. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Changed `Attributes` to return `IReadOnlyList<KeyValuePair<string, string>>`. - Changed `GetBoundRules` to return `IReadOnlyList<TagMatchingRuleDescriptor>`. - Updated tests to react to new signature. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Change `TagHelperDescriptor.AllowedChildTags` to be `IReadOnlyList`. - Change `TagHelperDescriptor.BoundAttributes` to be `IReadOnlyList`. - Change `TagHelperDescriptor.TagMatchingRules` to be `IReadOnlyList`. - Change `TagMatchingRuleDescriptor.Attributes` to be `IReadOnlyList`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Change `TagHelperDescriptor.AllowedChildTags` to be `IReadOnlyList`. - Change `TagHelperDescriptor.BoundAttributes` to be `IReadOnlyList`. - Change `TagHelperDescriptor.TagMatchingRules` to be `IReadOnlyList`. - Change `TagMatchingRuleDescriptor.Attributes` to be `IReadOnlyList`. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Rename `RazorCSharpDocument.GeneratedCode` to `Code`. - Rename `RazorEngineFeatureBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` - Rename `RazorEnginePhaseBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Change `DefaultRazorEngineBuilder.DesignTime` to be getter only - Make `DocumentClassifierPassBase.TargetExtensions` private. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Rename `RazorEngineFeatureBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` - Rename `RazorEnginePhaseBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Change `DefaultRazorEngineBuilder.DesignTime` to be getter only - Make `DocumentClassifierPassBase.TargetExtensions` private. #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Rename `RazorEngineFeatureBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` - Rename `RazorEnginePhaseBase.ThrowForMissingEngineDependency` to `ThrowForMissingFeatureDependency` #1510
NTaylorMullen
added a commit
that referenced
this issue
Jul 6, 2017
- Change `DefaultRazorEngineBuilder.DesignTime` to be getter only - Make `DocumentClassifierPassBase.TargetExtensions` private. #1510
This was referenced Jul 7, 2017
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
General
DocumentClassifierPassBase.TargetExtensions
private. - @NTaylorMullenIRazorEngineBuilder.DesignTime
should be getter only. - @NTaylorMullen- @NTaylorMullen - Unimportant/too cross-cutting for repos.RazorCSharpDocument.GeneratedCode
should be renamed toCode
.RazorEngineFeatureBase.ThrowForMissingEngineDependency
toThrowForMissingFeatureDependency
- @NTaylorMullenRazorEnginePhaseBase.ThrowForMissingEngineDependency
toThrowForMissingFeatureDependency
- @NTaylorMullenICodeTargetBuilder
. - @ajaybhargavbIntermediateNodeWalker
should be indexable - @ajaybhargavbIntermediateNode
s and cross-check the verbosity of their properties. They should be consistent which may mean having more verbose properties. - @ajaybhargavbIntermediateToken.TokenKind
- @ajaybhargavbTagHelperIntermediateNode.TagHelpers
an IList - @ajaybhargavbHtmlConventions.InvalidNonWhitespaceHtmlCharacters - @ajaybhargavb
LineMapping - @NTaylorMullen
SourceMapping
.==
and!=
operators.RazorParserOptions - @NTaylorMullen
CreateDesignTime
methodParseOnlyLeadingDirectives
=>ParseLeadingDirectives
RazorParserOptionsBuilder - @NTaylorMullen
DesignTime
should be getter only.ParseOnlyLeadingDirectives
=>ParseLeadingDirectives
TagHelperBinding - @NTaylorMullen
TagHelper descriptors in general - @NTaylorMullen
TagHelperDescriptor.AllowedChildTags
can be IReadOnlyListTagHelperDescriptor.BoundAttributes
can be IReadOnlyListTagHelperDescriptor.TagMatchingRules
can be IReadOnlyListTagMatchingRuleDescriptor.Attributes
can be IReadOnlyListTagMatchingRuleDescriptor.Attributes
can be IReadOnlyListThe text was updated successfully, but these errors were encountered: