|
-
December 14th, 2009, 08:07 PM
#1
Issue with scope
I'm very inexperienced, so please bear with me..
I'm using open source code from FlourineFX. I'm needing to get a value from an object, but the scope of the object is limited to being instantiated as part of a parameter (new AmfResult).
_netConnection.Call(command, new AmfResult() , new object[] { file, 103207, true, null, 1.859671316E9 });
Here is AmfResult code:
public class AmfResult : IPendingServiceCallback
{
public void ResultReceived(PollAmf.IPendingServiceCall call)
{
result = call.Result;
}
}
I know nothing of containers, which IPendingServiceCallback is. I can't change the return type, or I'll get a compile error. My question is how can I get the value of result out of this instance?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|