return _constructionActivator;
}
}
-#if !MOONLIGHT
+
public static IMessage Activate (RemotingProxy proxy, ConstructionCall ctorCall)
{
IMessage response;
return response;
}
-#endif
+
public static IMessage RemoteActivate (IConstructionCallMessage ctorCall)
{
try
identity.AttachServerObject ((MarshalByRefObject) obj, Threading.Thread.CurrentContext);
ConstructionCall call = ctorCall as ConstructionCall;
-#if !MOONLIGHT
+
if (ctorCall.ActivationType.IsContextful && call != null && call.SourceProxy != null)
{
call.SourceProxy.AttachIdentity (identity);
RemotingServices.InternalExecuteMessage (target, ctorCall);
}
else
-#endif
ctorCall.MethodBase.Invoke (obj, ctorCall.Args);
return new ConstructionResponse (obj, null, ctorCall);