mirror of https://github.com/abpframework/abp.git
committed by
GitHub
2 changed files with 24 additions and 3 deletions
@ -1,10 +1,31 @@ |
|||
using System; |
|||
using System.Collections; |
|||
using System.Collections.Generic; |
|||
|
|||
namespace Volo.Abp.Http.Client.ClientProxying |
|||
{ |
|||
public class ClientProxyRequestTypeValue : Dictionary<Type, object> |
|||
public class ClientProxyRequestTypeValue : IEnumerable<KeyValuePair<Type, object>> |
|||
{ |
|||
public List<KeyValuePair<Type, object>> Values { get; private set; } |
|||
|
|||
public ClientProxyRequestTypeValue() |
|||
{ |
|||
Values = new List<KeyValuePair<Type, object>>(); |
|||
} |
|||
|
|||
public void Add(Type type, object value) |
|||
{ |
|||
Values.Add(new KeyValuePair<Type, object>(type, value)); |
|||
} |
|||
|
|||
public IEnumerator<KeyValuePair<Type, object>> GetEnumerator() |
|||
{ |
|||
return Values.GetEnumerator(); |
|||
} |
|||
|
|||
IEnumerator IEnumerable.GetEnumerator() |
|||
{ |
|||
return GetEnumerator(); |
|||
} |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue