Bamboo.Prevalence.PrevalenceActivator.CreateEngine C# (CSharp) Метод

CreateEngine() публичный статический Метод

Creates a new prevalence engine for the prevalent system type specified by the systemType argument.
public static CreateEngine ( System systemType, string prevalenceBase, BinaryFormatter formatter, PrevalenceEngine handler ) : PrevalenceEngine
systemType System prevalent system type, must be serializable
prevalenceBase string directory where to store log files
formatter System.Runtime.Serialization.Formatters.Binary.BinaryFormatter serialization formatter that should be used for reading from/writing to the logs
handler PrevalenceEngine delegate to receive notifications of any exceptions thrown during recovery
Результат PrevalenceEngine
		public static PrevalenceEngine CreateEngine(System.Type systemType, string prevalenceBase, BinaryFormatter formatter, PrevalenceEngine.ExceptionDuringRecoveryHandler handler)
		{
			CheckEngineParameters(systemType, prevalenceBase);
			Assertion.AssertParameterNotNull("formatter", formatter);

			return CreateRequestedEngine(systemType, prevalenceBase, formatter, handler);
		}

Same methods

PrevalenceActivator::CreateEngine ( System systemType, string prevalenceBase ) : PrevalenceEngine
PrevalenceActivator::CreateEngine ( System systemType, string prevalenceBase, bool autoVersionMigration ) : PrevalenceEngine
PrevalenceActivator::CreateEngine ( System systemType, string prevalenceBase, bool autoVersionMigration, PrevalenceEngine handler ) : PrevalenceEngine