public ConsumerPlugin(IProducerPlugin producer) { Type consumerType = this.GetType(); Type providerType = producer.GetType(); ConsoleLog.WriteAssemblyInformation("ConsumerPlugin - Constructor", consumerType, providerType); }
public void SetProducer(IProducerPlugin producer) { Type newProducerType = producer.GetType(); bool typeCheckResult = newProducerType == expectedProducerType; ConsoleLog.WriteAssemblyInformation( $"ConsumerPlugin - SetProducer - Type check result: {typeCheckResult} - [expected, provided]", expectedProducerType, newProducerType); }