Skip to content
This repository was archived by the owner on Dec 19, 2018. It is now read-only.
This repository was archived by the owner on Dec 19, 2018. It is now read-only.

Razor.Language API polish #1510

@NTaylorMullen

Description

@NTaylorMullen

General

  • Make DocumentClassifierPassBase.TargetExtensions private. - @NTaylorMullen
  • IRazorEngineBuilder.DesignTime should be getter only. - @NTaylorMullen
  • RazorCSharpDocument.GeneratedCode should be renamed to Code. - @NTaylorMullen - Unimportant/too cross-cutting for repos.
  • Rename RazorEngineFeatureBase.ThrowForMissingEngineDependency to ThrowForMissingFeatureDependency - @NTaylorMullen
  • Rename RazorEnginePhaseBase.ThrowForMissingEngineDependency to ThrowForMissingFeatureDependency - @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 IntermediateNodes 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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions