-
Notifications
You must be signed in to change notification settings - Fork 368
Expand file tree
/
Copy pathModuleConfiguration.cs
More file actions
35 lines (29 loc) · 904 Bytes
/
ModuleConfiguration.cs
File metadata and controls
35 lines (29 loc) · 904 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.Generic;
using ScriptCs.Contracts;
namespace ScriptCs.Hosting
{
public class ModuleConfiguration : ServiceOverrides<IModuleConfiguration>, IModuleConfiguration
{
public ModuleConfiguration(
bool cache,
string scriptName,
bool isRepl,
LogLevel logLevel,
bool debug,
IDictionary<Type, Object> overrides)
: base(overrides)
{
Cache = cache;
ScriptName = scriptName;
IsRepl = isRepl;
LogLevel = logLevel;
Debug = debug;
}
public bool Cache { get; private set; }
public string ScriptName { get; private set; }
public bool IsRepl { get; private set; }
public LogLevel LogLevel { get; private set; }
public bool Debug { get; private set; }
}
}