コード例 #1
0
 public MntpController(MntpConverterCollection converterCollection)
 {
     _converterCollection = converterCollection;
 }
コード例 #2
0
 public MntpValueConverter(IPublishedSnapshotAccessor publishedSnapshotAccessor, IUmbracoContextAccessor umbracoContextAccessor, IMemberService memberService, MntpConverterCollection converterCollection) : base(publishedSnapshotAccessor, umbracoContextAccessor, memberService)
 {
     _publishedSnapshotAccessor = publishedSnapshotAccessor ?? throw new ArgumentNullException(nameof(publishedSnapshotAccessor));
     _memberService             = memberService;
     _converterCollection       = converterCollection;
 }