S
SunnyDrake
HI!
I wrting some program part of it is XML config parser which contains
some commands(for flexibility of engenie).
how do i more simple(if it possible not via System.Reflection or
System.CodeDom.CodeCastExpression)
__problem typecast #1
Desc:i do needed checks but data/commands in XML is dynamic and i don't
wanna fix C# code again and again...
Sample:foreach (object some in somearray)
(some.GetType())some.someaction();
__problem #2 function/member exist and "managed reference"
Desc: how i said there is some name of function/member in XML data
which refers to some function/member in my public C# code i need to
find it and get reference to operate.
Sample:
foreach (String name in memberarray)
if (Core.Public.isMember[name]==True)
foreach (String action in memberarray[name].actionsarray)
if (Core.Public.Member[name].isMember[action]==True)
Core.Public.Member[name].action[action.param];
I wrting some program part of it is XML config parser which contains
some commands(for flexibility of engenie).
how do i more simple(if it possible not via System.Reflection or
System.CodeDom.CodeCastExpression)
__problem typecast #1
Desc:i do needed checks but data/commands in XML is dynamic and i don't
wanna fix C# code again and again...
Sample:foreach (object some in somearray)
(some.GetType())some.someaction();
__problem #2 function/member exist and "managed reference"
Desc: how i said there is some name of function/member in XML data
which refers to some function/member in my public C# code i need to
find it and get reference to operate.
Sample:
foreach (String name in memberarray)
if (Core.Public.isMember[name]==True)
foreach (String action in memberarray[name].actionsarray)
if (Core.Public.Member[name].isMember[action]==True)
Core.Public.Member[name].action[action.param];