ServiceManager/Utility/StatusResponse.cs
/// <summary>
/// Gets the status details of <paramref name="detailType"/> contained in the <paramref name="status"/>.
/// </summary>
/// <param name="status">The status.</param>
/// <param name="detailType">Type of the detail.</param>
/// <returns>The status details of <paramref name="detailType"/>.</returns>
Gets the status details of  contained in the .
Gets the status details of contained in the .
public static StatusDetail[] GetStatusDetails(Status status, StatusDetailType detailType)
        {
            List<StatusDetail> retVal = new List<StatusDetail>(status.statusDetail.Length);
            for (int i = 0; i < status.statusDetail.Length; i++)
                if (status.statusDetail[i].type == detailType)
                {
                    retVal.Add(status.statusDetail[i]);
                }
            return retVal.ToArray();
        }
public static StatusDetail [ ] GetStatusDetails ( Status status , StatusDetailType detailType ) { List < StatusDetail > retVal = new List < StatusDetail > ( status . statusDetail . Length ) ; for ( int i = 0 ; i < status . statusDetail . Length ; i ++ ) if ( status . statusDetail [ i ] . type == detailType ) { retVal . Add ( status . statusDetail [ i ] ) ; } return retVal . ToArray ( ) ; }
Gets the status details of  contained in the .
Gets the status details of contained in the .
The status details of .
The status details of .
status
Status
None
detailType
StatusDetailType
Type of the detail.
Type of the detail .