Table of Contents

Class ExtensionMethods

Namespace
NetCoreForce.Client
Assembly
NetCoreForce.Client.dll
public static class ExtensionMethods
Inheritance
ExtensionMethods
Inherited Members

Methods

AddRange<TKey, TValue>(Dictionary<TKey, TValue>, Dictionary<TKey, TValue>)

Add all key pairs from another dictionary

public static void AddRange<TKey, TValue>(this Dictionary<TKey, TValue> dictionary, Dictionary<TKey, TValue> range)

Parameters

dictionary Dictionary<TKey, TValue>
range Dictionary<TKey, TValue>

Type Parameters

TKey
TValue

LowercaseFirstLetter(string)

Lowercase the first letter in the string.

public static string LowercaseFirstLetter(this string value)

Parameters

value string

Returns

string

ToSfDateString(DateTimeOffset)

Convert DateTimeOffset to a Salesforce-compatible string

public static string ToSfDateString(this DateTimeOffset value)

Parameters

value DateTimeOffset

Returns

string

UppercaseFirstLetter(string)

Uppercase the first letter in the string.

public static string UppercaseFirstLetter(this string value)

Parameters

value string

Returns

string