public CommunicationModule(IProcess process, CommunicationFactory communicationFactory) { Contract.Requires<ArgumentNullException>(process != null); Contract.Requires<ArgumentNullException>(communicationFactory != null); this.iconSource = null; this.name = "Communication"; this.communication = communicationFactory.CreateItem(process.Id); }