Service::getPropertyNames missing ?

Is there any reason Service has no getPropertyNames? I successfully
added a Property to a Service, but I couldn't retrieve it!

Best regards
Markus

Service::getPropertyNames missing ?

On Thu, Apr 26, 2012 at 4:41 PM, Markus Klotzbuecher
<markus [dot] klotzbuecher [..] ...> wrote:
>
> Is there any reason Service has no getPropertyNames? I successfully
> added a Property to a Service, but I couldn't retrieve it!

The property names are accessible from the Service's property bag:

provides("foo")->properties()->getPropertyNames();

Peter

Service::getPropertyNames missing ?

On Mon, May 14, 2012 at 12:12:53PM +0200, Peter Soetens wrote:
> On Thu, Apr 26, 2012 at 4:41 PM, Markus Klotzbuecher
> <markus [dot] klotzbuecher [..] ...> wrote:
> >
> > Is there any reason Service has no getPropertyNames? I successfully
> > added a Property to a Service, but I couldn't retrieve it!
>
>
> The property names are accessible from the Service's property bag:
>
> provides("foo")->properties()->getPropertyNames();

Thanks! That should do.
Markus