/// <summary> /// Invokes indexer on the specified instance. /// </summary> /// <param name="instance">Instance of the type.</param> /// <param name="index">Index arguments.</param> public virtual IMember Index(IPythonInstance instance, IArgumentSet args) => instance?.Index(args) ?? UnknownType;
/// <summary> /// Invokes indexer on the specified instance. /// </summary> /// <param name="instance">Instance of the type.</param> /// <param name="index">Index arguments.</param> public virtual IMember Index(IPythonInstance instance, object index) => instance?.Index(index) ?? UnknownType;