CHAOS.Portal.Client.Standard.Managers.MCMTypesManager.ClientFormatTypeGet C# (CSharp) Method

ClientFormatTypeGet() private method

private ClientFormatTypeGet ( ServiceResponse response, object token ) : void
response ServiceResponse
token object
return void
		private void ClientFormatTypeGet(ServiceResponse<PagedResult<FormatType>> response, object token)
		{
			if (response.Error != null)
			{
				ServiceFailed(this, new DataEventArgs<Exception>(response.Error));
				return;
			}

			foreach (var formatType in response.Body.Results)
				_formatTypes.Add(formatType);
		}