1

We have a similar implementation in C# in our project. However, we use VB code in other project and need the same implementation.

A is an object C is an object B is a cloneinjection class

Thus

A.InjectFrom<CloneInjection>(C)

Says that CloneInjection is a type but can not be used as an expression. Please help me correct this error as I didnt find much directions from google.

Jasmine
  • 5,186
  • 16
  • 62
  • 114

1 Answers1

2

Try A.InjectFrom(Of CloneInjection)(C).

Enigmativity
  • 113,464
  • 11
  • 89
  • 172