- Moderator
- #1
Started on: 2009-03-24
last update: 2009-03-24
Summary:
Question about TvBusinessLayer operation.
Description:
For TV-Server plugin devs, may be could it be interesting to have differents type than String ?
Maybe a layer.GetSettingAsBool ability, for example ?
For the moment, two ways to get a parameter stored in TV-Server :
or
Then, if we have boolean type like checked boxes, ...., we have to convert all variables as string.
What do you think about ?
Is it possible to add it in TvBusinessLayer, please ?
last update: 2009-03-24
Summary:
Question about TvBusinessLayer operation.
Description:
For TV-Server plugin devs, may be could it be interesting to have differents type than String ?
Maybe a layer.GetSettingAsBool ability, for example ?
For the moment, two ways to get a parameter stored in TV-Server :
Code:
String Anotherthing = layer.GetSetting("Anotherthing").Value;
Code:
TvBusinessLayer layer = new TvBusinessLayer();
String Something = layer.GetSetting("Something", "Nothing").Value;
What do you think about ?
Is it possible to add it in TvBusinessLayer, please ?