public override void Perform(AudioData obj, PreviewSoundQuery query) { base.Perform(obj, query); query.Result = new Sound(obj); }
public override void Perform(Sound obj, PreviewSoundQuery query) { base.Perform(obj, query); query.Result = obj.Clone() as Sound; }
public static Sound GetPreviewSound(object obj) { PreviewSoundQuery query = new PreviewSoundQuery(obj); GetPreview(query); return query.Result; }