Collections/IReadOnlyArray.cs
author moel.mich
Wed, 18 Jul 2012 22:47:30 +0000
changeset 368 1036b453f1f6
parent 165 813d8bc3192f
permissions -rw-r--r--
Added a missing default case in the mainboard specific configuration selection. The missing default case prevented sensor data from getting displayed on unknown Asus mainboards with NCT6779D super I/O.
moel@165
     1
/*
moel@165
     2
 
moel@344
     3
  This Source Code Form is subject to the terms of the Mozilla Public
moel@344
     4
  License, v. 2.0. If a copy of the MPL was not distributed with this
moel@344
     5
  file, You can obtain one at http://mozilla.org/MPL/2.0/.
moel@165
     6
 
moel@344
     7
  Copyright (C) 2009-2010 Michael Möller <mmoeller@openhardwaremonitor.org>
moel@344
     8
	
moel@165
     9
*/
moel@165
    10
moel@165
    11
using System;
moel@165
    12
using System.Collections.Generic;
moel@165
    13
moel@165
    14
namespace OpenHardwareMonitor.Collections {
moel@165
    15
moel@165
    16
  public interface IReadOnlyArray<T> : IEnumerable<T> {
moel@165
    17
moel@165
    18
    T this[int index] { get; }
moel@165
    19
moel@165
    20
    int Length { get; }
moel@165
    21
    
moel@165
    22
  }
moel@165
    23
}