Exemple #1
0
 public AutoInstrumentEnterExitAttribute(AutoInstrumentationState state)
 {
     m_state = state;
 }
Exemple #2
0
 /// <summary>
 /// Creates a new instance of the AutoInstrumentEnterExitAttribute attribute.
 /// </summary>
 /// <param name="autoInstrument">True to automatically instrument the target, false to skip it.</param>
 public AutoInstrumentEnterExitAttribute(bool autoInstrument)
 {
     m_state = (autoInstrument ? AutoInstrumentationState.Requested : AutoInstrumentationState.NotInstrumented);
 }