Beispiel #1
0
 /// <summary>
 /// Calls <see cref="FarNet.Explorer.GetFiles"/>.
 /// </summary>
 /// <param name="args">.</param>
 public virtual IEnumerable <FarFile> UIGetFiles(GetFilesEventArgs args)
 {
     return(Explorer.GetFiles(args));
 }
Beispiel #2
0
 /// <summary>
 /// Returns the files.
 /// </summary>
 /// <param name="args">.</param>
 /// <remarks>
 /// <para>
 /// The method should choose the type of the result list carefully.
 /// The caller does not make a copy, it users the result as it is.
 /// The caller may iterate through the list many times.
 /// The caller assumes that the list is never changed.
 /// If this is not the case then the method has to return a copy.
 /// But it is fine to reuse or update the same list on next calls.
 /// </para>
 /// <include file='doc.xml' path='doc/ExplorerModes/*'/>
 /// </remarks>
 public abstract IList <FarFile> GetFiles(GetFilesEventArgs args);
Beispiel #3
0
 /// <summary>
 /// Returns the files.
 /// </summary>
 /// <param name="args">.</param>
 /// <remarks>
 /// <para>
 /// If the result is not <c>IList</c> then it is enumerated once and copied.
 /// If the result is <c>IList</c> then it may be used several times.
 /// This list must not change until the next <c>GetFiles</c>.
 /// </para>
 /// <include file='doc.xml' path='doc/ExplorerModes/*'/>
 /// </remarks>
 public abstract IEnumerable <FarFile> GetFiles(GetFilesEventArgs args);
Beispiel #4
0
 /// <summary>
 /// Calls <see cref="FarNet.Explorer.GetFiles"/>.
 /// </summary>
 /// <param name="args">.</param>
 public virtual IList <FarFile> UIGetFiles(GetFilesEventArgs args)
 {
     return(Explorer.GetFiles(args));
 }