internal static void DebugInstanceDeserialized(DObject /*!*/ instance, bool forPersistence) { instance.SetProperty( Guid.NewGuid().ToString(), String.Format( "Deserialized for {0} in process: {1}, app domain: {2}", forPersistence ? "persistence" : "remoting", Process.GetCurrentProcess().MainModule.FileName, AppDomain.CurrentDomain.FriendlyName), null); }
public static void SetObjectProperty(DObject/*!*/ obj, string name, object value, DTypeDesc caller) { Debug.Assert(obj != null && name != null); if (ReferenceEquals(obj, ScriptContext.SetterChainSingletonObject)) { ScriptContext context = ScriptContext.CurrentContext; if (value is PhpReference) { context.AbortSetterChain(false); return; } // extend and finish the setter chain context.ExtendSetterChain(new RuntimeChainProperty(name)); context.FinishSetterChain(value); return; } obj.SetProperty(name, value, caller); }
internal static void DebugInstanceDeserialized(DObject/*!*/ instance, bool forPersistence) { instance.SetProperty( Guid.NewGuid().ToString(), String.Format( "Deserialized for {0} in process: {1}, app domain: {2}", forPersistence ? "persistence" : "remoting", Process.GetCurrentProcess().MainModule.FileName, AppDomain.CurrentDomain.FriendlyName), null); }