public string GetAudioSearchWebserviceRelativePath(DsmVersions dsmVersion)
 {
     switch (dsmVersion)
     {
         case DsmVersions.V4_0:
             return "/webman/3rdparty/AudioStation/webUI/audio_browse.cgi";
             break;
         case DsmVersions.V3_2:
             return "/audio/webUI/audio_browse.cgi";
             break;
         default:
             throw new ArgumentOutOfRangeException("dsmVersion");
     }
 }
示例#2
0
        public string GetAudioSearchWebserviceRelativePath(DsmVersions dsmVersion)
        {
            switch (dsmVersion)
            {
            case DsmVersions.V4_0:
                return("/webman/3rdparty/AudioStation/webUI/audio_browse.cgi");

                break;

            case DsmVersions.V3_2:
                return("/audio/webUI/audio_browse.cgi");

                break;

            default:
                throw new ArgumentOutOfRangeException("dsmVersion");
            }
        }
示例#3
0
 public AudioStationSession(IVersionDependentResourcesProvider versionDependentResourcesProvider, DsmVersions dsmVersion) : this()
 {
     this.DsmVersion = dsmVersion;
     this.versionDependentResourcesProvider = versionDependentResourcesProvider;
 }
示例#4
0
 public AudioStationSession(IVersionDependentResourcesProvider versionDependentResourcesProvider, DsmVersions dsmVersion)
     : this()
 {
     this.DsmVersion = dsmVersion;
     this.versionDependentResourcesProvider = versionDependentResourcesProvider;
 }