internal static void TraceCall(TcPlugin plugin, TraceLevel level, string callSignature, string result) { #if TRACE var text = callSignature + (string.IsNullOrEmpty(result) ? null : ": " + result); if (plugin != null) { if (plugin.WriteTrace || level == TraceLevel.Error) { TraceOut(level, text, plugin.TraceTitle); } } else { TraceOut(level, text, null); } #endif }
protected PluginPassword(TcPlugin plugin, int cryptoNumber, int flags) { _plugin = plugin; _cryptoNumber = cryptoNumber; _flags = (CryptFlags)flags; }