public static GetInstance ( object obj ) : |
||
obj | object | |
return |
public static RC2CbcParameter GetInstance(
object obj)
{
if (obj is Asn1Sequence)
{
return new RC2CbcParameter((Asn1Sequence) obj);
}
throw new ArgumentException("Unknown object in factory: " + obj.GetType().FullName, "obj");
}