Exemplo n.º 1
0
        int IList.Add(object value)
        {
            PSDataCollection <T> .VerifyValueType(value);

            int count = this.data.Count;

            this.InternalAdd(Guid.Empty, (T)value);
            this.RaiseEvents(Guid.Empty, count);
            return(count);
        }
Exemplo n.º 2
0
        object IList.this[int index]
        {
            get
            {
                return(this[index]);
            }
            set
            {
                PSDataCollection <T> .VerifyValueType(value);

                this[index] = (T)value;
            }
        }
Exemplo n.º 3
0
        void IList.Remove(object value)
        {
            PSDataCollection <T> .VerifyValueType(value);

            this.Remove((T)value);
        }
Exemplo n.º 4
0
        void IList.Insert(int index, object value)
        {
            PSDataCollection <T> .VerifyValueType(value);

            this.Insert(index, (T)value);
        }
Exemplo n.º 5
0
        int IList.IndexOf(object value)
        {
            PSDataCollection <T> .VerifyValueType(value);

            return(this.IndexOf((T)value));
        }
Exemplo n.º 6
0
        bool IList.Contains(object value)
        {
            PSDataCollection <T> .VerifyValueType(value);

            return(this.Contains((T)value));
        }