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

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

Creates a new prevalence engine for the prevalent system type specified by the systemType argument.
The prevalence log files will be read from/written to the prevalenceBase directory.
If the directory does not exist it will be created.
If there are any log files already in the directory they will be used to restore the state of the system.
public static CreateEngine ( System systemType, string prevalenceBase ) : PrevalenceEngine
systemType System prevalent system type, must be serializable
prevalenceBase string directory where to store log files
Результат PrevalenceEngine
		public static PrevalenceEngine CreateEngine(System.Type systemType, string prevalenceBase)
		{
			return CreateEngine(systemType, prevalenceBase, CreateBinaryFormatter(), null);
		}

Same methods

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