H
Hazzard
I have a method which takes a Token object as an argument in GetPassword
below.
Token.cs is a custom class in another assembly/namespace.
Do I need to add a reference to the assembly containing the Token class to
use an instance of that Token object passed in as an argument to the local
namespace/assembly as listed below?
(eg. using AssemblyContainingToken
namespace local
public class local
public local() //ctor
{
//
}
public string GetPassword(Token token)
{
Users getDBPassword = new Users();
if (token is A.B.UserNameToken)
{
statement;
}
}
}
thank you,
hazz
below.
Token.cs is a custom class in another assembly/namespace.
Do I need to add a reference to the assembly containing the Token class to
use an instance of that Token object passed in as an argument to the local
namespace/assembly as listed below?
(eg. using AssemblyContainingToken

namespace local
public class local
public local() //ctor
{
//
}
public string GetPassword(Token token)
{
Users getDBPassword = new Users();
if (token is A.B.UserNameToken)
{
statement;
}
}
}
thank you,
hazz