Exemplo n.º 1
0
 public EngineConfig(
     PlaceholderConfig placeholder,
     ArrayConfig arrayConfig,
     ConditionConfig condition)
 {
     this.Placeholder = placeholder;
     this.Array       = arrayConfig;
     this.Condition   = condition;
 }
Exemplo n.º 2
0
                public override int GetHashCode()
                {
                    int hash = 1;

                    if (FieldPath.Length != 0)
                    {
                        hash ^= FieldPath.GetHashCode();
                    }
                    if (valueModeCase_ == ValueModeOneofCase.Order)
                    {
                        hash ^= Order.GetHashCode();
                    }
                    if (valueModeCase_ == ValueModeOneofCase.ArrayConfig)
                    {
                        hash ^= ArrayConfig.GetHashCode();
                    }
                    hash ^= (int)valueModeCase_;
                    if (_unknownFields != null)
                    {
                        hash ^= _unknownFields.GetHashCode();
                    }
                    return(hash);
                }