Пример #1
0
        /// <summary>
        /// Builds a <seealso cref="EventValueDescription"/> with a name and a type, and a <seealso cref="ValueType"/>.
        /// <p/> </summary>
        /// <param name="name"> </param>
        /// <param name="type"> </param>
        /// <param name="valueType"> </param>
        /// <exception cref="InvalidValueTypeException"> if type and valuetype are not compatible.
        ///  </exception>
//JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
//ORIGINAL LINE: EventValueDescription(String name, com.android.ddmlib.log.EventContainer.EventValueType type, ValueType valueType) throws InvalidValueTypeException
        internal EventValueDescription(string name, EventContainer.EventValueTypes type, ValueTypes valueType)
        {
            mName           = name;
            mEventValueType = type;
            mValueType      = valueType;
            mValueType.checkType(mEventValueType);
        }
Пример #2
0
 /// <summary>
 /// Builds a <seealso cref="EventValueDescription"/> with a name and a type, and a <seealso cref="ValueType"/>.
 /// <p/> </summary>
 /// <param name="name"> </param>
 /// <param name="type"> </param>
 /// <param name="valueType"> </param>
 /// <exception cref="InvalidValueTypeException"> if type and valuetype are not compatible.
 ///  </exception>
 //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET:
 //ORIGINAL LINE: EventValueDescription(String name, com.android.ddmlib.log.EventContainer.EventValueType type, ValueType valueType) throws InvalidValueTypeException
 internal EventValueDescription(string name, EventContainer.EventValueTypes type, ValueTypes valueType)
 {
     mName = name;
     mEventValueType = type;
     mValueType = valueType;
     mValueType.checkType(mEventValueType);
 }