Jump to content

Can I Implement IServerEntryPoint in more then one class?


chef

Recommended Posts

chef

I need to access Json Deserialization in one class but not in another. I use ISessionManager in one class but not in another.

 

It is easier if I can split up the routines that each of these classes are responsible for.

 

Is it okay to implement the IServerEntryPoint Inerfaces in more then one class, so I can take advantage of what it has to offer?

Link to comment
Share on other sites

Just create one server entry point class for your plug-in and have it hold references to the things you need.  Then use getters on that class to get those references.

Link to comment
Share on other sites

chef

Right! I built a model class to hold the objects I needed. Sweet.

 

I can now use the media browser internal json deserializers to get info from other sites.

 

This is moving along quite famously.

 

Thank you

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...