public IrqDestinations(IrqReceiver destinationPeripheral, IEnumerable <SingleOrMultiIrqEnd> destinations)
 {
     DestinationPeripheral = destinationPeripheral;
     Destinations          = destinations;
 }
Exemplo n.º 2
0
        public IrqAttribute SingleAttributeWithInheritedPosition(SingleOrMultiIrqEnd source, IrqReceiver destinationPeripheral, SingleOrMultiIrqEnd destination)
        {
            var copy = SerializationProvider.Instance.DeepClone(this);

            copy.Sources      = new[] { source };
            copy.Destinations = new[] { new IrqDestinations(destinationPeripheral, new[] { destination }) };
            return(copy);
        }