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 220
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
Razor.Language API polish #1510
Copy link
Copy link
Closed
Description
General
- Make
DocumentClassifierPassBase.TargetExtensions
private. - @NTaylorMullen -
IRazorEngineBuilder.DesignTime
should be getter only. - @NTaylorMullen -
- @NTaylorMullen - Unimportant/too cross-cutting for repos.RazorCSharpDocument.GeneratedCode
should be renamed toCode
. - Rename
RazorEngineFeatureBase.ThrowForMissingEngineDependency
toThrowForMissingFeatureDependency
- @NTaylorMullen - Rename
RazorEnginePhaseBase.ThrowForMissingEngineDependency
toThrowForMissingFeatureDependency
- @NTaylorMullen - Find all instances of base / path and rename them to FilePath / BasePath - @ajaybhargavb
- Abstractify
ICodeTargetBuilder
. - @ajaybhargavb -
IntermediateNodeWalker
should be indexable - @ajaybhargavb - Do a pass on all
IntermediateNode
s and cross-check the verbosity of their properties. They should be consistent which may mean having more verbose properties. - @ajaybhargavb - Unnest
IntermediateToken.TokenKind
- @ajaybhargavb - Make
TagHelperIntermediateNode.TagHelpers
an IList - @ajaybhargavb
HtmlConventions.InvalidNonWhitespaceHtmlCharacters - @ajaybhargavb
- Make internal.
- Make non-hashset.
LineMapping - @NTaylorMullen
- Rename to
SourceMapping
. - Remove
==
and!=
operators.
RazorParserOptions - @NTaylorMullen
- Add
CreateDesignTime
method - Rename
ParseOnlyLeadingDirectives
=>ParseLeadingDirectives
RazorParserOptionsBuilder - @NTaylorMullen
-
DesignTime
should be getter only. - Rename
ParseOnlyLeadingDirectives
=>ParseLeadingDirectives
TagHelperBinding - @NTaylorMullen
- Attributes should be IReadOnlyList if it makes sense.
- GetBoundRules should return IReadOnlyList if it makes sense.
TagHelper descriptors in general - @NTaylorMullen
- See if
TagHelperDescriptor.AllowedChildTags
can be IReadOnlyList - See if
TagHelperDescriptor.BoundAttributes
can be IReadOnlyList - See if
TagHelperDescriptor.TagMatchingRules
can be IReadOnlyList - See if
TagMatchingRuleDescriptor.Attributes
can be IReadOnlyList - See if
TagMatchingRuleDescriptor.Attributes
can be IReadOnlyList