static private EncodeCustomVariables ( |
||
customVariables | Custom variables to encode. | |
리턴 | string |
internal static string EncodeCustomVariables(ScopedCustomVariableSlot[] customVariables)
{
return UtmeEncoder.Encode("8", customVariables.Select(c => c == null ? null : c.Variable.Name).ToArray())
+ UtmeEncoder.Encode("9", customVariables.Select(c => c == null ? null : c.Variable.Value).ToArray())
+ UtmeEncoder.Encode("11", customVariables.Select(c => c == null ? null : GetScopeIdentity(c.Scope)).ToArray());
}