Class NamesViewModel
Represents a view model for the named items in top of a text editor to show classes and methods.
public class NamesViewModel : PropertyChangedBase, INotifyPropertyChangedEx, INotifyPropertyChanged
  - Inheritance
 - 
      
      PropertyChangedBaseNamesViewModel
 
- Implements
 - 
      INotifyPropertyChangedEx
 
- Inherited Members
 - 
    PropertyChangedBase.Refresh()PropertyChangedBase.IsNotifyingPropertyChangedBase.PropertyChanged
 
Constructors
NamesViewModel(TextFileViewModel, INamesProvider)
Initializes a new instance of the NamesViewModel class.
public NamesViewModel(TextFileViewModel textFileViewModel, INamesProvider namesProvider)
  Parameters
textFileViewModelTextFileViewModelAssociated text file view model.
namesProviderINamesProviderProvider that provides the names.
Exceptions
- ArgumentNullException
 Thrown when an argument is null.
- ArgumentException
 Thrown when ProjectItem is not of type TextProjectItem.
Properties
CurrentSecondLevelName
Gets or sets the current second level name.
public IName CurrentSecondLevelName { get; set; }
  Property Value
CurrentTopLevelName
Gets or sets the current top level name.
public IName CurrentTopLevelName { get; set; }
  Property Value
NameWasFound
Gets a value indicating whether th CurrentName was found in Names.
public bool NameWasFound { get; }
  Property Value
SecondLevelNames
Gets the second level names (e.g. methods of a class).
public IEnumerable<IName> SecondLevelNames { get; }
  Property Value
TopLevelNames
Gets the top level names (e.g. classes).
public IEnumerable<IName> TopLevelNames { get; }