public ApiMethodStatusAttribute(ApiMethodState state, string comment = null) { State = state; Comment = comment; }
/// <summary> /// Method used to describe API method state. Defaults to <see cref="EnumInfoProvider.GetElementName"/> /// </summary> /// <param name="state">Api method state</param> /// <returns>State description</returns> protected virtual string GetApiMethodStateName(ApiMethodState state) => EnumInfoProvider.GetElementName(state);