C# virtual properties

Anonymous
2012-03-29
2012-10-15
  • Anonymous - 2012-03-29

    I am trying StarUML for the first time and intend to generate C# code. I
    cannot work out how to

    1: Specify that a property should be virtual
    2: Change the exposure level of just the getter or setter (public property
    with private setter for example)

    Can someone help me out with this please?

     
  • Janusz Szpilewski

    StarUML is focused on the UML standard and being language independent. So
    modeling language specific artifacts may be hard if UML does not support it.
    Anyway you may achieve some form of it with a stereotypes.

    In the case of properties you may directly declare getter and setter functions
    and set Visibility option showing on the left after double clicking a function
    in a class definition.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks