示例#1
0
 public LoadAssemblyCommand(string assemblyName, byte[] contents, ICommandAssemblies commandAssemblies, IKnownTypeHolder knownTypeHolder)
 {
     this.assemblyName      = assemblyName;
     this.contents          = contents;
     this.commandAssemblies = commandAssemblies;
     this.knownTypeHolder   = knownTypeHolder;
 }
 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);
 }
示例#4
0
 public CommandSerializer(ICommandAssemblies commandAssemblies)
 {
     this.commandAssemblies = commandAssemblies;
 }
示例#5
0
 public void SetUp()
 {
     mocks             = new MockRepository();
     commandAssemblies = mocks.CreateMock <ICommandAssemblies>();
     commandSerializer = new CommandSerializer(commandAssemblies);
 }
 public CommandSerializer(ICommandAssemblies commandAssemblies)
 {
     this.commandAssemblies = commandAssemblies;
 }