mirror of https://github.com/dahall/Vanara.git
Fixed warnings for XML docs and obsolete uses
parent
02c4896b98
commit
2c388d80a3
|
@ -115,6 +115,7 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
NLM_ENUM_NETWORK_ALL = 0x03
|
NLM_ENUM_NETWORK_ALL = 0x03
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||||
[Flags]
|
[Flags]
|
||||||
[PInvokeData("Netlistmgr.h")]
|
[PInvokeData("Netlistmgr.h")]
|
||||||
public enum NLM_INTERNET_CONNECTIVITY
|
public enum NLM_INTERNET_CONNECTIVITY
|
||||||
|
@ -123,6 +124,7 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
NLM_INTERNET_CONNECTIVITY_PROXIED = 0x2,
|
NLM_INTERNET_CONNECTIVITY_PROXIED = 0x2,
|
||||||
NLM_INTERNET_CONNECTIVITY_CORPORATE = 0x4
|
NLM_INTERNET_CONNECTIVITY_CORPORATE = 0x4
|
||||||
}
|
}
|
||||||
|
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
|
||||||
|
|
||||||
/// <summary>The NLM_NETWORK_CATEGORY enumeration is a set of flags that specify the category type of a network.</summary>
|
/// <summary>The NLM_NETWORK_CATEGORY enumeration is a set of flags that specify the category type of a network.</summary>
|
||||||
[PInvokeData("Netlistmgr.h")]
|
[PInvokeData("Netlistmgr.h")]
|
||||||
|
@ -138,6 +140,7 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED
|
NLM_NETWORK_CATEGORY_DOMAIN_AUTHENTICATED
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
|
||||||
[Flags]
|
[Flags]
|
||||||
[PInvokeData("Netlistmgr.h")]
|
[PInvokeData("Netlistmgr.h")]
|
||||||
public enum NLM_NETWORK_CLASS
|
public enum NLM_NETWORK_CLASS
|
||||||
|
@ -146,6 +149,7 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
NLM_NETWORK_IDENTIFIED = 0x2,
|
NLM_NETWORK_IDENTIFIED = 0x2,
|
||||||
NLM_NETWORK_UNIDENTIFIED = 0x3
|
NLM_NETWORK_UNIDENTIFIED = 0x3
|
||||||
}
|
}
|
||||||
|
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member
|
||||||
|
|
||||||
/// <summary>The NLM_NETWORK_PROPERTY_CHANGE enumeration is a set of flags that define changes made to the properties of a network.</summary>
|
/// <summary>The NLM_NETWORK_PROPERTY_CHANGE enumeration is a set of flags that define changes made to the properties of a network.</summary>
|
||||||
[PInvokeData("Netlistmgr.h")]
|
[PInvokeData("Netlistmgr.h")]
|
||||||
|
@ -176,6 +180,8 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
[PInvokeData("Netlistmgr.h", MSDNShortId = "aa370706")]
|
[PInvokeData("Netlistmgr.h", MSDNShortId = "aa370706")]
|
||||||
public interface IEnumNetworkConnections : IEnumerable
|
public interface IEnumNetworkConnections : IEnumerable
|
||||||
{
|
{
|
||||||
|
/// <summary>Returns an enumerator that iterates through a collection.</summary>
|
||||||
|
/// <returns>An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.</returns>
|
||||||
[DispId(-4)]
|
[DispId(-4)]
|
||||||
#if (NET20 || NET35 || NET40 || NET45)
|
#if (NET20 || NET35 || NET40 || NET45)
|
||||||
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "", MarshalTypeRef = typeof(System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler), MarshalCookie = "")]
|
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "", MarshalTypeRef = typeof(System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler), MarshalCookie = "")]
|
||||||
|
@ -213,6 +219,8 @@ namespace Vanara.PInvoke.NetListMgr
|
||||||
[PInvokeData("Netlistmgr.h", MSDNShortId = "aa370735")]
|
[PInvokeData("Netlistmgr.h", MSDNShortId = "aa370735")]
|
||||||
public interface IEnumNetworks : IEnumerable
|
public interface IEnumNetworks : IEnumerable
|
||||||
{
|
{
|
||||||
|
/// <summary>Returns an enumerator that iterates through a collection.</summary>
|
||||||
|
/// <returns>An <see cref="T:System.Collections.IEnumerator"/> object that can be used to iterate through the collection.</returns>
|
||||||
[DispId(-4)]
|
[DispId(-4)]
|
||||||
#if (NET20 || NET35 || NET40 || NET45)
|
#if (NET20 || NET35 || NET40 || NET45)
|
||||||
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "", MarshalTypeRef = typeof(System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler), MarshalCookie = "")]
|
[return: MarshalAs(UnmanagedType.CustomMarshaler, MarshalType = "", MarshalTypeRef = typeof(System.Runtime.InteropServices.CustomMarshalers.EnumeratorToEnumVariantMarshaler), MarshalCookie = "")]
|
||||||
|
|
|
@ -46,6 +46,7 @@ ITask, ITaskScheduler, IAction, IActionCollection, IBootTrigger, IComHandlerActi
|
||||||
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
<PropertyGroup Condition="'$(Configuration)'=='Release'">
|
||||||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
|
||||||
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
|
||||||
|
<NoWarn>0618</NoWarn>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<None Include="..\..\docs\icons\Vanara64x64.png" Pack="true" PackagePath="\" />
|
<None Include="..\..\docs\icons\Vanara64x64.png" Pack="true" PackagePath="\" />
|
||||||
|
|
Loading…
Reference in New Issue