상속: XmlObjectNode
        private static XmlObjectNode GetSoundObject(XmlSoundReference xmlSoundReference, string reference)
        {
            var sprite = XmlParserTempProjectHelper.Sprite;

            foreach (var script in sprite.Scripts.Scripts)
                foreach (var brick in script.Bricks.Bricks)
                {
                    if (brick is XmlPlaySoundBrick)
                    {
                        var playSoundBrick = brick as XmlPlaySoundBrick;
                        if (playSoundBrick.XmlSoundReference == xmlSoundReference)
                        {
                            var count = 0;
                            if (reference.EndsWith("]"))
                            {
                                var splittetReference = reference.Split('[');
                                reference = reference.Split('[')[splittetReference.Count() - 1];
                                reference = reference.Split(']')[0];
                                count = Int32.Parse(reference) - 1;
                            }
                            return sprite.Sounds.Sounds[count];
                        }
                    }
                }
            return null;
        }
 public bool Equals(XmlSoundReference s)
 {
     return this._reference.Equals(s._reference) && this.Sound.Equals(s.Sound);
 }