File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
src/ExtendedXmlSerializer/ExtensionModel/Xml
test/ExtendedXmlSerializer.Tests.ReportedIssues Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1919
2020namespace ExtendedXmlSerializer . ExtensionModel . Xml
2121{
22- sealed class MigrationsExtension : TypedTable < IEnumerable < Action < XElement > > > , ISerializerExtension
22+ /// <summary>
23+ /// This extension is meant for internal use, but has been exposed for extension authors who require access to it.
24+ /// </summary>
25+ /// <seealso href="https://github.com/ExtendedXmlSerializer/home/issues/483" />
26+ public sealed class MigrationsExtension : TypedTable < IEnumerable < Action < XElement > > > , ISerializerExtension
2327 {
28+ /// <inheritdoc />
2429 [ UsedImplicitly ]
2530 public MigrationsExtension ( ) : this ( new Dictionary < TypeInfo , IEnumerable < Action < XElement > > > ( ) ) { }
2631
32+ /// <inheritdoc />
2733 public MigrationsExtension ( IDictionary < TypeInfo , IEnumerable < Action < XElement > > > store ) : base ( store ) { }
2834
35+ /// <inheritdoc />
2936 public IServiceRepository Get ( IServiceRepository parameter ) => parameter . Decorate < IContents > ( Register ) ;
3037
3138 IContents Register ( IServiceProvider services , IContents contents )
Original file line number Diff line number Diff line change 1+ using ExtendedXmlSerializer . Configuration ;
2+ using ExtendedXmlSerializer . ExtensionModel . Xml ;
3+ using FluentAssertions ;
4+ using Xunit ;
5+
6+ namespace ExtendedXmlSerializer . Tests . ReportedIssues
7+ {
8+ public sealed class Issue483Tests
9+ {
10+ [ Fact ]
11+ public void Verify ( )
12+ {
13+ new ConfigurationContainer ( ) . Type < Issue483Tests > ( ) . Root . With < MigrationsExtension > ( ) . Should ( ) . NotBeNull ( ) ;
14+
15+ }
16+
17+
18+ }
19+ }
You can’t perform that action at this time.
0 commit comments