revert to VB and update to new project file format
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Pilz.Reflection.PluginSystem.Attributes
|
||||
{
|
||||
public class PluginFunctionAttribute : Attribute
|
||||
{
|
||||
public string FunctionCode { get; private set; }
|
||||
public object[] Params { get; private set; }
|
||||
|
||||
/// <summary/>
|
||||
/// <param name="funcCode">The function code for this PluginFunction.</param>
|
||||
/// <param name="params">The parameters for this PluginFunction.</param>
|
||||
public PluginFunctionAttribute(string funcCode, params object[] @params)
|
||||
{
|
||||
FunctionCode = funcCode;
|
||||
Params = @params;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
Namespace Attributes
|
||||
|
||||
Public Class PluginFunctionAttribute
|
||||
Inherits Attribute
|
||||
|
||||
Public ReadOnly Property FunctionCode As String
|
||||
Public ReadOnly Property Params As Object()
|
||||
|
||||
''' <summary/>
|
||||
''' <param name="funcCode">The function code for this PluginFunction.</param>
|
||||
''' <param name="params">The parameters for this PluginFunction.</param>
|
||||
Public Sub New(funcCode As String, ParamArray params As Object())
|
||||
Me.FunctionCode = funcCode
|
||||
Me.Params = params
|
||||
End Sub
|
||||
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
@@ -1,8 +0,0 @@
|
||||
using System;
|
||||
|
||||
namespace Pilz.Reflection.PluginSystem.Attributes
|
||||
{
|
||||
public class LoadMethodAttribute : Attribute
|
||||
{
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
Namespace Attributes
|
||||
|
||||
Public Class LoadMethodAttribute
|
||||
Inherits Attribute
|
||||
End Class
|
||||
|
||||
End Namespace
|
||||
Reference in New Issue
Block a user