internal static void DefinitionContainsNoExports(Type type) { ArgumentNullException.ThrowIfNull(type); if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Discovery_DefinitionContainsNoExports, SR.CompositionTrace_Discovery_DefinitionContainsNoExports, type.GetDisplayName()); } }
internal static void DefinitionMarkedWithPartNotDiscoverableAttribute(Type type) { ArgumentNullException.ThrowIfNull(type); if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Discovery_DefinitionMarkedWithPartNotDiscoverableAttribute, SR.CompositionTrace_Discovery_DefinitionMarkedWithPartNotDiscoverableAttribute, type.GetDisplayName()); } }
internal static void PartDefinitionResurrected(ComposablePartDefinition definition) { ArgumentNullException.ThrowIfNull(definition); if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Rejection_DefinitionResurrected, SR.CompositionTrace_Rejection_DefinitionResurrected, definition.GetDisplayName()); } }
internal static void DefinitionMismatchedExportArity(Type type, MemberInfo member) { ArgumentNullException.ThrowIfNull(type); ArgumentNullException.ThrowIfNull(member); if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Discovery_DefinitionMismatchedExportArity, SR.CompositionTrace_Discovery_DefinitionMismatchedExportArity, type.GetDisplayName(), member.GetDisplayName()); } }
internal static void PartDefinitionResurrected(ComposablePartDefinition definition) { if (definition == null) { throw new ArgumentNullException(nameof(definition)); } if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Rejection_DefinitionResurrected, SR.CompositionTrace_Rejection_DefinitionResurrected, definition.GetDisplayName()); } }
internal static void DefinitionContainsNoExports(Type type) { if (type == null) { throw new ArgumentNullException(nameof(type)); } if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Discovery_DefinitionContainsNoExports, SR.CompositionTrace_Discovery_DefinitionContainsNoExports, type.GetDisplayName()); } }
public static void Registration_ConstructorConventionOverridden(Type type) { if (type == null) { throw new Exception(SR.Diagnostic_InternalExceptionMessage); } if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Registration_ConstructorConventionOverridden, SR.Registration_ConstructorConventionOverridden, type.FullName); } }
internal static void DefinitionMismatchedExportArity(Type type, MemberInfo member) { if (type == null) { throw new ArgumentNullException(nameof(type)); } if (member == null) { throw new ArgumentNullException(nameof(member)); } if (CompositionTraceSource.CanWriteInformation) { CompositionTraceSource.WriteInformation(CompositionTraceId.Discovery_DefinitionMismatchedExportArity, SR.CompositionTrace_Discovery_DefinitionMismatchedExportArity, type.GetDisplayName(), member.GetDisplayName()); } }