Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4542888
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T15:27:14+00:00 2026-05-21T15:27:14+00:00

1st i’m newbie I import object/Class using lazy() now my questions are 1) what

  • 0

1st i’m newbie
I import object/Class using lazy()
now my questions are

1) what is the lifetime of my object?
2) how this object disposes?
3) if Disposed manually can MEF later reinitialize it when i issue object.value?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T15:27:15+00:00Added an answer on May 21, 2026 at 3:27 pm

    Generally the lifetime of the object is the same as the lifetime of the container, and it is disposed with the container. The lifetime/disposal can happen earlier in some situations for NonShared parts. Here is an answer that goes into more detail on MEF part lifetime.

    For your third question, the answer is no. Depending on what you’re trying to do, ExportFactory might be what you’re looking for. It will let you create and dispose multiple copies of a given export.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is the 1st time I am using stackoverflow, I usually find answers to
1st code: #include <iostream> using namespace std; class demo { int a; public: demo():a(9){}
I have 2 C++ Class questions: The 1st question is: How can I make
consider following: 1st APPROACH: public void f3() { f2(); f1(); } and this ...
I have 1st popup, and this 1st popup opens 2nd popup Code: <view-state id=paneMaintenance
1st activity package com.example.parserss; import java.net.URL; import javax.xml.parsers.SAXParser; import javax.xml.parsers.SAXParserFactory; import org.xml.sax.InputSource; import org.xml.sax.XMLReader;
I need to show 1st 10 eigenfaces using PCA for a image feature vector
I am using storyboards for the 1st time, and I cant figure out what
1st time using an EventListener for a KeyboardEvent and I cant make it work:
jq(.1st).click( function() { jq(this).next(div).slideToggle(normal); jq(this).toggleClass(this).attr(id,standfeat2); } ); When I click on the drop button

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.