-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathVsPackageReadResult.cs
More file actions
31 lines (25 loc) · 1.04 KB
/
VsPackageReadResult.cs
File metadata and controls
31 lines (25 loc) · 1.04 KB
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
//*****************************************************************************
//* Code Factory SDK
//* Copyright (c) 2021 CodeFactory, LLC
//*****************************************************************************
namespace CodeFactory.VisualStudio.Loader
{
/// <summary>
/// Data class that returns the results from reading from different parts of a Code Factory package.
/// </summary>
public class PackageReadResult<T> where T : class
{
/// <summary>
/// Flag that determines if an error has occurred during the reading of a part of a package.
/// </summary>
public bool HasError { get; set; }
/// <summary>
/// Error message that occurred while reading from the package. This will be null if there is no error.
/// </summary>
public string Error { get; set; }
/// <summary>
/// The result that was returned from reading the package. This will be null if there was an error.
/// </summary>
public T Result { get; set; }
}
}