public override InitialSessionStateEntry Clone()
        {
            SessionStateApplicationEntry applicationEntry = new SessionStateApplicationEntry(this._path, this.Visibility);

            applicationEntry.SetModule(this.Module);
            return((InitialSessionStateEntry)applicationEntry);
        }
Beispiel #2
0
 /// <summary>
 /// Add an new SessionState cmdlet entry to this session state object...
 /// </summary>
 /// <param name="entry">The entry to add</param>
 internal void AddSessionStateEntry(SessionStateApplicationEntry entry)
 {
     this.Applications.Add(entry.Path);
 }