Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

マリン言語にC#のクラスと構造体にアクセスする際、要素に属性でアクセシビリティを設定できる #53

Open
elipmoc opened this issue Sep 30, 2020 · 1 comment · Fixed by #87

Comments

@elipmoc
Copy link
Collaborator

elipmoc commented Sep 30, 2020

属性は下の方ほど強いです

クラスに付ける属性

[DefaultMemberAllPublic]
[DefaultMemberAllPrivate]
[DefaultParentMemberAllPrivate]
[DefaultParentMemberAllPublic]

クラスの要素に付ける属性

[MemberPrivate]
[MemberPublic]

仕様

デフォルトではC#側でprivateではない全てのメンバーはpublicとなる。

@elipmoc elipmoc self-assigned this Sep 30, 2020
@elipmoc elipmoc changed the title マリン言語にC#のクラスを登録する際に、クラスの要素に属性で登録するかしないかを設定できる マリン言語にC#のクラスと構造体にアクセスする際、要素に属性でアクセシビリティを設定できる Sep 30, 2020
@elipmoc elipmoc assigned hiroki19990625 and unassigned elipmoc Sep 30, 2020
@elipmoc
Copy link
Collaborator Author

elipmoc commented Oct 6, 2020

parentはまだ実装出来てないのでreopen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants