コード例 #1
0
        public RazorGuestInitializationService([Import(typeof(LiveShareSessionAccessor))] DefaultLiveShareSessionAccessor sessionAccessor)
        {
            if (sessionAccessor == null)
            {
                throw new ArgumentNullException(nameof(sessionAccessor));
            }

            _sessionAccessor = sessionAccessor;
        }
 public RazorGuestInitializationServiceTest()
 {
     LiveShareSessionAccessor = new DefaultLiveShareSessionAccessor();
 }