@@ -49,6 +49,58 @@ public IDictionary<string, VinylLinkModel> Links {
4949
5050 return _links ;
5151 }
52- }
52+ }
53+
54+ private Dictionary < string , VinylLinkModel > _moreLinks ;
55+ public Dictionary < string , VinylLinkModel > MoreLinks
56+ {
57+ get
58+ {
59+ if ( _moreLinks is null )
60+ {
61+ _moreLinks = new Dictionary < string , VinylLinkModel > ( )
62+ {
63+ { "buyingLink" , new VinylLinkModel { Href = $ "http://test/buy/{ VinylRecordId } " } } ,
64+ { "reviewLink" , new VinylLinkModel { Href = $ "http://test/review/{ VinylRecordId } " } }
65+ } ;
66+ }
67+
68+ return _moreLinks ;
69+ }
70+ }
71+
72+ private SortedDictionary < string , VinylLinkModel > _extraLinks ;
73+ public SortedDictionary < string , VinylLinkModel > ExtraLinks
74+ {
75+ get
76+ {
77+ if ( _extraLinks is null )
78+ {
79+ _extraLinks = new SortedDictionary < string , VinylLinkModel > ( )
80+ {
81+ { "buyingLink" , new VinylLinkModel { Href = $ "http://test/buy/{ VinylRecordId } " } } ,
82+ { "reviewLink" , new VinylLinkModel { Href = $ "http://test/review/{ VinylRecordId } " } }
83+ } ;
84+ }
85+
86+ return _extraLinks ;
87+ }
88+ }
89+
90+ private System . Collections . Concurrent . ConcurrentDictionary < string , VinylLinkModel > _additionalLinks ;
91+ public System . Collections . Concurrent . ConcurrentDictionary < string , VinylLinkModel > AdditionalLinks
92+ {
93+ get
94+ {
95+ if ( _additionalLinks is null )
96+ {
97+ _additionalLinks = new System . Collections . Concurrent . ConcurrentDictionary < string , VinylLinkModel > ( ) ;
98+ _additionalLinks . TryAdd ( "buyingLink" , new VinylLinkModel { Href = $ "http://test/buy/{ VinylRecordId } " } ) ;
99+ _additionalLinks . TryAdd ( "reviewLink" , new VinylLinkModel { Href = $ "http://test/review/{ VinylRecordId } " } ) ;
100+ }
101+
102+ return _additionalLinks ;
103+ }
104+ }
53105 }
54106}
0 commit comments