private static IDataContextConfigurator Create()
 {
     var instance = new DataContextConfigurator();
     instance.EnableCaching = bool.Parse(CloudConfigurationManager.GetSetting("EnableDataLayerCaching"));
     instance.EnableTracing = bool.Parse(CloudConfigurationManager.GetSetting("EnableDataLayerTracing"));
     return instance;
 }
コード例 #2
0
 public void InitializeTest()
 {
     MockKernel = MockRepository.GenerateMock <IKernel>();
     Target     = new DataContextConfigurator();
 }