Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ AddValueToStoreValue< T >()

static void System.Net.Http.Headers.HttpHeaders.AddValueToStoreValue< T > ( T value,
ref object currentStoreValue )
inlinestaticprivateinherited
Type Constraints
T :class 

Definition at line 762 of file HttpHeaders.cs.

762 : class
763 {
764 if (currentStoreValue == null)
765 {
767 return;
768 }
770 if (list == null)
771 {
772 list = new List<T>(2);
773 list.Add((T)currentStoreValue);
775 }
776 list.Add(value);
777 }
void Add(TKey key, TValue value)

References System.Collections.Generic.Dictionary< TKey, TValue >.Add(), System.list, and System.value.