private void HandleValueFormatterDetectionModeChanges() { if (detectionMode != Configuration.Current.ValueFormatterDetectionMode) { detectionMode = Configuration.Current.ValueFormatterDetectionMode; formatters = null; } }
private void HandleValueFormatterDetectionModeChanges() { if (detectionMode != Configuration.Current.ValueFormatterDetectionMode) { detectionMode = Configuration.Current.ValueFormatterDetectionMode; formatters = null; } }
private static bool Applicable(Assembly assembly) { var configuration = Configuration.Current; ValueFormatterDetectionMode mode = configuration.ValueFormatterDetectionMode; return((mode == ValueFormatterDetectionMode.Scan) || ( (mode == ValueFormatterDetectionMode.Specific) && assembly.FullName.Split(',')[0].Equals(configuration.ValueFormatterAssembly, StringComparison.CurrentCultureIgnoreCase))); }