@autorest/powershell 3.0.484 → 3.0.487

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -31,10 +31,10 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
31
31
 
32
32
 
33
33
  /// <summary>
34
- /// Creates a new instance of <see cref="AdministratorDetails" />, deserializing the content from a json string.
34
+ /// Creates a new instance of <see cref="AsyncOperationResponse" />, deserializing the content from a json string.
35
35
  /// </summary>
36
36
  /// <param name="jsonText">a string containing a JSON serialized instance of this model.</param>
37
- /// <returns>an instance of the <see cref="className" /> model class.</returns>
37
+ /// <returns>an instance of the <see cref="AsyncOperationResponse" /> model class.</returns>
38
38
  public static AsyncOperationResponse FromJsonString(string jsonText) => FromJson(Carbon.Json.JsonNode.Parse(jsonText));
39
39
 
40
40
  }
@@ -43,19 +43,19 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
43
43
  {
44
44
 
45
45
  /// <summary>
46
- /// Determines if the converter can convert the <see cref="sourceValue"/> parameter to the <see cref="destinationType" />
46
+ /// Determines if the converter can convert the <paramref name="sourceValue"/> parameter to the <paramref name="destinationType" />
47
47
  /// parameter.
48
48
  /// </summary>
49
49
  /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
50
50
  /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
51
51
  /// <returns>
52
- /// <c>true</c> if the converter can convert the <see cref="sourceValue"/> parameter to the <see cref="destinationType" />
52
+ /// <c>true</c> if the converter can convert the <paramref name="sourceValue"/> parameter to the <paramref name="destinationType" />
53
53
  /// parameter, otherwise <c>false</c>.
54
54
  /// </returns>
55
55
  public override bool CanConvertFrom(object sourceValue, global::System.Type destinationType) => CanConvertFrom(sourceValue);
56
56
 
57
57
  /// <summary>
58
- /// Determines if the converter can convert the <see cref="sourceValue"/> parameter to the <see cref="destinationType" />
58
+ /// Determines if the converter can convert the <paramref name="sourceValue"/> parameter to a <see cref="AsyncOperationResponse" /> type
59
59
  /// parameter.
60
60
  /// </summary>
61
61
  /// <param name="sourceValue">the <see cref="System.Object" /> instance to check if it can be converted to the <see cref="AsyncOperationResponse"
@@ -104,19 +104,19 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
104
104
  }
105
105
 
106
106
  /// <summary>
107
- /// Determines if the <see cref="sourceValue" /> parameter can be converted to the <see cref="destinationType" /> parameter
107
+ /// Determines if the <paramref name="sourceValue" /> parameter can be converted to the <paramref name="destinationType" /> parameter
108
108
  /// </summary>
109
109
  /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
110
110
  /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
111
111
  /// <returns>
112
- /// <c>true</c> if the converter can convert the <see cref="sourceValue" /> parameter to the <see cref="destinationType" />
112
+ /// <c>true</c> if the converter can convert the <paramref name="sourceValue" /> parameter to the <paramref name="destinationType" />
113
113
  /// parameter, otherwise <c>false</c>
114
114
  /// </returns>
115
115
  public override bool CanConvertTo(object sourceValue, global::System.Type destinationType) => false;
116
116
 
117
117
  /// <summary>
118
- /// Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider"
119
- /// /> and <see cref="ignoreCase" />
118
+ /// Converts the <paramref name="sourceValue" /> parameter to the <paramref name="destinationType" /> parameter using <paramref name="formatProvider"
119
+ /// /> and <paramref name="ignoreCase" />
120
120
  /// </summary>
121
121
  /// <param name="sourceValue">the <see cref="System.Object"/> to convert from</param>
122
122
  /// <param name="destinationType">the <see cref="System.Type" /> to convert to</param>
@@ -128,8 +128,7 @@ namespace Microsoft.Rest.ClientRuntime.PowerShell
128
128
  public override object ConvertFrom(object sourceValue, global::System.Type destinationType, global::System.IFormatProvider formatProvider, bool ignoreCase) => ConvertFrom(sourceValue);
129
129
 
130
130
  /// <summary>
131
- /// Converts the <see cref="sourceValue" /> parameter to the <see cref="destinationType" /> parameter using <see cref="formatProvider"
132
- /// /> and <see cref="ignoreCase" />
131
+ /// Converts the <paramref name="sourceValue" /> parameter into an instance of <see cref="AsyncOperationResponse" />
133
132
  /// </summary>
134
133
  /// <param name="sourceValue">the value to convert into an instance of <see cref="AsyncOperationResponse" />.</param>
135
134
  /// <returns>
@@ -7,7 +7,6 @@ namespace Microsoft.Rest.ClientRuntime
7
7
  {
8
8
  using System;
9
9
 
10
- [System.ComponentModel.TypeConverter(typeof(EventDataConverter))]
11
10
  /// <summary>
12
11
  /// PowerShell-specific data on top of the llc# EventData
13
12
  /// </summary>
@@ -16,6 +15,7 @@ namespace Microsoft.Rest.ClientRuntime
16
15
  /// Obviously, this code would need to be duplcated on both modules.
17
16
  /// This is preferable to sharing a common library, as versioning makes that problematic.
18
17
  /// </remarks>
18
+ [System.ComponentModel.TypeConverter(typeof(EventDataConverter))]
19
19
  public partial class EventData : EventArgs
20
20
  {
21
21
  }
@@ -276,7 +276,7 @@ namespace Microsoft.Message.ClientRuntime
276
276
  /// then the attribbute is applicable
277
277
  /// If the invocationInfo is null we return true
278
278
  /// </summary>
279
- /// <param name="invocation"></param>
279
+ /// <param name="invocationInfo"></param>
280
280
  /// <returns>bool</returns>
281
281
  public override bool IsApplicableToInvocation(InvocationInfo invocationInfo)
282
282
  {
@@ -129,7 +129,7 @@ namespace Microsoft.Rest.ClientRuntime
129
129
  /// <summary>
130
130
  /// Serialize an object by using a variety of methods.
131
131
  /// </summary>
132
- /// <param name="oValue">the object to be serialized.</param>
132
+ /// <param name="value">the object to be serialized.</param>
133
133
  /// <returns>the serialized JsonNode (if successful), otherwise, <c>null</c></returns>
134
134
  internal static JsonNode ToJsonValue(object value)
135
135
  {
@@ -238,6 +238,8 @@ namespace Microsoft.Rest.ClientRuntime
238
238
  /// Clones an HttpRequestMessage (without the content)
239
239
  /// </summary>
240
240
  /// <param name="original">Original HttpRequestMessage (Will be diposed before returning)</param>
241
+ /// <param name="requestUri"></param>
242
+ /// <param name="method"></param>
241
243
  /// <returns>A clone of the HttpRequestMessage</returns>
242
244
  internal static HttpRequestMessage Clone(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null)
243
245
  {
@@ -252,9 +254,9 @@ namespace Microsoft.Rest.ClientRuntime
252
254
  {
253
255
  clone.Properties.Add(prop);
254
256
  }
255
-
257
+
256
258
  foreach (KeyValuePair<string, IEnumerable<string>> header in original.Headers)
257
- {
259
+ {
258
260
  /*
259
261
  **temporarily skip cloning telemetry related headers**
260
262
  clone.Headers.TryAddWithoutValidation(header.Key, header.Value);
@@ -264,7 +266,7 @@ namespace Microsoft.Rest.ClientRuntime
264
266
  clone.Headers.TryAddWithoutValidation(header.Key, header.Value);
265
267
  }
266
268
  }
267
-
269
+
268
270
  return clone;
269
271
  }
270
272
 
@@ -272,6 +274,8 @@ namespace Microsoft.Rest.ClientRuntime
272
274
  /// Clones an HttpRequestMessage (including the content stream and content headers)
273
275
  /// </summary>
274
276
  /// <param name="original">Original HttpRequestMessage (Will be diposed before returning)</param>
277
+ /// <param name="requestUri"></param>
278
+ /// <param name="method"></param>
275
279
  /// <returns>A clone of the HttpRequestMessage</returns>
276
280
  internal static async Task<HttpRequestMessage> CloneWithContent(this HttpRequestMessage original, System.Uri requestUri = null, System.Net.Http.HttpMethod method = null)
277
281
  {