[Mono-devel-list] Permission Request Sets - Encoding
Sebastien Pouliot
spouliot at videotron.ca
Wed Sep 15 08:19:41 EDT 2004
Hello Alexis,
It depends on how you want to do it.
_mininum, _optional and _refuse are defined in class Assembly and also used
in AssemblyBuilder so they cannot change type (i.e. they must stay as
PermissionSet).
Have a look at how the classes that implement AddDeclarativeSecurity works.
You'll see they use a struct, RefEmitPermissionSet, defined in
AssemblyBuilder.
Sebastien Pouliot
home: spouliot at videotron.ca
blog: http://pages.infinit.net/ctech/poupou.html
-----Original Message-----
From: mono-devel-list-admin at lists.ximian.com
[mailto:mono-devel-list-admin at lists.ximian.com]On Behalf Of Alexis
Christoforides
Sent: 14 septembre 2004 19:21
To: mono-devel-list at lists.ximian.com
Subject: [Mono-devel-list] Permission Request Sets - Encoding
Hello,
I'm working on declarative security attribute support for CAS on Mono,
and I just wanted to ask a question: Is it OK if I convert the
Assembly PermissionSets (_minimum, _optional and _refuse) to XML/text
inside the AssemblyBuilder so that I can just pick them up as
MonoString 's in the runtime and write them in the build_metadata()
call? Or should I do the conversion in the runtime, to avoid
unneccessary variables in
AssemblyBuilder/MonoReflectionAssemblyBuilder ?
Cheers,
Alexis Christoforides
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list
More information about the Mono-devel-list
mailing list