Ejemplo n.º 1
0
        private string FlushCodeToDisk(CustomAttributeDeclaration[] assemblyAttributes, AssemblyContext assemblyContext)
        {
            var assemblyPath = assemblyContext.GeneratedCodeFlusher.FlushCodeToDisk(assemblyAttributes);

            assemblyContext.ResetParticipantState();
            return(assemblyPath);
        }
Ejemplo n.º 2
0
        public void ResetParticipantState()
        {
            var participantState = _assemblyContext.ParticipantState;

            _assemblyContext.ResetParticipantState();
            Assert.That(_assemblyContext.ParticipantState, Is.Not.SameAs(participantState));
        }