public override bool Equals(object o) { if (this == o) { return(true); } if (o == null) { return(false); } InjectableClass that = (InjectableClass)o; if (magicNumber != that.magicNumber) { return(false); } return(true); }
public RootImplementation([Parameter(typeof(TestConfigurationModuleBuilder.RequiredString))] string requiredString, [Parameter(typeof(TestConfigurationModuleBuilder.OptionalString))] string optionalString, [Parameter(typeof(TestConfigurationModuleBuilder.NamedParameterInteger))] int anInt, [Parameter(typeof(TestConfigurationModuleBuilder.NamedParameterDouble))] double aDouble, IAnInterface anInterface, InjectableClass injectableClass, SetOfImplementations setOfImplementations, SetOfBaseTypes setOfBaseTypes, //ListOfBaseTypes listOfBaseTypes, //TODO: to recover once Avro NuGet support it CyclicDependency cyclicDependency) { this.requiredString = requiredString; this.optionalString = optionalString; this.anInterface = anInterface; this.anInt = anInt; this.aDouble = aDouble; this.injectableClass = injectableClass; this.setOfImplementations = setOfImplementations; this.setOfBaseTypes = setOfBaseTypes; //this.listOfBaseTypes = listOfBaseTypes; //TODO: to recover once Avro NuGet support it this.cyclicDependency = cyclicDependency; }