Remove commented code.
This commit is contained in:
Родитель
7ee1ccfc98
Коммит
f90958c486
|
@ -201,7 +201,7 @@ namespace AutoRest.CSharp.V3.ClientModels
|
|||
if (pageable == null) return null;
|
||||
|
||||
var nextLinkName = pageable.GetValue<string>("nextLinkName");
|
||||
//TODO: This should actually reference an operation
|
||||
//TODO: This should actually reference an operation: https://github.com/Azure/autorest.csharp/issues/397
|
||||
var operationName = pageable.GetValue<string>("operationName");
|
||||
|
||||
var itemName = pageable.GetValue<string>("itemName");
|
||||
|
|
|
@ -17,7 +17,6 @@ namespace AutoRest.CSharp.V3.ClientModels
|
|||
public string Description { get; }
|
||||
|
||||
public ClientMethod[] Methods { get; }
|
||||
//public ClientPagingMethod[] PagingMethods { get; }
|
||||
|
||||
public ServiceClientParameter[] Parameters { get; }
|
||||
}
|
||||
|
|
|
@ -61,10 +61,6 @@ namespace AutoRest.CSharp.V3.Utilities
|
|||
return resultList;
|
||||
}
|
||||
|
||||
//[return: MaybeNull]
|
||||
//public static TValue GetValue<TValue, TKey>(this IDictionary<TKey, object>? dictionary, TKey key) where TKey : notnull =>
|
||||
// ((dictionary?.ContainsKey(key) ?? false) && dictionary![key] is TValue item) ? item : default;
|
||||
|
||||
[return: MaybeNull]
|
||||
public static TValue GetValue<TValue>(this IDictionary<string, object>? dictionary, string key) =>
|
||||
((dictionary?.ContainsKey(key) ?? false) && dictionary![key] is TValue item) ? item : default;
|
||||
|
|
Загрузка…
Ссылка в новой задаче