Skip to content

Commit 3368dfb

Browse files
authored
Merge pull request #42 from contentstack/feat/DX-49-AddParams-method
chore: version update
2 parents e3c8bba + 39ce089 commit 3368dfb

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Contentstack.AspNetCore/Contentstack.AspNetCore.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,6 @@
3131
<PackageReference Include="NuGet.Build.Packaging" Version="0.2.2"><PrivateAssets>all</PrivateAssets>
3232
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
3333
</PackageReference>
34-
<PackageReference Include="contentstack.csharp" Version="2.12.0" />
34+
<PackageReference Include="contentstack.csharp" Version="2.13.0" />
3535
</ItemGroup>
3636
</Project>

Contentstack.Core/Models/AssetLibrary.cs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -150,11 +150,9 @@ public AssetLibrary IncludeBranch()
150150
/// <example>
151151
/// <code>
152152
/// ContentstackClient stack = new ContentstackClinet(&quot;api_key&quot;, &quot;delivery_token&quot;, &quot;environment&quot;);
153-
/// Asset asset = stack.Asset(&quot;asset_uid&quot;);
154-
/// asset.AddParam("include_branch", "true");
155-
/// asset.Fetch&lt;Product&gt;().ContinueWith((assetResult) =&gt; {
156-
/// //Your callback code.
157-
/// });
153+
/// AssetLibrary assetLibrary = stack.AssetLibrary();
154+
/// assetLibrary.AddParam("include_branch", "true");
155+
/// ContentstackCollection&gt;Asset&lt; contentstackCollection = await assetLibrary.FetchAll();
158156
/// </code>
159157
/// </example>
160158
public AssetLibrary AddParam(string key, string value)

0 commit comments

Comments
 (0)