OnLoaded (LifeCycle)

9 views
Skip to first unread message

Gerhard Kreuzer

unread,
Feb 12, 2011, 2:46:09 AM2/12/11
to nro...@googlegroups.com
Hi Rishi,
 
just want to see (test) when OnLoaded/OnUnloaded was called, but OnLoaded was never called ....
Used set: 57381
 
With best regards
 
Gerhard

Rishi Oberoi

unread,
Feb 13, 2011, 12:11:25 AM2/13/11
to nRoute
This is with WPF or Silverlight (3/4) ?
Rishi

On Feb 12, 10:46 am, "Gerhard Kreuzer" <gerhard.kreu...@liftoff.at>
wrote:

Gerhard Kreuzer

unread,
Feb 13, 2011, 2:28:29 AM2/13/11
to nro...@googlegroups.com
Hi Rishi,

It's with WPF

With best regards

Gerhard

-----Ursprüngliche Nachricht-----
Von: nro...@googlegroups.com [mailto:nro...@googlegroups.com] Im Auftrag von
Rishi Oberoi
Gesendet: Sonntag, 13. Februar 2011 06:11
An: nRoute
Betreff: [nRoute] Re: OnLoaded (LifeCycle)

Gerhard Kreuzer

unread,
Feb 13, 2011, 2:41:00 AM2/13/11
to nro...@googlegroups.com
Hi Rishi,

I also make this change in 'Application.cs'

public List<IApplicationService> ApplicationLifetimeObjects
{
get
{
if (_applicationLifetimeObjects == null)
{
_applicationLifetimeObjects = new
List<IApplicationService>();
if (!nRouteApplicationService.IsInitialized)
{
return _applicationLifetimeObjects;
}
}

if (_applicationLifetimeObjectsWrapper == null)
{
_applicationLifetimeObjectsWrapper =
new
ReadOnlyCollection<IApplicationService>(this._applicationLifetimeObjects);
}

return new
List<IApplicationService>(_applicationLifetimeObjectsWrapper);
}
}

It was suggested by some other member and it works really fine. The nasty
Ilist-errors I send you sometimes were gone now. So, if there is nothing
else which was influated by this change, maybe you can include it in the
next change set.

Thanks.

With best regards

Gerhard

-----Ursprüngliche Nachricht-----
Von: nro...@googlegroups.com [mailto:nro...@googlegroups.com] Im Auftrag von
Rishi Oberoi
Gesendet: Sonntag, 13. Februar 2011 06:11
An: nRoute
Betreff: [nRoute] Re: OnLoaded (LifeCycle)

This is with WPF or Silverlight (3/4) ?

Rishi Oberoi

unread,
Feb 15, 2011, 5:53:52 AM2/15/11
to nro...@googlegroups.com
Ya, I saw that - will look into it.
Rishi
Reply all
Reply to author
Forward
0 new messages