Exemple #1
0
 /// <summary>
 ///     Create an empty shell link object
 /// </summary>
 public ShellLink()
 {
     theShellLinkObject = new ShellLinkCoClass();
     shellLink          = (IShellLink)theShellLinkObject;
     dataList           = (IShellLinkDataList)theShellLinkObject;
     consoleProperties  = new ConsoleProperties(this);
 }
 /// <summary>
 ///     Create an empty shell link object
 /// </summary>
 public ShellLink() {
     theShellLinkObject = new ShellLinkCoClass();
     shellLink = (IShellLink)theShellLinkObject;
     dataList = (IShellLinkDataList)theShellLinkObject;
     consoleProperties = new ConsoleProperties(this);
 }
Exemple #3
0
        public object Clone()
        {
            var clone = new ConsoleProperties(this);

            return(clone);
        }
Exemple #4
0
 /// <summary>
 ///     Makes a copy of another ConsoleProperty
 /// </summary>
 /// <remarks>
 ///     Note that the 'owner' field is not copied here.
 /// </remarks>
 public ConsoleProperties(ConsoleProperties another)
 {
     nt_console_props = another.nt_console_props;
     colorTable       = new ColorTable(this);
 }
Exemple #5
0
 internal ColorTable(ConsoleProperties owner)
 {
     this.owner = owner;
 }
 public object Clone() {
     var clone = new ConsoleProperties(this);
     return clone;
 }
 /// <summary>
 ///     Makes a copy of another ConsoleProperty
 /// </summary>
 /// <remarks>
 ///     Note that the 'owner' field is not copied here.
 /// </remarks>
 public ConsoleProperties(ConsoleProperties another) {
     nt_console_props = another.nt_console_props;
     colorTable = new ColorTable(this);
 }