public LoadAssemblyCommand(string assemblyName, byte[] contents, ICommandAssemblies commandAssemblies, IKnownTypeHolder knownTypeHolder) { this.assemblyName = assemblyName; this.contents = contents; this.commandAssemblies = commandAssemblies; this.knownTypeHolder = knownTypeHolder; }
public void SetUp() { mocks = new MockRepository(); commandAssemblies = mocks.CreateMock<ICommandAssemblies>(); commandSerializer = new CommandSerializer(commandAssemblies); }
public CommandSerializer(ICommandAssemblies commandAssemblies) { this.commandAssemblies = commandAssemblies; }
public void SetUp() { mocks = new MockRepository(); commandAssemblies = mocks.CreateMock <ICommandAssemblies>(); commandSerializer = new CommandSerializer(commandAssemblies); }