/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public bool Contains( AssemblyMethod value ) { // If value is not of type Int16, this will return false. return( List.Contains( value ) ); }
/// <summary> /// /// </summary> /// <param name="value"></param> public void Remove( AssemblyMethod value ) { List.Remove( value ); }
/// <summary> /// /// </summary> /// <param name="index"></param> /// <param name="value"></param> public void Insert( int index, AssemblyMethod value ) { List.Insert( index, value ); }
/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public int IndexOf( AssemblyMethod value ) { return( List.IndexOf( value ) ); }
/// <summary> /// /// </summary> /// <param name="value"></param> /// <returns></returns> public int Add( AssemblyMethod value ) { return( List.Add( value ) ); }
private void FillMethods(MethodInfo[] pMethodsInfo) { foreach (MethodInfo wMethod in pMethodsInfo) { //Cargo los metodos if (wMethod.DeclaringType.Namespace == this.m_Namespace) { AssemblyMethod wAssMethod = new AssemblyMethod (wMethod); this.m_Methods.Add(wAssMethod); } } }