示例#1
0
 internal static VersionsSpecContext <RoomsVersion> RoomsVersions(SpecContext baseContext)
 {
     return(baseContext as VersionsSpecContext <RoomsVersion> ??
            throw new ArgumentException(Resources.InvalidRoomsVersionListContext));
 }
示例#2
0
 internal static VersionsSpecContext <IdentityServiceVersion> IdentityServiceVersions(
     SpecContext baseContext)
 {
     return(baseContext as VersionsSpecContext <IdentityServiceVersion> ??
            throw new ArgumentException(Resources.InvalidIdentityServiceVersionListContext));
 }
示例#3
0
 internal static SpecContext <ApplicationServiceVersion> ApplicationService(
     SpecContext baseContext)
 {
     return(baseContext as SpecContext <ApplicationServiceVersion> ??
            throw new ArgumentException(Resources.InvalidApplicationServiceVersionContext));
 }
示例#4
0
 internal static SpecContext <PushGatewayVersion> PushGateway(SpecContext baseContext)
 {
     return(baseContext as SpecContext <PushGatewayVersion> ??
            throw new ArgumentException(Resources.InvalidPushGatewayVersionContext));
 }
示例#5
0
 internal static SpecContext <ServerServerVersion> ServerServer(SpecContext baseContext)
 {
     return(baseContext as SpecContext <ServerServerVersion> ??
            throw new ArgumentException(Resources.InvalidServerServerVersionContext));
 }