Esempio n. 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);
 }
Esempio n. 2
0
 /// <summary>
 ///     Create an empty shell link object
 /// </summary>
 public ShellLink() {
     theShellLinkObject = new ShellLinkCoClass();
     shellLink = (IShellLink)theShellLinkObject;
     dataList = (IShellLinkDataList)theShellLinkObject;
     consoleProperties = new ConsoleProperties(this);
 }
Esempio n. 3
0
        public object Clone()
        {
            var clone = new ConsoleProperties(this);

            return(clone);
        }
Esempio n. 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);
 }
Esempio n. 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);
 }