by-ref event parameters

homepage Forums BridgePoint/xtUML Usage and Training by-ref event parameters

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #5260
    cort
    Keymaster

    I can pass parameters in many contexts by-ref. There seems to be a restriction on passing by-ref parameters on events. Is this true?

    #5261
    Lee Riemenschneider
    Participant

    Given that events are asynchronous, passing by ref has many possible side effects. Also given that nothing in a domain is hidden, passing by ref doesn’t have a lot of value.

    #5262
    keithbrown
    Keymaster

    I’ll note that there is an open BridgePoint issue for passing by-reference params across interfaces also (https://support.onefact.net/redmine/issues/7678).

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.