private void ReadApiLogMode() { var apiLogAttr = this.GetAttribute <ApiLogAttribute>(); if (apiLogAttr != null) { _logMode = apiLogAttr.Mode; } }
public ApiLogAttribute(ApiLogMode mode) { Mode = mode; }
public ApiLogAttribute() { Mode = ApiLogMode.Both; }