This is an interesting question. Suppose I have a class library "A", which will be compiled to assembly "A", and I have a class "Clazz" within A, and Clazz has a method MyMethod. Can I achieve this goal: For some assembly, they can access the MyMethod method
of Clazz, and for some others, they CANNOT access MyMethod from Clazz?
This is the concept from the design of a framework. Since some data of a framework class may only be maintained by the framework, not the client program, client programs can only "read" the data. My intent was to read/write the data within frameworks assemblies,
but readonly for the client programs.
Sorry for my English, wish I had explained my question clearly. <hr class="sig Sunny Chen
View the full article
of Clazz, and for some others, they CANNOT access MyMethod from Clazz?
This is the concept from the design of a framework. Since some data of a framework class may only be maintained by the framework, not the client program, client programs can only "read" the data. My intent was to read/write the data within frameworks assemblies,
but readonly for the client programs.
Sorry for my English, wish I had explained my question clearly. <hr class="sig Sunny Chen
View the full article