예제 #1
0
        /// <summary>
        /// Returns true if StringBooleanMap instances are equal
        /// </summary>
        /// <param name="input">Instance of StringBooleanMap to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(StringBooleanMap input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
예제 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="MapTest" /> class.
 /// </summary>
 /// <param name="mapMapOfString">mapMapOfString.</param>
 /// <param name="mapOfEnumString">mapOfEnumString.</param>
 /// <param name="directMap">directMap.</param>
 /// <param name="indirectMap">indirectMap.</param>
 public MapTest(Dictionary <string, Dictionary <string, string> > mapMapOfString = default(Dictionary <string, Dictionary <string, string> >), Dictionary <string, InnerEnum> mapOfEnumString = default(Dictionary <string, InnerEnum>), Dictionary <string, bool?> directMap = default(Dictionary <string, bool?>), StringBooleanMap indirectMap = default(StringBooleanMap))
 {
     this.MapMapOfString  = mapMapOfString;
     this.MapOfEnumString = mapOfEnumString;
     this.DirectMap       = directMap;
     this.IndirectMap     = indirectMap;
 }