Exemple #1
0
 protected override void SetWorkflowToNull()
 {
     _workflow = null;
 }
Exemple #2
0
 /// <summary>
 /// Prepares the Builder ready for use. This must be called before your first call to the <see cref="Run"/> method.
 /// This method is idempotent.
 /// </summary>
 /// <returns>the same Builder instance</returns>
 public DecryptGenericWorkflowBuilder Build()
 {
     _workflow = new DecryptGenericWorkflow(new DatFromXmlFileLoader(new MyFile(), new TextReader(new MyFile()), new XmlSerializationUtils <EnvCryptEncryptedData>(), new XmlToDatMapper(new EncryptedDetailsPersistConverter(new Utf16LittleEndianUserStringConverter()))), _plaintextWorkFlowBuilder, _rsaWorkFlowBuilder, _aesWorkFlowBuilder);
     IsBuilt   = true;
     return(this);
 }