public MetadataServicesClient(SimplTypesScope metadatascope, SemanticsSessionScope semanticSessionScope, ParsedUri serviceUri, bool useWebSockets = false) { SimplTypesScope[] oodssAndMetadataScope = { metadatascope, DefaultServicesTranslations.Get() }; _metadataTypeScope = SimplTypesScope.Get("MetadataServicesTranslationScope", oodssAndMetadataScope, typeof(MetadataRequest), typeof(MetadataResponse), typeof(SemanticServiceError) ); _serviceBaseUri = serviceUri; if (useWebSockets) { _metadataClient = new WebSocketOODSSClient("127.0.0.1", 2018, _metadataTypeScope, semanticSessionScope); _metadataClient.StartAsync(); } }
public static SimplTypesScope Get() { return(SimplTypesScope.Get(TypesScopeName, DefaultServicesTranslations.Get(), TestTypes)); }
public static SimplTypesScope Get() { return(SimplTypesScope.Get(TranslationSpaceName, DefaultServicesTranslations.Get(), typeof(ChatRequest), typeof(ChatUpdate))); }