C# Class LtiLibrary.Core.Extensions.NameValueCollectionExtensions

Afficher le fichier Open project: andyfmiller/LtiLibrary

Méthodes publiques

Méthode Description
AddParameter ( this parameters, string name, DocumentTarget value ) : void
AddParameter ( this parameters, string name, IList values ) : void
AddParameter ( this parameters, string name, System.Int64 value ) : void
AddParameter ( this parameters, string name, LisContextType value ) : void
AddParameter ( this parameters, string name, int value ) : void
AddParameter ( this parameters, string name, string value ) : void
ToNormalizedString ( this collection ) : string

Return a normalized string of parameters suitable for OAuth 1.0 signature base string as defined by https://tools.ietf.org/html/rfc5849#section-3.4.1.3.2

Method Details

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, DocumentTarget value ) : void
parameters this
name string
value DocumentTarget
Résultat void

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, IList values ) : void
parameters this
name string
values IList
Résultat void

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, System.Int64 value ) : void
parameters this
name string
value System.Int64
Résultat void

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, LisContextType value ) : void
parameters this
name string
value LisContextType
Résultat void

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, int value ) : void
parameters this
name string
value int
Résultat void

AddParameter() public static méthode

public static AddParameter ( this parameters, string name, string value ) : void
parameters this
name string
value string
Résultat void

ToNormalizedString() public static méthode

Return a normalized string of parameters suitable for OAuth 1.0 signature base string as defined by https://tools.ietf.org/html/rfc5849#section-3.4.1.3.2
public static ToNormalizedString ( this collection ) : string
collection this The list of name/value pairs to normalize.
Résultat string