This is a VB script class:
Imports Microsoft.VisualBasic
Public Class EmailTemplateParser
Public Shared Function ConfigureEktronGroups(ByVal
identity As String, ByVal secret As String) As String
Return identity + secret
End Function
End Class
I can populate a web forms label using the class like so:
Partial Class _Default
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object,
ByVal e As System.EventArgs) Handles Me.Load
Dim emailTemplateParser As EmailTemplateParser
Label1.Text = emailTemplateParser.
ConfigureEktronGroups("hello", "world")
End Sub
End Class
No comments:
Post a Comment