This question is locked. New answers and comments are not allowed.
I am receiving a warning on my delegate methods:
VB.NET: Inner type name does not match file name
Perhaps best-practices suggest that I am not placing the delegate method in the correct assembly, but I cannot find any good guidance on this matter. My code looks like this:
Is there a better way for me to handle declaring delegate functions? Or is the warning just not necessary?
Thanks -
Brad Harris
VB.NET: Inner type name does not match file name
Perhaps best-practices suggest that I am not placing the delegate method in the correct assembly, but I cannot find any good guidance on this matter. My code looks like this:
Public Class Test Public Delegate Function MyDelegate(ByVal value As String) As Boolean Public Function DoIt(ByVal value As String, ByVal method As MyDelegate) As Boolean Return method(value) End FunctionEnd ClassIs there a better way for me to handle declaring delegate functions? Or is the warning just not necessary?
Thanks -
Brad Harris