Esempio n. 1
0
        public override bool Equals(object o)
        {
            if (this == o)
            {
                return(true);
            }

            if (o == null || !(o is SetOfBaseTypes))
            {
                return(false);
            }

            SetOfBaseTypes that = (SetOfBaseTypes)o;

            if (!Utilities.Utilities.Equals(doubles, that.doubles))
            {
                return(false);
            }

            if (!Utilities.Utilities.Equals(integers, that.integers))
            {
                return(false);
            }

            if (!Utilities.Utilities.Equals(strings, that.strings))
            {
                return(false);
            }

            return(true);
        }
Esempio n. 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,
                           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;
 }