Initializing T property with a default instance.

This commit is contained in:
Sipke Schoorstra
2014-10-13 18:13:31 -07:00
parent 7f9fce290b
commit 0491a38aea

View File

@@ -40,6 +40,7 @@ namespace Orchard.Data.Migration {
_processedFeatures = new List<string>();
Logger = NullLogger.Instance;
T = NullLocalizer.Instance;
}
public Localizer T { get; set; }
public ILogger Logger { get; set; }