public void SetZoneData(PCZone zone, ZoneData zoneData) { // first make sure that the data doesn't already exist if (this.zoneData.ContainsKey(zone.Name)) { throw new AxiomException("A ZoneData associated with zone " + zone.Name + " already exists. PCZSceneNode::setZoneData"); } //mZoneData[zone->getName()] = zoneData; // is this equivalent? i think so... this.zoneData.Add(zone.Name, zoneData); }
public void SetZoneData( PCZone zone, ZoneData zoneData ) { // first make sure that the data doesn't already exist if ( this.zoneData.ContainsKey( zone.Name ) ) { throw new AxiomException( "A ZoneData associated with zone " + zone.Name + " already exists. PCZSceneNode::setZoneData" ); } //mZoneData[zone->getName()] = zoneData; // is this equivalent? i think so... this.zoneData.Add( zone.Name, zoneData ); }