Bridge.React.Analyser.DynamicChildrenUniqueIdWorkaroundAnalyser.IsBridgeClass C# (CSharp) Method

IsBridgeClass() private static method

private static IsBridgeClass ( ITypeSymbol type, string className ) : bool
type ITypeSymbol
className string
return bool
		private static bool IsBridgeClass(ITypeSymbol type, string className)
		{
			if (type == null)
				throw new ArgumentNullException(nameof(type));
			if (string.IsNullOrWhiteSpace(className))
				throw new ArgumentException($"Null/blank {nameof(className)} specified");

			return 
				(type.ContainingAssembly.Identity.Name == "Bridge") &&
				(type.Name == className);
		}