English 中文(简体)
棱镜模块
原标题:Prism Module Lifecycle

我制定了一个银灯棱镜项目,以复制传闻。 只是想一想一下从业单元的生命周期。

如果在单元一内出现一种看法,那么当单元不再使用时,这种观点是否会被销毁?

每个单元是否拥有相同的依赖集装箱(例如统一),或者每个单元是否有单独的集装箱?

我在此有更深入的问题。

https://stackoverflow.com/questions/4652364/meory-usage-is-suspect-time-loading-prism-modules

在开业和关闭棱镜单元时,我试图理解一些与记忆使用不一致之处。

最佳回答

(1) 销毁观点的时间点取决于你向集装箱登记观点的方式。 如果您在登记期间没有改变物体的生命周期,那么如果理事会发现它没有任何标的。 如果你在登记期间明确指定终身管理人,则视管理人员所管理的特定寿命而销毁这种观点。 一种外观:当你使用一个团结集装箱时,如果你用集装箱ControlledLifetimeManager在集装箱被销毁时,这种观点就会遭到破坏。

2) 只要你不自行为每个单元装设一个儿童集装箱,所有单元就共用一个集装箱。

问题回答

暂无回答




相关问题
Silverlight Rich text box control

Our team decided that we need our own custom Rich text box control for Silverlight app we are developing. We looked at existing controls mentioned at A good rich text control for Silverlight but ...

Silverlight ImageBrush not rendering (with Bing Map Control)

I m trying to add an image to a Pushpin instance from the Silverlight Bing Map Control, but I can t seem to get it to render (the pushpin renders fine). This is probably a general WPF question rather ...

Silverlight OpenFileDialog DoEvents equivalent

I m processing large files after they are selected by the user. My code looks like the following: if (FileDialog.ShowDialog() == true) { // process really big file } This freezes up the UI so ...

list of controls with templates in silverlight

Does anyone know where to find a list of controls that you can set the template on in Silverlight? I ve wasted several hours now trying to create control templates only to find that the control doesn ...

Silverlight, Updating the UI during processing

I have a simple silverlight multifile upload application, and i want to provide the user with some feedback, right now its only in a test phase and i dont have the webservice. Somehow i cant get the ...

Silverlight 3 - FindName returns null

This looks a bug to me.. Using Silverlight 3 and i have a user control defined in XAML and trying to access the object during runtime returns a null. <Grid> <common:CommonGridEditPanel x:...

silverlight 3 collection binding

Someone please help me understand why this binding does not work... I have a class called SelectionManager with a property called dates which is populated by a WCF service. The property is an ...

热门标签