To define accessibility for a class, an interface, or a method, you have to use the visibility property in PowerDesigner.
The following accessibility attributes are supported in PowerDesigner:
|
C# accessibility |
PowerDesigner visibility |
|---|---|
|
Public (no restriction) |
Public |
|
Private (access limited to the containing type) |
Private |
|
Protected (access limited to the containing class or types derived from the containing class) |
Protected |
|
Internal (access limited to current program) |
Internal |
|
Protected internal (access limited to this program or types derived from the containing class) |
Protected internal |