Inheritance: System.Entity
Exemplo n.º 1
0
        public TransportRoute(Guid importNotificationId, StateOfExport stateOfExport, StateOfImport stateOfImport)
        {
            Guard.ArgumentNotDefaultValue(() => importNotificationId, importNotificationId);
            Guard.ArgumentNotNull(() => stateOfExport, stateOfExport);
            Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);

            ImportNotificationId = importNotificationId;
            StateOfExport        = stateOfExport;
            StateOfImport        = stateOfImport;
        }
Exemplo n.º 2
0
        public TransportRoute(Guid importNotificationId, StateOfExport stateOfExport, StateOfImport stateOfImport)
        {
            Guard.ArgumentNotDefaultValue(() => importNotificationId, importNotificationId);
            Guard.ArgumentNotNull(() => stateOfExport, stateOfExport);
            Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);

            ImportNotificationId = importNotificationId;
            StateOfExport = stateOfExport;
            StateOfImport = stateOfImport;
        }
Exemplo n.º 3
0
 public void SetStateOfImport(StateOfImport stateOfImport)
 {
     Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);
     StateOfImport = stateOfImport;
 }