[mapguide-trac] #672: Resource definitions - adding ResourceName property

MapGuide Open Source trac_mapguide at osgeo.org
Sun Aug 24 18:23:13 EDT 2008


#672: Resource definitions - adding ResourceName property
-------------------------+--------------------------------------------------
 Reporter:  MaksimS      |         Owner:  ksgeograf
     Type:  enhancement  |        Status:  closed   
 Priority:  low          |     Milestone:           
Component:  Maestro      |       Version:           
 Severity:  trivial      |    Resolution:  fixed    
 Keywords:               |   External_id:           
-------------------------+--------------------------------------------------
Changes (by ksgeograf):

  * status:  assigned => closed
  * resolution:  => fixed

Comment:

 I have added a new class called ResourceIdentifier that has all the
 properties and methods avalible. It is assignable to and from a string, so
 it is easy to use. It was not possible to make the actual "ResourceId"
 properties have the new type, due to the Xml serialization process. I did
 not add the "ResourceName" property, because it would clutter the class
 definition. Instead, you can now do:
 string name = new ResourceIdentifier(...).Name;

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/672#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list