Example #1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }

            if (o == null)
            {
                return(false);
            }

            CyclicDependency that = (CyclicDependency)o;

            if (!one.Equals(that.one))
            {
                return(false);
            }

            if (!two.Equals(that.two))
            {
                return(false);
            }

            return(true);
        }
Example #2
0
 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;
 }