AjScript.ObjectUtilities.GetIndexedValue C# (CSharp) 메소드

GetIndexedValue() 개인적인 정적인 메소드

private static GetIndexedValue ( IDictionary dictionary, object indexes ) : object
dictionary IDictionary
indexes object
리턴 object
        private static object GetIndexedValue(IDictionary dictionary, object[] indexes)
        {
            if (indexes.Length != 1)
                throw new InvalidOperationException("Invalid number of subindices");

            return dictionary[indexes[0]];
        }

Same methods

ObjectUtilities::GetIndexedValue ( IList list, object indexes ) : object
ObjectUtilities::GetIndexedValue ( System array, object indexes ) : object
ObjectUtilities::GetIndexedValue ( object obj, object indexes ) : object