I'm new to using the codedom to generate code and had a question about
returning a value from a method call in a property...
i have this...
property.GetSta tements.Add(new CodeMethodRetur nStatement(new
CodeFieldRefere nceExpression(n ew CodeThisReferen ceExpression(), "_" +
fieldName)));
to create...
get { return _fieldname; }
but I need to create...
get { return differentstatic object.staticme thodname<fieldt ype>(ref
_fieldname); }
anyone know a good way to do this?
Thanks.
returning a value from a method call in a property...
i have this...
property.GetSta tements.Add(new CodeMethodRetur nStatement(new
CodeFieldRefere nceExpression(n ew CodeThisReferen ceExpression(), "_" +
fieldName)));
to create...
get { return _fieldname; }
but I need to create...
get { return differentstatic object.staticme thodname<fieldt ype>(ref
_fieldname); }
anyone know a good way to do this?
Thanks.