public static Azure.AI.Language.Conversations.Models.DictionaryNormalizedValueResolution DictionaryNormalizedValueResolution(Azure.AI.Language.Conversations.Models.ResolutionKind resolutionKind = default(Azure.AI.Language.Conversations.Models.ResolutionKind), System.Collections.Generic.IReadOnlyDictionary <string, object> additionalProperties = null, System.Collections.Generic.IEnumerable <string> values = null)
 {
     throw null;
 }
コード例 #2
0
 public HealthReportEntry(Microsoft.Extensions.Diagnostics.HealthChecks.HealthStatus status, string description, System.TimeSpan duration, System.Exception exception, System.Collections.Generic.IReadOnlyDictionary <string, object> data)
 {
     throw null;
 }
コード例 #3
0
 public HealthReport(System.Collections.Generic.IReadOnlyDictionary <string, Microsoft.Extensions.Diagnostics.HealthChecks.HealthReportEntry> entries, System.TimeSpan totalDuration)
 {
 }
コード例 #4
0
 protected GeoObject(Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> additionalProperties)
 {
 }
コード例 #5
0
 public CalendarificException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary <string, System.Collections.Generic.IEnumerable <string> > headers, System.Exception innerException)
     : base(message + "\n\nStatus: " + statusCode + "\nResponse: \n" + response.Substring(0, response.Length >= 512 ? 512 : response.Length), innerException)
 {
     StatusCode = statusCode;
     Response   = response;
     Headers    = headers;
 }
コード例 #6
0
 public static Azure.Communication.Chat.ChatMessage ChatMessage(string id, Azure.Communication.Chat.ChatMessageType type, string sequenceId, string version, Azure.Communication.Chat.ChatMessageContent content, string senderDisplayName, System.DateTimeOffset createdOn, string senderId, System.DateTimeOffset?deletedOn, System.DateTimeOffset?editedOn, System.Collections.Generic.IReadOnlyDictionary <string, string> metadata)
 {
     throw null;
 }
コード例 #7
0
 public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> customProperties)
 {
 }
 protected SettingItem(System.Collections.Generic.IReadOnlyDictionary <string, string> attributes)
 {
 }
 protected SettingSection(string name, System.Collections.Generic.IReadOnlyDictionary <string, string> attributes, System.Collections.Generic.IEnumerable <NuGet.Configuration.SettingItem> children)
 {
 }
コード例 #10
0
 public UnknownItem(string name, System.Collections.Generic.IReadOnlyDictionary <string, string> attributes, System.Collections.Generic.IEnumerable <NuGet.Configuration.SettingBase> children)
 {
 }
コード例 #11
0
 public AddItem(string key, string value, System.Collections.Generic.IReadOnlyDictionary <string, string> additionalAttributes)
 {
 }
コード例 #12
0
 protected SettingsGroup(System.Collections.Generic.IReadOnlyDictionary <string, string> attributes, System.Collections.Generic.IEnumerable <T> children)
 {
 }
コード例 #13
0
 public static Azure.IoT.DeviceUpdate.Models.File File(string fileId = null, string fileName = null, long sizeInBytes = (long)0, System.Collections.Generic.IReadOnlyDictionary <string, string> hashes = null, string mimeType = null, string etag = null)
 {
     throw null;
 }
 public static Azure.DigitalTwins.Core.DigitalTwinsModelData DigitalTwinsModelData(System.Collections.Generic.IReadOnlyDictionary <string, string> languageDisplayNames = null, System.Collections.Generic.IReadOnlyDictionary <string, string> languageDescriptions = null, string id = null, System.DateTimeOffset?uploadedOn = default(System.DateTimeOffset?), bool?decommissioned = default(bool?), string dtdlModel = null)
 {
     throw null;
 }
コード例 #15
0
 public ApiException(string message, int statusCode, string response, System.Collections.Generic.IReadOnlyDictionary <string, System.Collections.Generic.IEnumerable <string> > headers, TResult result, System.Exception innerException)
     : base(message, statusCode, response, headers, innerException)
 {
     Result = result;
 }
コード例 #16
0
 public static Azure.AI.FormRecognizer.Training.CustomFormSubmodel CustomFormSubmodel(string formType, float?accuracy, System.Collections.Generic.IReadOnlyDictionary <string, Azure.AI.FormRecognizer.Training.CustomFormModelField> fields)
 {
     throw null;
 }
コード例 #17
0
 public SwaggerResponse(int statusCode, System.Collections.Generic.IReadOnlyDictionary <string, System.Collections.Generic.IEnumerable <string> > headers)
 {
     StatusCode = statusCode;
     Headers    = headers;
 }
コード例 #18
0
 public static Azure.AI.FormRecognizer.Models.FieldValue FieldValueWithDictionaryValueType(System.Collections.Generic.IReadOnlyDictionary <string, Azure.AI.FormRecognizer.Models.FormField> value)
 {
     throw null;
 }
コード例 #19
0
 public GeoLineString(System.Collections.Generic.IEnumerable <Azure.Core.GeoJson.GeoPosition> coordinates, Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> customProperties)
 {
 }
コード例 #20
0
 public static Azure.AI.FormRecognizer.Models.RecognizedForm RecognizedForm(string formType, Azure.AI.FormRecognizer.Models.FormPageRange pageRange, System.Collections.Generic.IReadOnlyDictionary <string, Azure.AI.FormRecognizer.Models.FormField> fields, System.Collections.Generic.IReadOnlyList <Azure.AI.FormRecognizer.Models.FormPage> pages)
 {
     throw null;
 }
コード例 #21
0
 public GeoPolygonCollection(System.Collections.Generic.IEnumerable <Azure.Core.GeoJson.GeoPolygon> polygons, Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> customProperties)
 {
 }
コード例 #22
0
 public GeometryProperties(Azure.Core.Spatial.GeometryBoundingBox?boundingBox = default(Azure.Core.Spatial.GeometryBoundingBox?), System.Collections.Generic.IReadOnlyDictionary <string, object?>?additionalProperties = null)
 {
 }
コード例 #23
0
 public GeoPoint(Azure.Core.GeoJson.GeoPosition position, Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> additionalProperties) : base(default(Azure.Core.GeoJson.GeoBoundingBox), default(System.Collections.Generic.IReadOnlyDictionary <string, object>))
 {
 }
コード例 #24
0
 protected EventData(System.ReadOnlyMemory <byte> eventBody, System.Collections.Generic.IDictionary <string, object> properties = null, System.Collections.Generic.IReadOnlyDictionary <string, object> systemProperties = null, long sequenceNumber = (long)-9223372036854775808, long offset = (long)-9223372036854775808, System.DateTimeOffset enqueuedTime = default(System.DateTimeOffset), string partitionKey = null)
 {
 }
コード例 #25
0
ファイル: TweetService.cs プロジェクト: Kwetterprise/Frontend
        protected virtual async System.Threading.Tasks.Task <ObjectResponseResult <T> > ReadObjectResponseAsync <T>(System.Net.Http.HttpResponseMessage response, System.Collections.Generic.IReadOnlyDictionary <string, System.Collections.Generic.IEnumerable <string> > headers)
        {
            if (response == null || response.Content == null)
            {
                return(new ObjectResponseResult <T>(default(T), string.Empty));
            }

            if (ReadResponseAsString)
            {
                var responseText = await response.Content.ReadAsStringAsync().ConfigureAwait(false);

                try
                {
                    var typedBody = Newtonsoft.Json.JsonConvert.DeserializeObject <T>(responseText, JsonSerializerSettings);
                    return(new ObjectResponseResult <T>(typedBody, responseText));
                }
                catch (Newtonsoft.Json.JsonException exception)
                {
                    var message = "Could not deserialize the response body string as " + typeof(T).FullName + ".";
                    throw new ApiException(message, (int)response.StatusCode, responseText, headers, exception);
                }
            }
            else
            {
                try
                {
                    using (var responseStream = await response.Content.ReadAsStreamAsync().ConfigureAwait(false))
                        using (var streamReader = new System.IO.StreamReader(responseStream))
                            using (var jsonTextReader = new Newtonsoft.Json.JsonTextReader(streamReader))
                            {
                                var serializer = Newtonsoft.Json.JsonSerializer.Create(JsonSerializerSettings);
                                var typedBody  = serializer.Deserialize <T>(jsonTextReader);
                                return(new ObjectResponseResult <T>(typedBody, string.Empty));
                            }
                }
                catch (Newtonsoft.Json.JsonException exception)
                {
                    var message = "Could not deserialize the response body stream as " + typeof(T).FullName + ".";
                    throw new ApiException(message, (int)response.StatusCode, string.Empty, headers, exception);
                }
            }
        }
 public static Azure.AI.Language.Conversations.KnowledgeBaseAnswer KnowledgeBaseAnswer(System.Collections.Generic.IEnumerable <string> questions = null, string answer = null, double?confidence = default(double?), int?id = default(int?), string source = null, System.Collections.Generic.IReadOnlyDictionary <string, string> metadata = null, Azure.AI.Language.Conversations.KnowledgeBaseAnswerDialog dialog = null, Azure.AI.Language.Conversations.AnswerSpan answerSpan = null)
 {
     throw null;
 }
コード例 #27
0
 public static Microsoft.Extensions.Diagnostics.HealthChecks.HealthCheckResult Unhealthy(string description = null, System.Exception exception = null, System.Collections.Generic.IReadOnlyDictionary <string, object> data = null)
 {
     throw null;
 }
 public static Azure.AI.Language.Conversations.OrchestratorPrediction OrchestratorPrediction(Azure.AI.Language.Conversations.ProjectKind projectKind = default(Azure.AI.Language.Conversations.ProjectKind), string topIntent = null, System.Collections.Generic.IReadOnlyDictionary <string, Azure.AI.Language.Conversations.TargetIntentResult> intents = null)
 {
     throw null;
 }
 public GeoCollection(System.Collections.Generic.IEnumerable <Azure.Core.GeoJson.GeoObject> geometries, Azure.Core.GeoJson.GeoBoundingBox?boundingBox, System.Collections.Generic.IReadOnlyDictionary <string, object?> additionalProperties) : base(default(Azure.Core.GeoJson.GeoBoundingBox), default(System.Collections.Generic.IReadOnlyDictionary <string, object>))
 {
 }
 public static Azure.AI.Language.Conversations.Models.DeepStackEntityResolution DeepStackEntityResolution(Azure.AI.Language.Conversations.Models.ResolutionKind resolutionKind = default(Azure.AI.Language.Conversations.Models.ResolutionKind), System.Collections.Generic.IReadOnlyDictionary <string, object> additionalProperties = null)
 {
     throw null;
 }