public CssModule(ILiveEditingContext context) { if (context == null) throw new ArgumentNullException("context"); if (!context.Enabled) throw new ApplicationException("Live Editing is not enabled."); m_Context = context; }
/// <summary> /// Initializes a new instance of the <see cref="LiveEditingManager"/> class. /// </summary> /// <param name="context">The context.</param> public LiveEditingManager(ILiveEditingContext context) { if (context == null) { throw new ArgumentNullException("context"); } if (!context.Enabled) { throw new ApplicationException("Live Editing is not enabled."); } m_Context = context; }