Skip to content

Commit

Permalink
Project renamed to DotNetSnmp due to nuget id conflict
Browse files Browse the repository at this point in the history
  • Loading branch information
mvenditto committed Oct 27, 2022
1 parent d180db1 commit bae9bad
Show file tree
Hide file tree
Showing 102 changed files with 305 additions and 266 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1
namespace DotNetSnmp.Asn1
{
/// <summary>
/// Try to consume an OctetString, optionally asserting an expected value
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1
namespace DotNetSnmp.Asn1
{
public static class AsnSerializableExtensions
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.Serialization
namespace DotNetSnmp.Asn1.Serialization
{
public static class AsnTypes
{
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.Serialization
namespace DotNetSnmp.Asn1.Serialization
{
public interface IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.Serialization
namespace DotNetSnmp.Asn1.Serialization
{
public static class SnmpAsnTags
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Runtime.Serialization;

namespace SnmpDotNet.Asn1.Serialization
namespace DotNetSnmp.Asn1.Serialization
{
public class SnmpDecodeException : Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
/// <summary>
/// The Counter32 type represents a non-negative integer which
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct Counter64(ulong Value) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct EndOfMibView : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
/// <summary>
/// The Gauge32 type represents a non-negative integer, which may
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct Integer32(int Value) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;
using System.Text;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
/// <summary>
/// The IpAddress type represents a 32-bit internet address. It is
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct NoSuchInstance : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct NoSuchObject : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct Null : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;
using System.Text;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct ObjectIdentifier(string Oid) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;
using System.Text;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct OctetString : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct Opaque(byte[] OctetString) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct OpaqueCounter64(ulong Value) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct OpaqueInteger64(long Value) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
/// <summary>
/// The TimeTicks type represents a non-negative integer which represents
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct Unsigned32(uint Value) : IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Buffers.Binary;

namespace SnmpDotNet.Common.Helpers
namespace DotNetSnmp.Common.Helpers
{
public static class BinaryHelpers
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand All @@ -11,7 +11,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SnmpDotNet.Asn1\SnmpDotNet.Asn1.csproj" />
<ProjectReference Include="..\DotNetSnmp.Asn1\DotNetSnmp.Asn1.csproj" />
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions SnmpDotNet.Common/Pdu.cs → DotNetSnmp.Common/Pdu.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using SnmpDotNet.Asn1.Serialization;
using SnmpDotNet.Asn1.SyntaxObjects;
using DotNetSnmp.Asn1.Serialization;
using DotNetSnmp.Asn1.SyntaxObjects;
using System.Formats.Asn1;

namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public abstract class Pdu: IAsnSerializable, ICloneable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public enum PduErrorStatus : byte
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public enum ProtocolVersion
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public enum SecurityLevel: byte
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public enum SecurityModel: byte
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Common.Definitions
namespace DotNetSnmp.Common.Definitions
{
public abstract class SnmpMessage: IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using SnmpDotNet.Common.Definitions;
using DotNetSnmp.Common.Definitions;

namespace SnmpDotNet.Common
namespace DotNetSnmp.Common
{
public class SnmpRequestException : Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using System.Text;

namespace SnmpDotNet
namespace DotNetSnmp
{
public static class StringExtensions
{
Expand Down
4 changes: 2 additions & 2 deletions SnmpDotNet.Common/VarBind.cs → DotNetSnmp.Common/VarBind.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.Serialization;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public readonly record struct VarBind: IAsnSerializable
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using SnmpDotNet.Asn1.SyntaxObjects;
using SnmpDotNet.Asn1.Serialization;
using DotNetSnmp.Asn1.SyntaxObjects;
using DotNetSnmp.Asn1.Serialization;
using System.Collections;
using System.Diagnostics;
using System.Formats.Asn1;

namespace SnmpDotNet.Asn1.SyntaxObjects
namespace DotNetSnmp.Asn1.SyntaxObjects
{
public class VarBindList: IAsnSerializable, IEnumerable<VarBind>
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
Expand All @@ -11,10 +11,10 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SnmpDotNet.Transport\SnmpDotNet.Transport.csproj" />
<ProjectReference Include="..\SnmpDotNet.V1\SnmpDotNet.V1.csproj" />
<ProjectReference Include="..\SnmpDotNet.V2c\SnmpDotNet.V2c.csproj" />
<ProjectReference Include="..\SnmpDotNet.V3\SnmpDotNet.V3.csproj" />
<ProjectReference Include="..\DotNetSnmp.Transport\DotNetSnmp.Transport.csproj" />
<ProjectReference Include="..\DotNetSnmp.V1\DotNetSnmp.V1.csproj" />
<ProjectReference Include="..\DotNetSnmp.V2c\DotNetSnmp.V2c.csproj" />
<ProjectReference Include="..\DotNetSnmp.V3\DotNetSnmp.V3.csproj" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using SnmpDotNet.Common.Definitions;
using SnmpDotNet.Transport.Targets;
using DotNetSnmp.Common.Definitions;
using DotNetSnmp.Transport.Targets;
using System.Net;

namespace SnmpDotNet.Client
namespace DotNetSnmp.Client
{
public interface IMessageProcessingModel
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
using SnmpDotNet.Common.Definitions;
using SnmpDotNet.Transport;
using SnmpDotNet.Transport.Targets;
using DotNetSnmp.Common.Definitions;
using DotNetSnmp.Transport;
using DotNetSnmp.Transport.Targets;
using System.Net;

namespace SnmpDotNet.Client
namespace DotNetSnmp.Client
{
public interface ISnmpDispatcher
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace SnmpDotNet.Client
namespace DotNetSnmp.Client
{
public enum MessageProcessingResult
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
using SnmpDotNet.Common.Definitions;
using SnmpDotNet.Transport;
using SnmpDotNet.Transport.Targets;
using SnmpDotNet.Asn1;
using DotNetSnmp.Common.Definitions;
using DotNetSnmp.Transport;
using DotNetSnmp.Transport.Targets;
using DotNetSnmp.Asn1;
using System.Net;

namespace SnmpDotNet.Client
namespace DotNetSnmp.Client
{
public class SnmpDispatcher : ISnmpDispatcher
{
Expand Down
Loading

0 comments on commit bae9bad

Please sign in to comment.