Jump to content

Further Documentation C#


dcrdev

Recommended Posts

dcrdev

I'm developing a channel plugin for Emby at the moment and am finding it difficult based on the information currently available in the wiki.

 

I've created the barebones of the plugin and have created a plugin class that inherits from the IChannel interface, implements it's internal members etc...

 

The plugin in question is a radio plugin so I have a structure (ChannelItem) that defines several properties for URL, Channel Name, Channel Number etc... I then have another class that initializes a collection of ChannelItem and populates the values. All I want to do is loop through the collection and bind them to whatever properties are required within Emby.

 

"public Task<ChannelItemResult> GetChannelItems" seems to be the way to go but it's not clear how ChannelItemResult works.

 

Could someone help? 

Link to comment
Share on other sites

dcrdev

Yeah it does thanks, one more question what is the difference between ChannelItemResult and ChannelItemInfo?

 

Have you ever thought about using something like GhostDocs to produce documentation?

Link to comment
Share on other sites

we used to use GhostDoc, but it doesn't always replace hand-written documentation. have you looked at the properties of the two classes? if you look at them I think the differences are obvious.

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...