NTP Analyzer  0.8.2
Analyze the operation of time servers
Ntp.Common.IO.ResponseFileSource Class Reference
Inheritance diagram for Ntp.Common.IO.ResponseFileSource:
Collaboration diagram for Ntp.Common.IO.ResponseFileSource:

Public Member Functions

override bool GetArguments (string value, out IEnumerable< string > replacement)
 
override string[] GetNames ()
 

Public Attributes

override string Description => "Read response file for more options."
 

Additional Inherited Members

- Static Public Member Functions inherited from Ntp.Common.IO.ArgumentSource
static IEnumerable< string > GetArguments (TextReader reader)
 
static IEnumerable< string > GetArgumentsFromFile (string file)
 
- Properties inherited from Ntp.Common.IO.ArgumentSource
abstract string Description [get]
 

Detailed Description

Definition at line 726 of file Options.cs.

Member Function Documentation

override bool Ntp.Common.IO.ResponseFileSource.GetArguments ( string  value,
out IEnumerable< string >  replacement 
)
inlinevirtual

Implements Ntp.Common.IO.ArgumentSource.

Definition at line 730 of file Options.cs.

731  {
732  if (string.IsNullOrEmpty(value) || !value.StartsWith("@"))
733  {
734  replacement = null;
735  return false;
736  }
737  replacement = GetArgumentsFromFile(value.Substring(1));
738  return true;
739  }
static IEnumerable< string > GetArgumentsFromFile(string file)
Definition: Options.cs:664
override string [] Ntp.Common.IO.ResponseFileSource.GetNames ( )
inlinevirtual

Implements Ntp.Common.IO.ArgumentSource.

Definition at line 741 of file Options.cs.

742  {
743  return new[] {"@file"};
744  }

Member Data Documentation

override string Ntp.Common.IO.ResponseFileSource.Description => "Read response file for more options."

Definition at line 728 of file Options.cs.


The documentation for this class was generated from the following file: