CSharpAnalytics.Protocols.Urchin.CustomVariables.ScopedCustomVariableSlot.ScopedCustomVariableSlot C# (CSharp) Метод

ScopedCustomVariableSlot() публичный Метод

Create a new ScopedCustomVariableSlot with a given variable, scope and slot index.
public ScopedCustomVariableSlot ( CustomVariableScope scope, ICustomVariable variable, int slot ) : System
scope CustomVariableScope Scope of this custom variable.
variable ICustomVariable Custom variable.
slot int Slot index for this custom variable.
Результат System
        public ScopedCustomVariableSlot(CustomVariableScope scope, ICustomVariable variable, int slot)
        {
            if (!Enum.IsDefined(typeof(CustomVariableScope), scope))
                throw new ArgumentOutOfRangeException("scope");

            this.scope = scope;
            this.variable = variable;
            this.slot = slot;
        }
ScopedCustomVariableSlot