-
Notifications
You must be signed in to change notification settings - Fork 4.6k
/
QueueItem.cs
37 lines (31 loc) · 1.18 KB
/
QueueItem.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using Azure.Storage.Common;
namespace Azure.Storage.Queues.Models
{
/// <summary> An Azure Storage Queue. </summary>
public partial class QueueItem
{
/// <summary> Initializes a new instance of <see cref="QueueItem"/>. </summary>
/// <param name="name"> The name of the Queue. </param>
/// <exception cref="ArgumentNullException"> <paramref name="name"/> is null. </exception>
internal QueueItem(string name)
{
Argument.AssertNotNull(name, nameof(name));
Name = name;
Metadata = new ChangeTrackingDictionary<string, string>();
}
/// <summary> Initializes a new instance of <see cref="QueueItem"/>. </summary>
/// <param name="name"> The name of the Queue. </param>
/// <param name="metadata"> Dictionary of <string>. </param>
internal QueueItem(string name, IDictionary<string, string> metadata)
{
Name = name;
Metadata = metadata;
}
}
}