/// <summary> /// Creates a new <see cref="ModelContextProvider"/> and automatically assigns the instance /// as the current <see cref="ModelContext.Provider"/> implementation. /// </summary> public ModelContextProvider() { ModelContext.Provider = this; // Defaults: ContextPool = new ModelContextDefaultPool(); }
/// <summary> /// Creates a new <see cref="ModelContextProvider"/> and automatically assigns the instance /// as the current <see cref="ModelContext.Provider"/> implementation. /// </summary> public ModelContextProvider() { ModelContext.Provider = this; // Defaults: ContextPool = new ModelContextDefaultPool(); }