File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -307,7 +307,7 @@ public async Task Map_AttributeDictionary_ReturnsNewModel() {
307307 topic . Attributes . SetValue ( "UnmappedProperty" , "Unmapped Value" ) ;
308308 topic . VersionHistory . Add ( lastModified ) ;
309309
310- var target = await _mappingService . MapAsync < AttributeDictionaryConstructorTopicViewModel > ( topic ) . ConfigureAwait ( false ) ;
310+ var target = await _mappingService . MapAsync < AttributeValueDictionaryConstructorTopicViewModel > ( topic ) . ConfigureAwait ( false ) ;
311311
312312 Assert . Equal ( "Value" , target ? . Title ) ;
313313 Assert . Equal ( "Short Title" , target ? . ShortTitle ) ;
Original file line number Diff line number Diff line change @@ -17,25 +17,25 @@ namespace OnTopic.Tests.ViewModels {
1717 /// <remarks>
1818 /// This is a sample class intended for test purposes only; it is not designed for use in a production environment.
1919 /// </remarks>
20- public record AttributeDictionaryConstructorTopicViewModel : PageTopicViewModel {
20+ public record AttributeValueDictionaryConstructorTopicViewModel : PageTopicViewModel {
2121
2222 /*==========================================================================================================================
2323 | CONSTRUCTOR
2424 \-------------------------------------------------------------------------------------------------------------------------*/
2525 /// <summary>
26- /// Initializes a new <see cref="AttributeDictionaryConstructorTopicViewModel "/> with an <paramref name="attributes"/>
27- /// dictionary.
26+ /// Initializes a new <see cref="AttributeValueDictionaryConstructorTopicViewModel "/> with an <paramref name="attributes"
27+ /// /> dictionary.
2828 /// </summary>
29- /// <param name="attributes">An <see cref="AttributeDictionaryConstructorTopicViewModel "/> of attribute values.</param>
30- public AttributeDictionaryConstructorTopicViewModel ( AttributeValueDictionary attributes ) : base ( attributes ) {
29+ /// <param name="attributes">An <see cref="AttributeValueDictionaryConstructorTopicViewModel "/> of attribute values.</param>
30+ public AttributeValueDictionaryConstructorTopicViewModel ( AttributeValueDictionary attributes ) : base ( attributes ) {
3131 Contract . Requires ( attributes , nameof ( attributes ) ) ;
3232 MappedProperty = attributes . GetValue ( nameof ( MappedProperty ) ) ;
3333 }
3434
3535 /// <summary>
36- /// Initializes a new <see cref="AttributeDictionaryConstructorTopicViewModel "/> with no parameters.
36+ /// Initializes a new <see cref="AttributeValueDictionaryConstructorTopicViewModel "/> with no parameters.
3737 /// </summary>
38- public AttributeDictionaryConstructorTopicViewModel ( ) { }
38+ public AttributeValueDictionaryConstructorTopicViewModel ( ) { }
3939
4040 /*==========================================================================================================================
4141 | PROPERTIES
You can’t perform that action at this time.
0 commit comments