Changing Visibility of Class/Class members in different assemblies
I have created an assembly, which contains two class (Cls1,cls2), in which
Cls1 contains 3 properties Prop1, Prop2,Prop3 and Cls2 contains some other
properties.
Now i am using this assembly (Add reference) in some other assemblies Assb1
and Assb2.
In Assb1 i do not want Cls2 to be visible, but Cls1 should be visible.Here i
should be able to get the property values, setting property values should not
be allowed.
In Assb2 i want both to be visible, also from Assb2 i can set/get the
properties of Cls1.
how can i achieve this functionality, is there any way with CAS? Please let
me know. Thanks
Date:Thu, 16 Aug 2007 17:52:42 -0700
Author:
|