public CommunicationModuleFactory(CommunicationFactory communicationFactory)
        {
            Contract.Requires <ArgumentNullException>(communicationFactory != null);

            this.communicationFactory = communicationFactory;
            this.iconSource           = null;
            this.name = "Communication";
        }
Example #2
0
        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);
        }