Questions tagged [opennetcf.ioc]

7 questions
8
votes
1 answer

DI: Handling Life of IDisposable Objects

So I'm working on my DI/IoC Container OpenNETCF.IoC and I've got a (reasonable) feature request to add some form of lifecycle management for IDisposable items in the container collections. My current thinking is that, since I can't query an object…
ctacke
  • 65,117
  • 17
  • 91
  • 151
2
votes
1 answer

OpenNetCF.IoC can not hit start in SmartClientApplication

I'm using OpenNetCF's IoC framework and the code in my Program class looks like: public class Program : SmartClientApplication { /// /// The main entry point for the application. ///
AnonyMouse
  • 16,228
  • 23
  • 74
  • 128
2
votes
2 answers

OpenNetCF.IOC event subscription not firing

I am developing a Vb.net .Net 3.5 PDA application using the OpenNetCF IOC framework. I have set up and event to handle the navigation through the smart parts but when I raise the event the EventSubscription does not fire. I am sure I have missed…
Phil Murray
  • 5,971
  • 8
  • 41
  • 85
2
votes
2 answers

OpenNETCF.Stopwatch -> only ticks changing, not Elapsed

I've been trying to track down a bug I thought was thread-related, but I think instead there is an issue with the way I am using OpenNETCF's Stopwatch. I am using OpenNETCF.IoC in my application, but for the sake of simplicity I moved the following…
pithyless
  • 1,629
  • 2
  • 15
  • 31
2
votes
1 answer

OpenNETCF.IoC.UI SmartPart creation failing

I am creating a Windows Mobile application and I am having some problems with the OpenNETCF.IoC.UI library when creating SmartParts with EventPublication's. My subscription is on the main for container and the publication is on an object that…
Phil Murray
  • 5,971
  • 8
  • 41
  • 85
1
vote
1 answer

Refactor Windows Forms to MVP

The project I am working on is a mobile .NET CF based application. I have to implement the MVP pattern in it. I am now using OpenNETCF.IoC library and Services in it. I have to refactor Windows Forms code to SmartParts. I have a problem in…
hellboy
  • 1,329
  • 5
  • 18
  • 50
0
votes
1 answer

Opennetcf.IOC event subscription and inheritance

Class1 has event with attribute [EventPublication("event1")]. Class2 and Class3 inherits from Class1. I want to subscribe Method1 to event in object from Class2 and Method2 to event in object from Class3 using [EventSubscription]. But in the derived…
raV720
  • 384
  • 2
  • 20