Skip to content

Commit

Permalink
RequestOptions.Properties: Adds new feature to public SDK (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
j82w committed Sep 2, 2020
1 parent 367ca9a commit 3f52e83
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 28 deletions.
9 changes: 2 additions & 7 deletions Microsoft.Azure.Cosmos/src/RequestOptions/RequestOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,10 @@ public class RequestOptions
public string IfNoneMatchEtag { get; set; }

/// <summary>
/// Application opted Cosmos request conext that flow through with the <see cref="RequestMessage" />.
/// Application opted Cosmos request context that flow through with the <see cref="RequestMessage" />.
/// Context will be available through handlers.
/// </summary>
#if PREVIEW
public
#else
internal
#endif
IReadOnlyDictionary<string, object> Properties { get; set; }
public IReadOnlyDictionary<string, object> Properties { get; set; }

/// <summary>
/// Gets or sets the boolean to use effective partition key routing in the cosmos db request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -275,27 +275,7 @@
"NestedTypes": {}
}
},
"Members": {
"System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] get_Properties()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
"Type": "Method",
"Attributes": [
"CompilerGeneratedAttribute"
],
"MethodInfo": "System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] get_Properties()"
},
"System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] Properties": {
"Type": "Property",
"Attributes": [],
"MethodInfo": null
},
"Void set_Properties(System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object])[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
"Type": "Method",
"Attributes": [
"CompilerGeneratedAttribute"
],
"MethodInfo": "Void set_Properties(System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object])"
}
},
"Members": {},
"NestedTypes": {}
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5362,6 +5362,18 @@
}
},
"Members": {
"System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] get_Properties()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
"Type": "Method",
"Attributes": [
"CompilerGeneratedAttribute"
],
"MethodInfo": "System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] get_Properties()"
},
"System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object] Properties": {
"Type": "Property",
"Attributes": [],
"MethodInfo": null
},
"System.String get_IfMatchEtag()[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
"Type": "Method",
"Attributes": [
Expand Down Expand Up @@ -5404,6 +5416,13 @@
"CompilerGeneratedAttribute"
],
"MethodInfo": "Void set_IfNoneMatchEtag(System.String)"
},
"Void set_Properties(System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object])[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]": {
"Type": "Method",
"Attributes": [
"CompilerGeneratedAttribute"
],
"MethodInfo": "Void set_Properties(System.Collections.Generic.IReadOnlyDictionary`2[System.String,System.Object])"
}
},
"NestedTypes": {}
Expand Down

0 comments on commit 3f52e83

Please sign in to comment.