Skip to content

Commit 748366b

Browse files
author
begoldsm
committed
Add comments
1 parent 21db75c commit 748366b

File tree

1 file changed

+29
-0
lines changed
  • src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Models

1 file changed

+29
-0
lines changed

src/ResourceManager/DataLakeAnalytics/Commands.DataLakeAnalytics/Models/AdlDataSource.cs

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,46 @@ namespace Microsoft.Azure.Commands.DataLakeAnalytics.Models
2626
/// </summary>
2727
public class AdlDataSource
2828
{
29+
/// <summary>
30+
/// Gets the type of the data source
31+
/// </summary>
32+
/// <value>
33+
/// The type.
34+
/// </value>
2935
public DataLakeAnalyticsEnums.DataSourceType Type { get; private set; }
36+
37+
/// <summary>
38+
/// Gets the name of the data source
39+
/// </summary>
40+
/// <value>
41+
/// The name.
42+
/// </value>
3043
public string Name { get; private set; }
44+
45+
/// <summary>
46+
/// Gets a value indicating whether this data source is the default.
47+
/// </summary>
48+
/// <value>
49+
/// <c>true</c> if this data source is the default; otherwise, <c>false</c>.
50+
/// </value>
3151
public bool IsDefault { get; private set; }
3252

53+
/// <summary>
54+
/// Initializes a new instance of the <see cref="AdlDataSource"/> class.
55+
/// </summary>
56+
/// <param name="dataSourceInfo">The data source information.</param>
57+
/// <param name="isDefault">if set to <c>true</c> [is default].</param>
3358
public AdlDataSource(DataLakeStoreAccountInfo dataSourceInfo, bool isDefault = false)
3459
{
3560
Name = dataSourceInfo.Name;
3661
Type = DataLakeAnalyticsEnums.DataSourceType.DataLakeStore;
3762
IsDefault = isDefault;
3863
}
3964

65+
/// <summary>
66+
/// Initializes a new instance of the <see cref="AdlDataSource"/> class.
67+
/// </summary>
68+
/// <param name="dataSourceInfo">The data source information.</param>
4069
public AdlDataSource(StorageAccountInfo dataSourceInfo)
4170
{
4271
Name = dataSourceInfo.Name;

0 commit comments

Comments
 (0)