This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
+75
View File
@@ -0,0 +1,75 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents a unique command identifier that consists of a numeric command ID and a GUID menu group identifier.</summary>
// Token: 0x0200003D RID: 61
[ComVisible(true)]
public class CommandID
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.CommandID" /> class using the specified menu group GUID and command ID number.</summary>
/// <param name="menuGroup">The GUID of the group that this menu command belongs to. </param>
/// <param name="commandID">The numeric identifier of this menu command. </param>
// Token: 0x0600029B RID: 667 RVA: 0x00009598 File Offset: 0x00007798
public CommandID(Guid menuGroup, int commandID)
{
this.cID = commandID;
this.guid = menuGroup;
}
/// <summary>Gets the GUID of the menu group that the menu command identified by this <see cref="T:System.ComponentModel.Design.CommandID" /> belongs to.</summary>
/// <returns>The GUID of the command group for this command.</returns>
// Token: 0x170000BC RID: 188
// (get) Token: 0x0600029C RID: 668 RVA: 0x000095B0 File Offset: 0x000077B0
public virtual Guid Guid
{
get
{
return this.guid;
}
}
/// <summary>Gets the numeric command ID.</summary>
/// <returns>The command ID number.</returns>
// Token: 0x170000BD RID: 189
// (get) Token: 0x0600029D RID: 669 RVA: 0x000095B8 File Offset: 0x000077B8
public virtual int ID
{
get
{
return this.cID;
}
}
/// <summary>Determines whether two <see cref="T:System.ComponentModel.Design.CommandID" /> instances are equal.</summary>
/// <returns>true if the specified object is equivalent to this one; otherwise, false.</returns>
/// <param name="obj">The object to compare. </param>
// Token: 0x0600029E RID: 670 RVA: 0x000095C0 File Offset: 0x000077C0
public override bool Equals(object obj)
{
return obj is CommandID && (obj == this || (((CommandID)obj).Guid.Equals(this.guid) && ((CommandID)obj).ID.Equals(this.cID)));
}
/// <returns>A hash code for the current <see cref="T:System.Object" />.</returns>
// Token: 0x0600029F RID: 671 RVA: 0x00009620 File Offset: 0x00007820
public override int GetHashCode()
{
return this.guid.GetHashCode() ^ this.cID.GetHashCode();
}
/// <summary>Returns a <see cref="T:System.String" /> that represents the current object.</summary>
/// <returns>A string that contains the command ID information, both the GUID and integer identifier. </returns>
// Token: 0x060002A0 RID: 672 RVA: 0x0000963C File Offset: 0x0000783C
public override string ToString()
{
return this.guid.ToString() + " : " + this.cID.ToString();
}
// Token: 0x040000B8 RID: 184
private int cID;
// Token: 0x040000B9 RID: 185
private Guid guid;
}
}
@@ -0,0 +1,85 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanged" /> event. This class cannot be inherited.</summary>
// Token: 0x0200003E RID: 62
[ComVisible(true)]
public sealed class ComponentChangedEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.ComponentChangedEventArgs" /> class.</summary>
/// <param name="component">The component that was changed. </param>
/// <param name="member">A <see cref="T:System.ComponentModel.MemberDescriptor" /> that represents the member that was changed. </param>
/// <param name="oldValue">The old value of the changed member. </param>
/// <param name="newValue">The new value of the changed member. </param>
// Token: 0x060002A1 RID: 673 RVA: 0x0000966C File Offset: 0x0000786C
public ComponentChangedEventArgs(object component, MemberDescriptor member, object oldValue, object newValue)
{
this.component = component;
this.member = member;
this.oldValue = oldValue;
this.newValue = newValue;
}
/// <summary>Gets the component that was modified.</summary>
/// <returns>An <see cref="T:System.Object" /> that represents the component that was modified.</returns>
// Token: 0x170000BE RID: 190
// (get) Token: 0x060002A2 RID: 674 RVA: 0x00009694 File Offset: 0x00007894
public object Component
{
get
{
return this.component;
}
}
/// <summary>Gets the member that has been changed.</summary>
/// <returns>A <see cref="T:System.ComponentModel.MemberDescriptor" /> that indicates the member that has been changed.</returns>
// Token: 0x170000BF RID: 191
// (get) Token: 0x060002A3 RID: 675 RVA: 0x0000969C File Offset: 0x0000789C
public MemberDescriptor Member
{
get
{
return this.member;
}
}
/// <summary>Gets the new value of the changed member.</summary>
/// <returns>The new value of the changed member. This property can be null.</returns>
// Token: 0x170000C0 RID: 192
// (get) Token: 0x060002A4 RID: 676 RVA: 0x000096A4 File Offset: 0x000078A4
public object NewValue
{
get
{
return this.oldValue;
}
}
/// <summary>Gets the old value of the changed member.</summary>
/// <returns>The old value of the changed member. This property can be null.</returns>
// Token: 0x170000C1 RID: 193
// (get) Token: 0x060002A5 RID: 677 RVA: 0x000096AC File Offset: 0x000078AC
public object OldValue
{
get
{
return this.newValue;
}
}
// Token: 0x040000BA RID: 186
private object component;
// Token: 0x040000BB RID: 187
private MemberDescriptor member;
// Token: 0x040000BC RID: 188
private object oldValue;
// Token: 0x040000BD RID: 189
private object newValue;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents the method that will handle a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanged" /> event.</summary>
/// <param name="sender">The source of the event. </param>
/// <param name="e">A <see cref="T:System.ComponentModel.Design.ComponentChangedEventArgs" /> that contains the event data. </param>
// Token: 0x0200031B RID: 795
// (Invoke) Token: 0x06001C45 RID: 7237
[ComVisible(true)]
public delegate void ComponentChangedEventHandler(object sender, ComponentChangedEventArgs e);
}
@@ -0,0 +1,51 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanging" /> event. This class cannot be inherited.</summary>
// Token: 0x0200003F RID: 63
[ComVisible(true)]
public sealed class ComponentChangingEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.ComponentChangingEventArgs" /> class.</summary>
/// <param name="component">The component that is about to be changed. </param>
/// <param name="member">A <see cref="T:System.ComponentModel.MemberDescriptor" /> indicating the member of the component that is about to be changed. </param>
// Token: 0x060002A6 RID: 678 RVA: 0x000096B4 File Offset: 0x000078B4
public ComponentChangingEventArgs(object component, MemberDescriptor member)
{
this.component = component;
this.member = member;
}
/// <summary>Gets the component that is about to be changed or the component that is the parent container of the member that is about to be changed.</summary>
/// <returns>The component that is about to have a member changed.</returns>
// Token: 0x170000C2 RID: 194
// (get) Token: 0x060002A7 RID: 679 RVA: 0x000096CC File Offset: 0x000078CC
public object Component
{
get
{
return this.component;
}
}
/// <summary>Gets the member that is about to be changed.</summary>
/// <returns>A <see cref="T:System.ComponentModel.MemberDescriptor" /> indicating the member that is about to be changed, if known, or null otherwise.</returns>
// Token: 0x170000C3 RID: 195
// (get) Token: 0x060002A8 RID: 680 RVA: 0x000096D4 File Offset: 0x000078D4
public MemberDescriptor Member
{
get
{
return this.member;
}
}
// Token: 0x040000BE RID: 190
private object component;
// Token: 0x040000BF RID: 191
private MemberDescriptor member;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents the method that will handle a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanging" /> event.</summary>
/// <param name="sender">The source of the event. </param>
/// <param name="e">A <see cref="T:System.ComponentModel.Design.ComponentChangingEventArgs" /> event that contains the event data. </param>
// Token: 0x0200031C RID: 796
// (Invoke) Token: 0x06001C49 RID: 7241
[ComVisible(true)]
public delegate void ComponentChangingEventHandler(object sender, ComponentChangingEventArgs e);
}
@@ -0,0 +1,34 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdded" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdding" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoved" />, and <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoving" /> events.</summary>
// Token: 0x02000040 RID: 64
[ComVisible(true)]
public class ComponentEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.ComponentEventArgs" /> class.</summary>
/// <param name="component">The component that is the source of the event. </param>
// Token: 0x060002A9 RID: 681 RVA: 0x000096DC File Offset: 0x000078DC
public ComponentEventArgs(IComponent component)
{
this.icomp = component;
}
/// <summary>Gets the component associated with the event.</summary>
/// <returns>The component associated with the event.</returns>
// Token: 0x170000C4 RID: 196
// (get) Token: 0x060002AA RID: 682 RVA: 0x000096EC File Offset: 0x000078EC
public virtual IComponent Component
{
get
{
return this.icomp;
}
}
// Token: 0x040000C0 RID: 192
private IComponent icomp;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents the method that will handle the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdding" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentAdded" />, <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoving" />, and <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRemoved" /> events raised for component-level events.</summary>
/// <param name="sender">The source of the event. </param>
/// <param name="e">A <see cref="T:System.ComponentModel.Design.ComponentEventArgs" /> that contains the event data. </param>
// Token: 0x0200031D RID: 797
// (Invoke) Token: 0x06001C4D RID: 7245
[ComVisible(true)]
public delegate void ComponentEventHandler(object sender, ComponentEventArgs e);
}
@@ -0,0 +1,68 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRename" /> event.</summary>
// Token: 0x02000041 RID: 65
[ComVisible(true)]
public class ComponentRenameEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.ComponentRenameEventArgs" /> class.</summary>
/// <param name="component">The component to be renamed. </param>
/// <param name="oldName">The old name of the component. </param>
/// <param name="newName">The new name of the component. </param>
// Token: 0x060002AB RID: 683 RVA: 0x000096F4 File Offset: 0x000078F4
public ComponentRenameEventArgs(object component, string oldName, string newName)
{
this.component = component;
this.oldName = oldName;
this.newName = newName;
}
/// <summary>Gets the component that is being renamed.</summary>
/// <returns>The component that is being renamed.</returns>
// Token: 0x170000C5 RID: 197
// (get) Token: 0x060002AC RID: 684 RVA: 0x00009714 File Offset: 0x00007914
public object Component
{
get
{
return this.component;
}
}
/// <summary>Gets the name of the component after the rename event.</summary>
/// <returns>The name of the component after the rename event.</returns>
// Token: 0x170000C6 RID: 198
// (get) Token: 0x060002AD RID: 685 RVA: 0x0000971C File Offset: 0x0000791C
public virtual string NewName
{
get
{
return this.newName;
}
}
/// <summary>Gets the name of the component before the rename event.</summary>
/// <returns>The previous name of the component.</returns>
// Token: 0x170000C7 RID: 199
// (get) Token: 0x060002AE RID: 686 RVA: 0x00009724 File Offset: 0x00007924
public virtual string OldName
{
get
{
return this.oldName;
}
}
// Token: 0x040000C1 RID: 193
private object component;
// Token: 0x040000C2 RID: 194
private string oldName;
// Token: 0x040000C3 RID: 195
private string newName;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents the method that will handle a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentRename" /> event.</summary>
/// <param name="sender">The source of the event. </param>
/// <param name="e">A <see cref="T:System.ComponentModel.Design.ComponentRenameEventArgs" /> that contains the event data. </param>
// Token: 0x0200031E RID: 798
// (Invoke) Token: 0x06001C51 RID: 7249
[ComVisible(true)]
public delegate void ComponentRenameEventHandler(object sender, ComponentRenameEventArgs e);
}
@@ -0,0 +1,127 @@
using System;
namespace System.ComponentModel.Design
{
/// <summary>Provides a way to group a series of design-time actions to improve performance and enable most types of changes to be undone.</summary>
// Token: 0x02000042 RID: 66
public abstract class DesignerTransaction : IDisposable
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> class with no description.</summary>
// Token: 0x060002AF RID: 687 RVA: 0x0000972C File Offset: 0x0000792C
protected DesignerTransaction()
: this(string.Empty)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> class using the specified transaction description.</summary>
/// <param name="description">A description for this transaction. </param>
// Token: 0x060002B0 RID: 688 RVA: 0x0000973C File Offset: 0x0000793C
protected DesignerTransaction(string description)
{
this.description = description;
this.committed = false;
this.canceled = false;
}
/// <summary>Releases all resources used by the <see cref="T:System.ComponentModel.Design.DesignerTransaction" />. </summary>
// Token: 0x060002B1 RID: 689 RVA: 0x0000975C File Offset: 0x0000795C
void IDisposable.Dispose()
{
this.Dispose(true);
}
/// <summary>Releases the unmanaged resources used by the <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> and optionally releases the managed resources.</summary>
/// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources. </param>
// Token: 0x060002B2 RID: 690 RVA: 0x00009768 File Offset: 0x00007968
protected virtual void Dispose(bool disposing)
{
this.Cancel();
if (disposing)
{
GC.SuppressFinalize(true);
}
}
/// <summary>Raises the Cancel event.</summary>
// Token: 0x060002B3 RID: 691
protected abstract void OnCancel();
/// <summary>Performs the actual work of committing a transaction.</summary>
// Token: 0x060002B4 RID: 692
protected abstract void OnCommit();
/// <summary>Cancels the transaction and attempts to roll back the changes made by the events of the transaction.</summary>
// Token: 0x060002B5 RID: 693 RVA: 0x00009784 File Offset: 0x00007984
public void Cancel()
{
if (!this.Canceled && !this.Committed)
{
this.canceled = true;
this.OnCancel();
}
}
/// <summary>Commits this transaction.</summary>
// Token: 0x060002B6 RID: 694 RVA: 0x000097AC File Offset: 0x000079AC
public void Commit()
{
if (!this.Canceled && !this.Committed)
{
this.committed = true;
this.OnCommit();
}
}
/// <summary>Gets a value indicating whether the transaction was canceled.</summary>
/// <returns>true if the transaction was canceled; otherwise, false.</returns>
// Token: 0x170000C8 RID: 200
// (get) Token: 0x060002B7 RID: 695 RVA: 0x000097D4 File Offset: 0x000079D4
public bool Canceled
{
get
{
return this.canceled;
}
}
/// <summary>Gets a value indicating whether the transaction was committed.</summary>
/// <returns>true if the transaction was committed; otherwise, false.</returns>
// Token: 0x170000C9 RID: 201
// (get) Token: 0x060002B8 RID: 696 RVA: 0x000097DC File Offset: 0x000079DC
public bool Committed
{
get
{
return this.committed;
}
}
/// <summary>Gets a description for the transaction.</summary>
/// <returns>A description for the transaction.</returns>
// Token: 0x170000CA RID: 202
// (get) Token: 0x060002B9 RID: 697 RVA: 0x000097E4 File Offset: 0x000079E4
public string Description
{
get
{
return this.description;
}
}
/// <summary>Releases the resources associated with this object. This override commits this transaction if it was not already committed.</summary>
// Token: 0x060002BA RID: 698 RVA: 0x000097EC File Offset: 0x000079EC
~DesignerTransaction()
{
this.Dispose(false);
}
// Token: 0x040000C4 RID: 196
private string description;
// Token: 0x040000C5 RID: 197
private bool committed;
// Token: 0x040000C6 RID: 198
private bool canceled;
}
}
@@ -0,0 +1,60 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides data for the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosed" /> and <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosing" /> events.</summary>
// Token: 0x02000043 RID: 67
[ComVisible(true)]
public class DesignerTransactionCloseEventArgs : EventArgs
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerTransactionCloseEventArgs" /> class. </summary>
/// <param name="commit">A value indicating whether the transaction was committed.</param>
/// <param name="lastTransaction">true if this is the last transaction to close; otherwise, false.</param>
// Token: 0x060002BB RID: 699 RVA: 0x00009828 File Offset: 0x00007A28
public DesignerTransactionCloseEventArgs(bool commit, bool lastTransaction)
{
this.commit = commit;
this.last_transaction = lastTransaction;
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerTransactionCloseEventArgs" /> class, using the specified value that indicates whether the designer called <see cref="M:System.ComponentModel.Design.DesignerTransaction.Commit" /> on the transaction.</summary>
/// <param name="commit">A value indicating whether the transaction was committed.</param>
// Token: 0x060002BC RID: 700 RVA: 0x00009840 File Offset: 0x00007A40
[Obsolete("Use another constructor that indicates lastTransaction")]
public DesignerTransactionCloseEventArgs(bool commit)
{
this.commit = commit;
}
/// <summary>Gets a value indicating whether this is the last transaction to close.</summary>
/// <returns>true, if this is the last transaction to close; otherwise, false. </returns>
// Token: 0x170000CB RID: 203
// (get) Token: 0x060002BD RID: 701 RVA: 0x00009850 File Offset: 0x00007A50
public bool LastTransaction
{
get
{
return this.last_transaction;
}
}
/// <summary>Indicates whether the designer called <see cref="M:System.ComponentModel.Design.DesignerTransaction.Commit" /> on the transaction.</summary>
/// <returns>true if the designer called <see cref="M:System.ComponentModel.Design.DesignerTransaction.Commit" /> on the transaction; otherwise, false.</returns>
// Token: 0x170000CC RID: 204
// (get) Token: 0x060002BE RID: 702 RVA: 0x00009858 File Offset: 0x00007A58
public bool TransactionCommitted
{
get
{
return this.commit;
}
}
// Token: 0x040000C7 RID: 199
private bool commit;
// Token: 0x040000C8 RID: 200
private bool last_transaction;
}
}
@@ -0,0 +1,13 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents the method that handles the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosed" /> and <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosing" /> events of a designer.</summary>
/// <param name="sender">The source of the event. </param>
/// <param name="e">A <see cref="T:System.ComponentModel.Design.DesignerTransactionCloseEventArgs" /> that contains the event data. </param>
// Token: 0x0200031F RID: 799
// (Invoke) Token: 0x06001C55 RID: 7253
[ComVisible(true)]
public delegate void DesignerTransactionCloseEventHandler(object sender, DesignerTransactionCloseEventArgs e);
}
@@ -0,0 +1,74 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents a verb that can be invoked from a designer.</summary>
// Token: 0x02000044 RID: 68
[ComVisible(true)]
public class DesignerVerb : MenuCommand
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerVerb" /> class.</summary>
/// <param name="text">The text of the menu command that is shown to the user. </param>
/// <param name="handler">The event handler that performs the actions of the verb. </param>
// Token: 0x060002BF RID: 703 RVA: 0x00009860 File Offset: 0x00007A60
public DesignerVerb(string text, EventHandler handler)
: this(text, handler, StandardCommands.VerbFirst)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerVerb" /> class.</summary>
/// <param name="text">The text of the menu command that is shown to the user. </param>
/// <param name="handler">The event handler that performs the actions of the verb. </param>
/// <param name="startCommandID">The starting command ID for this verb. By default, the designer architecture sets aside a range of command IDs for verbs. You can override this by providing a custom command ID. </param>
// Token: 0x060002C0 RID: 704 RVA: 0x00009870 File Offset: 0x00007A70
public DesignerVerb(string text, EventHandler handler, CommandID startCommandID)
: base(handler, startCommandID)
{
this.text = text;
}
/// <summary>Gets the text description for the verb command on the menu.</summary>
/// <returns>A description for the verb command.</returns>
// Token: 0x170000CD RID: 205
// (get) Token: 0x060002C1 RID: 705 RVA: 0x00009884 File Offset: 0x00007A84
public string Text
{
get
{
return this.text;
}
}
/// <summary>Gets or sets the description of the menu item for the verb.</summary>
/// <returns>A string describing the menu item. </returns>
// Token: 0x170000CE RID: 206
// (get) Token: 0x060002C2 RID: 706 RVA: 0x0000988C File Offset: 0x00007A8C
// (set) Token: 0x060002C3 RID: 707 RVA: 0x00009894 File Offset: 0x00007A94
public string Description
{
get
{
return this.description;
}
set
{
this.description = value;
}
}
/// <summary>Overrides <see cref="M:System.Object.ToString" />.</summary>
/// <returns>The verb's text, or an empty string ("") if the text field is empty.</returns>
// Token: 0x060002C4 RID: 708 RVA: 0x000098A0 File Offset: 0x00007AA0
public override string ToString()
{
return this.text + " : " + base.ToString();
}
// Token: 0x040000C9 RID: 201
private string text;
// Token: 0x040000CA RID: 202
private string description;
}
}
@@ -0,0 +1,155 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents a collection of <see cref="T:System.ComponentModel.Design.DesignerVerb" /> objects.</summary>
// Token: 0x02000045 RID: 69
[ComVisible(true)]
public class DesignerVerbCollection : CollectionBase
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerVerbCollection" /> class.</summary>
// Token: 0x060002C5 RID: 709 RVA: 0x000098B8 File Offset: 0x00007AB8
public DesignerVerbCollection()
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.DesignerVerbCollection" /> class using the specified array of <see cref="T:System.ComponentModel.Design.DesignerVerb" /> objects.</summary>
/// <param name="value">A <see cref="T:System.ComponentModel.Design.DesignerVerb" /> array that indicates the verbs to contain within the collection. </param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="value" /> is null.</exception>
// Token: 0x060002C6 RID: 710 RVA: 0x000098C0 File Offset: 0x00007AC0
public DesignerVerbCollection(DesignerVerb[] value)
{
base.InnerList.AddRange(value);
}
/// <summary>Gets or sets the <see cref="T:System.ComponentModel.Design.DesignerVerb" /> at the specified index.</summary>
/// <returns>A <see cref="T:System.ComponentModel.Design.DesignerVerb" /> at each valid index in the collection.</returns>
/// <param name="index">The index at which to get or set the <see cref="T:System.ComponentModel.Design.DesignerVerb" />. </param>
// Token: 0x170000CF RID: 207
public DesignerVerb this[int index]
{
get
{
return (DesignerVerb)base.InnerList[index];
}
set
{
base.InnerList[index] = value;
}
}
/// <summary>Adds the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" /> to the collection.</summary>
/// <returns>The index in the collection at which the verb was added.</returns>
/// <param name="value">The <see cref="T:System.ComponentModel.Design.DesignerVerb" /> to add to the collection. </param>
// Token: 0x060002C9 RID: 713 RVA: 0x000098F8 File Offset: 0x00007AF8
public int Add(DesignerVerb value)
{
return base.InnerList.Add(value);
}
/// <summary>Adds the specified set of designer verbs to the collection.</summary>
/// <param name="value">An array of <see cref="T:System.ComponentModel.Design.DesignerVerb" /> objects to add to the collection. </param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="value" /> is null.</exception>
// Token: 0x060002CA RID: 714 RVA: 0x00009908 File Offset: 0x00007B08
public void AddRange(DesignerVerb[] value)
{
base.InnerList.AddRange(value);
}
/// <summary>Adds the specified collection of designer verbs to the collection.</summary>
/// <param name="value">A <see cref="T:System.ComponentModel.Design.DesignerVerbCollection" /> to add to the collection. </param>
/// <exception cref="T:System.ArgumentNullException">
/// <paramref name="value" /> is null.</exception>
// Token: 0x060002CB RID: 715 RVA: 0x00009918 File Offset: 0x00007B18
public void AddRange(DesignerVerbCollection value)
{
base.InnerList.AddRange(value);
}
/// <summary>Gets a value indicating whether the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" /> exists in the collection.</summary>
/// <returns>true if the specified object exists in the collection; otherwise, false.</returns>
/// <param name="value">The <see cref="T:System.ComponentModel.Design.DesignerVerb" /> to search for in the collection. </param>
// Token: 0x060002CC RID: 716 RVA: 0x00009928 File Offset: 0x00007B28
public bool Contains(DesignerVerb value)
{
return base.InnerList.Contains(value);
}
/// <summary>Copies the collection members to the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" /> array beginning at the specified destination index.</summary>
/// <param name="array">The array to copy collection members to. </param>
/// <param name="index">The destination index to begin copying to. </param>
// Token: 0x060002CD RID: 717 RVA: 0x00009938 File Offset: 0x00007B38
public void CopyTo(DesignerVerb[] array, int index)
{
base.InnerList.CopyTo(array, index);
}
/// <summary>Gets the index of the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" />.</summary>
/// <returns>The index of the specified object if it is found in the list; otherwise, -1.</returns>
/// <param name="value">The <see cref="T:System.ComponentModel.Design.DesignerVerb" /> whose index to get in the collection. </param>
// Token: 0x060002CE RID: 718 RVA: 0x00009948 File Offset: 0x00007B48
public int IndexOf(DesignerVerb value)
{
return base.InnerList.IndexOf(value);
}
/// <summary>Inserts the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" /> at the specified index.</summary>
/// <param name="index">The index in the collection at which to insert the verb. </param>
/// <param name="value">The <see cref="T:System.ComponentModel.Design.DesignerVerb" /> to insert in the collection. </param>
// Token: 0x060002CF RID: 719 RVA: 0x00009958 File Offset: 0x00007B58
public void Insert(int index, DesignerVerb value)
{
base.InnerList.Insert(index, value);
}
/// <summary>Raises the Clear event.</summary>
// Token: 0x060002D0 RID: 720 RVA: 0x00009968 File Offset: 0x00007B68
protected override void OnClear()
{
}
/// <summary>Raises the Insert event.</summary>
/// <param name="index">The index at which to insert an item. </param>
/// <param name="value">The object to insert. </param>
// Token: 0x060002D1 RID: 721 RVA: 0x0000996C File Offset: 0x00007B6C
protected override void OnInsert(int index, object value)
{
}
/// <summary>Raises the Remove event.</summary>
/// <param name="index">The index at which to remove the item. </param>
/// <param name="value">The object to remove. </param>
// Token: 0x060002D2 RID: 722 RVA: 0x00009970 File Offset: 0x00007B70
protected override void OnRemove(int index, object value)
{
}
/// <summary>Raises the Set event.</summary>
/// <param name="index">The index at which to set the item. </param>
/// <param name="oldValue">The old object. </param>
/// <param name="newValue">The new object. </param>
// Token: 0x060002D3 RID: 723 RVA: 0x00009974 File Offset: 0x00007B74
protected override void OnSet(int index, object oldValue, object newValue)
{
}
/// <summary>Raises the Validate event.</summary>
/// <param name="value">The object to validate. </param>
// Token: 0x060002D4 RID: 724 RVA: 0x00009978 File Offset: 0x00007B78
protected override void OnValidate(object value)
{
}
/// <summary>Removes the specified <see cref="T:System.ComponentModel.Design.DesignerVerb" /> from the collection.</summary>
/// <param name="value">The <see cref="T:System.ComponentModel.Design.DesignerVerb" /> to remove from the collection. </param>
// Token: 0x060002D5 RID: 725 RVA: 0x0000997C File Offset: 0x00007B7C
public void Remove(DesignerVerb value)
{
base.InnerList.Remove(value);
}
}
}
@@ -0,0 +1,67 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface to add and remove the event handlers for events that add, change, remove or rename components, and provides methods to raise a <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanged" /> or <see cref="E:System.ComponentModel.Design.IComponentChangeService.ComponentChanging" /> event.</summary>
// Token: 0x02000046 RID: 70
[ComVisible(true)]
public interface IComponentChangeService
{
/// <summary>Occurs when a component has been added.</summary>
// Token: 0x14000001 RID: 1
// (add) Token: 0x060002D6 RID: 726
// (remove) Token: 0x060002D7 RID: 727
event ComponentEventHandler ComponentAdded;
/// <summary>Occurs when a component is in the process of being added.</summary>
// Token: 0x14000002 RID: 2
// (add) Token: 0x060002D8 RID: 728
// (remove) Token: 0x060002D9 RID: 729
event ComponentEventHandler ComponentAdding;
/// <summary>Occurs when a component has been changed.</summary>
// Token: 0x14000003 RID: 3
// (add) Token: 0x060002DA RID: 730
// (remove) Token: 0x060002DB RID: 731
event ComponentChangedEventHandler ComponentChanged;
/// <summary>Occurs when a component is in the process of being changed.</summary>
// Token: 0x14000004 RID: 4
// (add) Token: 0x060002DC RID: 732
// (remove) Token: 0x060002DD RID: 733
event ComponentChangingEventHandler ComponentChanging;
/// <summary>Occurs when a component has been removed.</summary>
// Token: 0x14000005 RID: 5
// (add) Token: 0x060002DE RID: 734
// (remove) Token: 0x060002DF RID: 735
event ComponentEventHandler ComponentRemoved;
/// <summary>Occurs when a component is in the process of being removed.</summary>
// Token: 0x14000006 RID: 6
// (add) Token: 0x060002E0 RID: 736
// (remove) Token: 0x060002E1 RID: 737
event ComponentEventHandler ComponentRemoving;
/// <summary>Occurs when a component is renamed.</summary>
// Token: 0x14000007 RID: 7
// (add) Token: 0x060002E2 RID: 738
// (remove) Token: 0x060002E3 RID: 739
event ComponentRenameEventHandler ComponentRename;
/// <summary>Announces to the component change service that a particular component has changed.</summary>
/// <param name="component">The component that has changed. </param>
/// <param name="member">The member that has changed. This is null if this change is not related to a single member. </param>
/// <param name="oldValue">The old value of the member. This is valid only if the member is not null. </param>
/// <param name="newValue">The new value of the member. This is valid only if the member is not null. </param>
// Token: 0x060002E4 RID: 740
void OnComponentChanged(object component, MemberDescriptor member, object oldValue, object newValue);
/// <summary>Announces to the component change service that a particular component is changing.</summary>
/// <param name="component">The component that is about to change. </param>
/// <param name="member">The member that is changing. This is null if this change is not related to a single member. </param>
// Token: 0x060002E5 RID: 741
void OnComponentChanging(object component, MemberDescriptor member);
}
}
+32
View File
@@ -0,0 +1,32 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides the basic framework for building a custom designer.</summary>
// Token: 0x02000047 RID: 71
[ComVisible(true)]
public interface IDesigner : IDisposable
{
/// <summary>Gets the base component that this designer is designing.</summary>
/// <returns>An <see cref="T:System.ComponentModel.IComponent" /> indicating the base component that this designer is designing.</returns>
// Token: 0x170000D0 RID: 208
// (get) Token: 0x060002E6 RID: 742
IComponent Component { get; }
/// <summary>Gets a collection of the design-time verbs supported by the designer.</summary>
/// <returns>A <see cref="T:System.ComponentModel.Design.DesignerVerbCollection" /> that contains the verbs supported by the designer, or null if the component has no verbs.</returns>
// Token: 0x170000D1 RID: 209
// (get) Token: 0x060002E7 RID: 743
DesignerVerbCollection Verbs { get; }
/// <summary>Performs the default action for this designer.</summary>
// Token: 0x060002E8 RID: 744
void DoDefaultAction();
/// <summary>Initializes the designer with the specified component.</summary>
/// <param name="component">The component to associate with this designer. </param>
// Token: 0x060002E9 RID: 745
void Initialize(IComponent component);
}
}
@@ -0,0 +1,134 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface for managing designer transactions and components.</summary>
// Token: 0x02000048 RID: 72
[ComVisible(true)]
public interface IDesignerHost : IServiceContainer, IServiceProvider
{
/// <summary>Occurs when this designer is activated.</summary>
// Token: 0x14000008 RID: 8
// (add) Token: 0x060002EA RID: 746
// (remove) Token: 0x060002EB RID: 747
event EventHandler Activated;
/// <summary>Occurs when this designer is deactivated.</summary>
// Token: 0x14000009 RID: 9
// (add) Token: 0x060002EC RID: 748
// (remove) Token: 0x060002ED RID: 749
event EventHandler Deactivated;
/// <summary>Occurs when this designer completes loading its document.</summary>
// Token: 0x1400000A RID: 10
// (add) Token: 0x060002EE RID: 750
// (remove) Token: 0x060002EF RID: 751
event EventHandler LoadComplete;
/// <summary>Adds an event handler for the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosed" /> event.</summary>
// Token: 0x1400000B RID: 11
// (add) Token: 0x060002F0 RID: 752
// (remove) Token: 0x060002F1 RID: 753
event DesignerTransactionCloseEventHandler TransactionClosed;
/// <summary>Adds an event handler for the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionClosing" /> event.</summary>
// Token: 0x1400000C RID: 12
// (add) Token: 0x060002F2 RID: 754
// (remove) Token: 0x060002F3 RID: 755
event DesignerTransactionCloseEventHandler TransactionClosing;
/// <summary>Adds an event handler for the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionOpened" /> event.</summary>
// Token: 0x1400000D RID: 13
// (add) Token: 0x060002F4 RID: 756
// (remove) Token: 0x060002F5 RID: 757
event EventHandler TransactionOpened;
/// <summary>Adds an event handler for the <see cref="E:System.ComponentModel.Design.IDesignerHost.TransactionOpening" /> event.</summary>
// Token: 0x1400000E RID: 14
// (add) Token: 0x060002F6 RID: 758
// (remove) Token: 0x060002F7 RID: 759
event EventHandler TransactionOpening;
/// <summary>Gets the container for this designer host.</summary>
/// <returns>The <see cref="T:System.ComponentModel.IContainer" /> for this host.</returns>
// Token: 0x170000D2 RID: 210
// (get) Token: 0x060002F8 RID: 760
IContainer Container { get; }
/// <summary>Gets a value indicating whether the designer host is currently in a transaction.</summary>
/// <returns>true if a transaction is in progress; otherwise, false.</returns>
// Token: 0x170000D3 RID: 211
// (get) Token: 0x060002F9 RID: 761
bool InTransaction { get; }
/// <summary>Gets a value indicating whether the designer host is currently loading the document.</summary>
/// <returns>true if the designer host is currently loading the document; otherwise, false.</returns>
// Token: 0x170000D4 RID: 212
// (get) Token: 0x060002FA RID: 762
bool Loading { get; }
/// <summary>Gets the instance of the base class used as the root component for the current design.</summary>
/// <returns>The instance of the root component class.</returns>
// Token: 0x170000D5 RID: 213
// (get) Token: 0x060002FB RID: 763
IComponent RootComponent { get; }
/// <summary>Gets the fully qualified name of the class being designed.</summary>
/// <returns>The fully qualified name of the base component class.</returns>
// Token: 0x170000D6 RID: 214
// (get) Token: 0x060002FC RID: 764
string RootComponentClassName { get; }
/// <summary>Gets the description of the current transaction.</summary>
/// <returns>A description of the current transaction.</returns>
// Token: 0x170000D7 RID: 215
// (get) Token: 0x060002FD RID: 765
string TransactionDescription { get; }
/// <summary>Activates the designer that this host is hosting.</summary>
// Token: 0x060002FE RID: 766
void Activate();
/// <summary>Creates a component of the specified type and adds it to the design document.</summary>
/// <returns>The newly created component.</returns>
/// <param name="componentClass">The type of the component to create. </param>
// Token: 0x060002FF RID: 767
IComponent CreateComponent(Type componentClass);
/// <summary>Creates a component of the specified type and name, and adds it to the design document.</summary>
/// <returns>The newly created component.</returns>
/// <param name="componentClass">The type of the component to create. </param>
/// <param name="name">The name for the component. </param>
// Token: 0x06000300 RID: 768
IComponent CreateComponent(Type componentClass, string name);
/// <summary>Creates a <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> that can encapsulate event sequences to improve performance and enable undo and redo support functionality.</summary>
/// <returns>A new instance of <see cref="T:System.ComponentModel.Design.DesignerTransaction" />. When you complete the steps in your transaction, you should call <see cref="M:System.ComponentModel.Design.DesignerTransaction.Commit" /> on this object.</returns>
// Token: 0x06000301 RID: 769
DesignerTransaction CreateTransaction();
/// <summary>Creates a <see cref="T:System.ComponentModel.Design.DesignerTransaction" /> that can encapsulate event sequences to improve performance and enable undo and redo support functionality, using the specified transaction description.</summary>
/// <returns>A new <see cref="T:System.ComponentModel.Design.DesignerTransaction" />. When you have completed the steps in your transaction, you should call <see cref="M:System.ComponentModel.Design.DesignerTransaction.Commit" /> on this object.</returns>
/// <param name="description">A title or description for the newly created transaction. </param>
// Token: 0x06000302 RID: 770
DesignerTransaction CreateTransaction(string description);
/// <summary>Destroys the specified component and removes it from the designer container.</summary>
/// <param name="component">The component to destroy. </param>
// Token: 0x06000303 RID: 771
void DestroyComponent(IComponent component);
/// <summary>Gets the designer instance that contains the specified component.</summary>
/// <returns>An <see cref="T:System.ComponentModel.Design.IDesigner" />, or null if there is no designer for the specified component.</returns>
/// <param name="component">The <see cref="T:System.ComponentModel.IComponent" /> to retrieve the designer for. </param>
// Token: 0x06000304 RID: 772
IDesigner GetDesigner(IComponent component);
/// <summary>Gets an instance of the specified, fully qualified type name.</summary>
/// <returns>The type object for the specified type name, or null if the type cannot be found.</returns>
/// <param name="typeName">The name of the type to load. </param>
// Token: 0x06000305 RID: 773
Type GetType(string typeName);
}
}
@@ -0,0 +1,38 @@
using System;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface for obtaining references to objects within a project by name or type, obtaining the name of a specified object, and for locating the parent of a specified object within a designer project.</summary>
// Token: 0x02000049 RID: 73
public interface IReferenceService
{
/// <summary>Gets the component that contains the specified component.</summary>
/// <returns>The base <see cref="T:System.ComponentModel.IComponent" /> that contains the specified object, or null if no parent component exists.</returns>
/// <param name="reference">The object to retrieve the parent component for. </param>
// Token: 0x06000306 RID: 774
IComponent GetComponent(object reference);
/// <summary>Gets the name of the specified component.</summary>
/// <returns>The name of the object referenced, or null if the object reference is not valid.</returns>
/// <param name="reference">The object to return the name of. </param>
// Token: 0x06000307 RID: 775
string GetName(object reference);
/// <summary>Gets a reference to the component whose name matches the specified name.</summary>
/// <returns>An object the specified name refers to, or null if no reference is found.</returns>
/// <param name="name">The name of the component to return a reference to. </param>
// Token: 0x06000308 RID: 776
object GetReference(string name);
/// <summary>Gets all available references to project components.</summary>
/// <returns>An array of all objects with references available to the <see cref="T:System.ComponentModel.Design.IReferenceService" />.</returns>
// Token: 0x06000309 RID: 777
object[] GetReferences();
/// <summary>Gets all available references to components of the specified type.</summary>
/// <returns>An array of all available objects of the specified type.</returns>
/// <param name="baseType">The type of object to return references to instances of. </param>
// Token: 0x0600030A RID: 778
object[] GetReferences(Type baseType);
}
}
@@ -0,0 +1,24 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides support for root-level designer view technologies.</summary>
// Token: 0x0200004A RID: 74
[ComVisible(true)]
public interface IRootDesigner : IDisposable, IDesigner
{
/// <summary>Gets the set of technologies that this designer can support for its display.</summary>
/// <returns>An array of supported <see cref="T:System.ComponentModel.Design.ViewTechnology" /> values.</returns>
// Token: 0x170000D8 RID: 216
// (get) Token: 0x0600030B RID: 779
ViewTechnology[] SupportedTechnologies { get; }
/// <summary>Gets a view object for the specified view technology.</summary>
/// <returns>An object that represents the view for this designer.</returns>
/// <param name="technology">A <see cref="T:System.ComponentModel.Design.ViewTechnology" /> that indicates a particular view technology.</param>
/// <exception cref="T:System.ArgumentException">The specified view technology is not supported or does not exist. </exception>
// Token: 0x0600030C RID: 780
object GetView(ViewTechnology technology);
}
}
@@ -0,0 +1,48 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides a container for services.</summary>
// Token: 0x0200004B RID: 75
[ComVisible(true)]
public interface IServiceContainer : IServiceProvider
{
/// <summary>Adds the specified service to the service container.</summary>
/// <param name="serviceType">The type of service to add. </param>
/// <param name="serviceInstance">An instance of the service type to add. This object must implement or inherit from the type indicated by the <paramref name="serviceType" /> parameter. </param>
// Token: 0x0600030D RID: 781
void AddService(Type serviceType, object serviceInstance);
/// <summary>Adds the specified service to the service container.</summary>
/// <param name="serviceType">The type of service to add. </param>
/// <param name="callback">A callback object that is used to create the service. This allows a service to be declared as available, but delays the creation of the object until the service is requested. </param>
// Token: 0x0600030E RID: 782
void AddService(Type serviceType, ServiceCreatorCallback callback);
/// <summary>Adds the specified service to the service container, and optionally promotes the service to any parent service containers.</summary>
/// <param name="serviceType">The type of service to add. </param>
/// <param name="serviceInstance">An instance of the service type to add. This object must implement or inherit from the type indicated by the <paramref name="serviceType" /> parameter. </param>
/// <param name="promote">true to promote this request to any parent service containers; otherwise, false. </param>
// Token: 0x0600030F RID: 783
void AddService(Type serviceType, object serviceInstance, bool promote);
/// <summary>Adds the specified service to the service container, and optionally promotes the service to parent service containers.</summary>
/// <param name="serviceType">The type of service to add. </param>
/// <param name="callback">A callback object that is used to create the service. This allows a service to be declared as available, but delays the creation of the object until the service is requested. </param>
/// <param name="promote">true to promote this request to any parent service containers; otherwise, false. </param>
// Token: 0x06000310 RID: 784
void AddService(Type serviceType, ServiceCreatorCallback callback, bool promote);
/// <summary>Removes the specified service type from the service container.</summary>
/// <param name="serviceType">The type of service to remove. </param>
// Token: 0x06000311 RID: 785
void RemoveService(Type serviceType);
/// <summary>Removes the specified service type from the service container, and optionally promotes the service to parent service containers.</summary>
/// <param name="serviceType">The type of service to remove. </param>
/// <param name="promote">true to promote this request to any parent service containers; otherwise, false. </param>
// Token: 0x06000312 RID: 786
void RemoveService(Type serviceType, bool promote);
}
}
@@ -0,0 +1,31 @@
using System;
using System.Collections;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface to modify the set of member descriptors for a component in design mode.</summary>
// Token: 0x0200004C RID: 76
public interface ITypeDescriptorFilterService
{
/// <summary>Filters the attributes that a component exposes through a <see cref="T:System.ComponentModel.TypeDescriptor" />.</summary>
/// <returns>true if the set of filtered attributes is to be cached; false if the filter service must query again.</returns>
/// <param name="component">The component to filter the attributes of. </param>
/// <param name="attributes">A dictionary of attributes that can be modified. </param>
// Token: 0x06000313 RID: 787
bool FilterAttributes(IComponent component, IDictionary attributes);
/// <summary>Filters the events that a component exposes through a <see cref="T:System.ComponentModel.TypeDescriptor" />.</summary>
/// <returns>true if the set of filtered events is to be cached; false if the filter service must query again.</returns>
/// <param name="component">The component to filter events for. </param>
/// <param name="events">A dictionary of events that can be modified. </param>
// Token: 0x06000314 RID: 788
bool FilterEvents(IComponent component, IDictionary events);
/// <summary>Filters the properties that a component exposes through a <see cref="T:System.ComponentModel.TypeDescriptor" />.</summary>
/// <returns>true if the set of filtered properties is to be cached; false if the filter service must query again.</returns>
/// <param name="component">The component to filter properties for. </param>
/// <param name="properties">A dictionary of properties that can be modified. </param>
// Token: 0x06000315 RID: 789
bool FilterProperties(IComponent component, IDictionary properties);
}
}
@@ -0,0 +1,55 @@
using System;
using System.Reflection;
namespace System.ComponentModel.Design
{
/// <summary>Provides an interface to retrieve an assembly or type by name.</summary>
// Token: 0x0200004D RID: 77
public interface ITypeResolutionService
{
/// <summary>Gets the requested assembly.</summary>
/// <returns>An instance of the requested assembly, or null if no assembly can be located.</returns>
/// <param name="name">The name of the assembly to retrieve. </param>
// Token: 0x06000316 RID: 790
Assembly GetAssembly(AssemblyName name);
/// <summary>Gets the requested assembly.</summary>
/// <returns>An instance of the requested assembly, or null if no assembly can be located.</returns>
/// <param name="name">The name of the assembly to retrieve. </param>
/// <param name="throwOnError">true if this method should throw an exception if the assembly cannot be located; otherwise, false, and this method returns null if the assembly cannot be located. </param>
// Token: 0x06000317 RID: 791
Assembly GetAssembly(AssemblyName name, bool throwOnError);
/// <summary>Gets the path to the file from which the assembly was loaded.</summary>
/// <returns>The path to the file from which the assembly was loaded.</returns>
/// <param name="name">The name of the assembly. </param>
// Token: 0x06000318 RID: 792
string GetPathOfAssembly(AssemblyName name);
/// <summary>Loads a type with the specified name.</summary>
/// <returns>An instance of <see cref="T:System.Type" /> that corresponds to the specified name, or null if no type can be found.</returns>
/// <param name="name">The name of the type. If the type name is not a fully qualified name that indicates an assembly, this service will search its internal set of referenced assemblies. </param>
// Token: 0x06000319 RID: 793
Type GetType(string name);
/// <summary>Loads a type with the specified name.</summary>
/// <returns>An instance of <see cref="T:System.Type" /> that corresponds to the specified name, or null if no type can be found.</returns>
/// <param name="name">The name of the type. If the type name is not a fully qualified name that indicates an assembly, this service will search its internal set of referenced assemblies. </param>
/// <param name="throwOnError">true if this method should throw an exception if the assembly cannot be located; otherwise, false, and this method returns null if the assembly cannot be located. </param>
// Token: 0x0600031A RID: 794
Type GetType(string name, bool throwOnError);
/// <summary>Loads a type with the specified name.</summary>
/// <returns>An instance of <see cref="T:System.Type" /> that corresponds to the specified name, or null if no type can be found.</returns>
/// <param name="name">The name of the type. If the type name is not a fully qualified name that indicates an assembly, this service will search its internal set of referenced assemblies. </param>
/// <param name="throwOnError">true if this method should throw an exception if the assembly cannot be located; otherwise, false, and this method returns null if the assembly cannot be located. </param>
/// <param name="ignoreCase">true to ignore case when searching for types; otherwise, false. </param>
// Token: 0x0600031B RID: 795
Type GetType(string name, bool throwOnError, bool ignoreCase);
/// <summary>Adds a reference to the specified assembly.</summary>
/// <param name="name">An <see cref="T:System.Reflection.AssemblyName" /> that indicates the assembly to reference. </param>
// Token: 0x0600031C RID: 796
void ReferenceAssembly(AssemblyName name);
}
}
+225
View File
@@ -0,0 +1,225 @@
using System;
using System.Collections;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Represents a Windows menu or toolbar command item.</summary>
// Token: 0x0200004E RID: 78
[ComVisible(true)]
public class MenuCommand
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.MenuCommand" /> class.</summary>
/// <param name="handler">The event to raise when the user selects the menu item or toolbar button. </param>
/// <param name="command">The unique command ID that links this menu command to the environment's menu. </param>
// Token: 0x0600031D RID: 797 RVA: 0x0000998C File Offset: 0x00007B8C
public MenuCommand(EventHandler handler, CommandID command)
{
this.handler = handler;
this.command = command;
}
/// <summary>Occurs when the menu command changes.</summary>
// Token: 0x1400000F RID: 15
// (add) Token: 0x0600031E RID: 798 RVA: 0x000099B8 File Offset: 0x00007BB8
// (remove) Token: 0x0600031F RID: 799 RVA: 0x000099D4 File Offset: 0x00007BD4
public event EventHandler CommandChanged;
/// <summary>Gets or sets a value indicating whether this menu item is checked.</summary>
/// <returns>true if the item is checked; otherwise, false.</returns>
// Token: 0x170000D9 RID: 217
// (get) Token: 0x06000320 RID: 800 RVA: 0x000099F0 File Offset: 0x00007BF0
// (set) Token: 0x06000321 RID: 801 RVA: 0x000099F8 File Offset: 0x00007BF8
public virtual bool Checked
{
get
{
return this.ischecked;
}
set
{
if (this.ischecked != value)
{
this.ischecked = value;
this.OnCommandChanged(EventArgs.Empty);
}
}
}
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> associated with this menu command.</summary>
/// <returns>The <see cref="T:System.ComponentModel.Design.CommandID" /> associated with the menu command.</returns>
// Token: 0x170000DA RID: 218
// (get) Token: 0x06000322 RID: 802 RVA: 0x00009A18 File Offset: 0x00007C18
public virtual CommandID CommandID
{
get
{
return this.command;
}
}
/// <summary>Gets a value indicating whether this menu item is available.</summary>
/// <returns>true if the item is enabled; otherwise, false.</returns>
// Token: 0x170000DB RID: 219
// (get) Token: 0x06000323 RID: 803 RVA: 0x00009A20 File Offset: 0x00007C20
// (set) Token: 0x06000324 RID: 804 RVA: 0x00009A28 File Offset: 0x00007C28
public virtual bool Enabled
{
get
{
return this.enabled;
}
set
{
if (this.enabled != value)
{
this.enabled = value;
this.OnCommandChanged(EventArgs.Empty);
}
}
}
/// <summary>Gets the OLE command status code for this menu item.</summary>
/// <returns>An integer containing a mixture of status flags that reflect the state of this menu item.</returns>
// Token: 0x170000DC RID: 220
// (get) Token: 0x06000325 RID: 805 RVA: 0x00009A48 File Offset: 0x00007C48
[global::System.MonoTODO]
public virtual int OleStatus
{
get
{
return 3;
}
}
/// <summary>Gets the public properties associated with the <see cref="T:System.ComponentModel.Design.MenuCommand" />.</summary>
/// <returns>An <see cref="T:System.Collections.IDictionary" /> containing the public properties of the <see cref="T:System.ComponentModel.Design.MenuCommand" />. </returns>
// Token: 0x170000DD RID: 221
// (get) Token: 0x06000326 RID: 806 RVA: 0x00009A4C File Offset: 0x00007C4C
public virtual IDictionary Properties
{
get
{
if (this.properties == null)
{
this.properties = new Hashtable();
}
return this.properties;
}
}
/// <summary>Gets or sets a value indicating whether this menu item is supported.</summary>
/// <returns>true if the item is supported, which is the default; otherwise, false.</returns>
// Token: 0x170000DE RID: 222
// (get) Token: 0x06000327 RID: 807 RVA: 0x00009A6C File Offset: 0x00007C6C
// (set) Token: 0x06000328 RID: 808 RVA: 0x00009A74 File Offset: 0x00007C74
public virtual bool Supported
{
get
{
return this.issupported;
}
set
{
this.issupported = value;
}
}
/// <summary>Gets or sets a value indicating whether this menu item is visible.</summary>
/// <returns>true if the item is visible; otherwise, false.</returns>
// Token: 0x170000DF RID: 223
// (get) Token: 0x06000329 RID: 809 RVA: 0x00009A80 File Offset: 0x00007C80
// (set) Token: 0x0600032A RID: 810 RVA: 0x00009A88 File Offset: 0x00007C88
public virtual bool Visible
{
get
{
return this.visible;
}
set
{
this.visible = value;
}
}
/// <summary>Invokes the command.</summary>
// Token: 0x0600032B RID: 811 RVA: 0x00009A94 File Offset: 0x00007C94
public virtual void Invoke()
{
if (this.handler != null)
{
this.handler(this, EventArgs.Empty);
}
}
/// <summary>Invokes the command with the given parameter.</summary>
/// <param name="arg">An optional argument for use by the command.</param>
// Token: 0x0600032C RID: 812 RVA: 0x00009AB4 File Offset: 0x00007CB4
public virtual void Invoke(object arg)
{
this.Invoke();
}
/// <summary>Raises the <see cref="E:System.ComponentModel.Design.MenuCommand.CommandChanged" /> event.</summary>
/// <param name="e">An <see cref="T:System.EventArgs" /> that contains the event data. </param>
// Token: 0x0600032D RID: 813 RVA: 0x00009ABC File Offset: 0x00007CBC
protected virtual void OnCommandChanged(EventArgs e)
{
if (this.CommandChanged != null)
{
this.CommandChanged(this, e);
}
}
/// <summary>Returns a string representation of this menu command.</summary>
/// <returns>A string containing the value of the <see cref="P:System.ComponentModel.Design.MenuCommand.CommandID" /> property appended with the names of any flags that are set, separated by pipe bars (|). These flag properties include <see cref="P:System.ComponentModel.Design.MenuCommand.Checked" />, <see cref="P:System.ComponentModel.Design.MenuCommand.Enabled" />, <see cref="P:System.ComponentModel.Design.MenuCommand.Supported" />, and <see cref="P:System.ComponentModel.Design.MenuCommand.Visible" />.</returns>
// Token: 0x0600032E RID: 814 RVA: 0x00009AD8 File Offset: 0x00007CD8
public override string ToString()
{
string text = string.Empty;
if (this.command != null)
{
text = this.command.ToString();
}
text += " : ";
if (this.Supported)
{
text += "Supported";
}
if (this.Enabled)
{
text += "|Enabled";
}
if (this.Visible)
{
text += "|Visible";
}
if (this.Checked)
{
text += "|Checked";
}
return text;
}
// Token: 0x040000CB RID: 203
private EventHandler handler;
// Token: 0x040000CC RID: 204
private CommandID command;
// Token: 0x040000CD RID: 205
private bool ischecked;
// Token: 0x040000CE RID: 206
private bool enabled = true;
// Token: 0x040000CF RID: 207
private bool issupported = true;
// Token: 0x040000D0 RID: 208
private bool visible = true;
// Token: 0x040000D1 RID: 209
private Hashtable properties;
}
}
@@ -0,0 +1,115 @@
using System;
using System.Collections;
using System.IO;
using System.Reflection;
using System.Reflection.Emit;
using System.Runtime.Serialization.Formatters.Binary;
namespace System.ComponentModel.Design
{
// Token: 0x0200004F RID: 79
internal class RuntimeLicenseContext : LicenseContext
{
// Token: 0x06000330 RID: 816 RVA: 0x00009B74 File Offset: 0x00007D74
private void LoadKeys()
{
if (this.keys != null)
{
return;
}
this.keys = new Hashtable();
Assembly entryAssembly = Assembly.GetEntryAssembly();
if (entryAssembly != null)
{
this.LoadAssemblyLicenses(this.keys, entryAssembly);
}
else
{
foreach (Assembly assembly in AppDomain.CurrentDomain.GetAssemblies())
{
this.LoadAssemblyLicenses(this.keys, assembly);
}
}
}
// Token: 0x06000331 RID: 817 RVA: 0x00009BE8 File Offset: 0x00007DE8
private void LoadAssemblyLicenses(Hashtable targetkeys, Assembly asm)
{
if (asm is AssemblyBuilder)
{
return;
}
string fileName = Path.GetFileName(asm.Location);
string text = fileName + ".licenses";
try
{
foreach (string text2 in asm.GetManifestResourceNames())
{
if (!(text2 != text))
{
using (Stream manifestResourceStream = asm.GetManifestResourceStream(text2))
{
BinaryFormatter binaryFormatter = new BinaryFormatter();
object[] array = binaryFormatter.Deserialize(manifestResourceStream) as object[];
if (string.Compare((string)array[0], fileName, true) == 0)
{
Hashtable hashtable = (Hashtable)array[1];
foreach (object obj in hashtable)
{
DictionaryEntry dictionaryEntry = (DictionaryEntry)obj;
targetkeys.Add(dictionaryEntry.Key, dictionaryEntry.Value);
}
}
}
}
}
}
catch (InvalidCastException)
{
}
}
// Token: 0x06000332 RID: 818 RVA: 0x00009D50 File Offset: 0x00007F50
public override string GetSavedLicenseKey(Type type, Assembly resourceAssembly)
{
if (type == null)
{
throw new ArgumentNullException("type");
}
if (resourceAssembly != null)
{
if (this.extraassemblies == null)
{
this.extraassemblies = new Hashtable();
}
Hashtable hashtable = this.extraassemblies[resourceAssembly.FullName] as Hashtable;
if (hashtable == null)
{
hashtable = new Hashtable();
this.LoadAssemblyLicenses(hashtable, resourceAssembly);
this.extraassemblies[resourceAssembly.FullName] = hashtable;
}
return (string)hashtable[type.AssemblyQualifiedName];
}
this.LoadKeys();
return (string)this.keys[type.AssemblyQualifiedName];
}
// Token: 0x06000333 RID: 819 RVA: 0x00009DF8 File Offset: 0x00007FF8
public override void SetSavedLicenseKey(Type type, string key)
{
if (type == null)
{
throw new ArgumentNullException("type");
}
this.LoadKeys();
this.keys[type.AssemblyQualifiedName] = key;
}
// Token: 0x040000D3 RID: 211
private Hashtable extraassemblies;
// Token: 0x040000D4 RID: 212
private Hashtable keys;
}
}
@@ -0,0 +1,208 @@
using System;
using System.Collections;
using System.Reflection;
namespace System.ComponentModel.Design.Serialization
{
/// <summary>Provides the information necessary to create an instance of an object. This class cannot be inherited.</summary>
// Token: 0x0200003C RID: 60
public sealed class InstanceDescriptor
{
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information and arguments.</summary>
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a static member. </param>
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be null or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />. </param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a static member.<paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.<paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" />, and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member." /><paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a static member.<paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero. </exception>
// Token: 0x06000294 RID: 660 RVA: 0x000092DC File Offset: 0x000074DC
public InstanceDescriptor(MemberInfo member, ICollection arguments)
: this(member, arguments, true)
{
}
/// <summary>Initializes a new instance of the <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> class using the specified member information, arguments, and value indicating whether the specified information completely describes the instance.</summary>
/// <param name="member">The member information for the descriptor. This can be a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.ConstructorInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />. If this is a <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, it must represent a static member. </param>
/// <param name="arguments">The collection of arguments to pass to the member. This parameter can be null or an empty collection if there are no arguments. The collection can also consist of other instances of <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" />. </param>
/// <param name="isComplete">true if the specified information completely describes the instance; otherwise, false. </param>
/// <exception cref="T:System.ArgumentException">
/// <paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" />, <see cref="T:System.Reflection.FieldInfo" />, or <see cref="T:System.Reflection.PropertyInfo" />, and it does not represent a static member<paramref name="member" /> is of type <see cref="T:System.Reflection.PropertyInfo" /> and is not readable.<paramref name="member" /> is of type <see cref="T:System.Reflection.MethodInfo" /> or <see cref="T:System.Reflection.ConstructorInfo" /> and the number of arguments in <paramref name="arguments" /> does not match the signature of <paramref name="member" />.<paramref name="member" /> is of type <see cref="T:System.Reflection.ConstructorInfo" /> and represents a static member<paramref name="member" /> is of type <see cref="T:System.Reflection.FieldInfo" />, and the number of arguments in <paramref name="arguments" /> is not zero.</exception>
// Token: 0x06000295 RID: 661 RVA: 0x000092E8 File Offset: 0x000074E8
public InstanceDescriptor(MemberInfo member, ICollection arguments, bool isComplete)
{
this.isComplete = isComplete;
this.ValidateMember(member, arguments);
this.member = member;
this.arguments = arguments;
}
// Token: 0x06000296 RID: 662 RVA: 0x00009310 File Offset: 0x00007510
private void ValidateMember(MemberInfo member, ICollection arguments)
{
if (member == null)
{
return;
}
MemberTypes memberType = member.MemberType;
switch (memberType)
{
case MemberTypes.Constructor:
{
ConstructorInfo constructorInfo = (ConstructorInfo)member;
if (arguments == null && constructorInfo.GetParameters().Length != 0)
{
throw new ArgumentException("Invalid number of arguments for this constructor");
}
if (arguments.Count != constructorInfo.GetParameters().Length)
{
throw new ArgumentException("Invalid number of arguments for this constructor");
}
break;
}
default:
if (memberType != MemberTypes.Method)
{
if (memberType == MemberTypes.Property)
{
PropertyInfo propertyInfo = (PropertyInfo)member;
if (!propertyInfo.CanRead)
{
throw new ArgumentException("Parameter must be readable");
}
MethodInfo getMethod = propertyInfo.GetGetMethod();
if (!getMethod.IsStatic)
{
throw new ArgumentException("Parameter must be static");
}
}
}
else
{
MethodInfo methodInfo = (MethodInfo)member;
if (!methodInfo.IsStatic)
{
throw new ArgumentException("InstanceDescriptor only describes static (VB.Net: shared) members", "member");
}
if (arguments == null && methodInfo.GetParameters().Length != 0)
{
throw new ArgumentException("Invalid number of arguments for this method", "arguments");
}
if (arguments.Count != methodInfo.GetParameters().Length)
{
throw new ArgumentException("Invalid number of arguments for this method");
}
}
break;
case MemberTypes.Field:
{
FieldInfo fieldInfo = (FieldInfo)member;
if (!fieldInfo.IsStatic)
{
throw new ArgumentException("Parameter must be static");
}
if (arguments != null && arguments.Count != 0)
{
throw new ArgumentException("Field members do not take any arguments");
}
break;
}
}
}
/// <summary>Gets the collection of arguments that can be used to reconstruct an instance of the object that this instance descriptor represents.</summary>
/// <returns>An <see cref="T:System.Collections.ICollection" /> of arguments that can be used to create the object.</returns>
// Token: 0x170000B9 RID: 185
// (get) Token: 0x06000297 RID: 663 RVA: 0x0000948C File Offset: 0x0000768C
public ICollection Arguments
{
get
{
if (this.arguments == null)
{
return new object[0];
}
return this.arguments;
}
}
/// <summary>Gets a value indicating whether the contents of this <see cref="T:System.ComponentModel.Design.Serialization.InstanceDescriptor" /> completely identify the instance.</summary>
/// <returns>true if the instance is completely described; otherwise, false.</returns>
// Token: 0x170000BA RID: 186
// (get) Token: 0x06000298 RID: 664 RVA: 0x000094A8 File Offset: 0x000076A8
public bool IsComplete
{
get
{
return this.isComplete;
}
}
/// <summary>Gets the member information that describes the instance this descriptor is associated with.</summary>
/// <returns>A <see cref="T:System.Reflection.MemberInfo" /> that describes the instance that this object is associated with.</returns>
// Token: 0x170000BB RID: 187
// (get) Token: 0x06000299 RID: 665 RVA: 0x000094B0 File Offset: 0x000076B0
public MemberInfo MemberInfo
{
get
{
return this.member;
}
}
/// <summary>Invokes this instance descriptor and returns the object the descriptor describes.</summary>
/// <returns>The object this instance descriptor describes.</returns>
// Token: 0x0600029A RID: 666 RVA: 0x000094B8 File Offset: 0x000076B8
public object Invoke()
{
if (this.member == null)
{
return null;
}
object[] array;
if (this.arguments == null)
{
array = new object[0];
}
else
{
array = new object[this.arguments.Count];
this.arguments.CopyTo(array, 0);
}
MemberTypes memberType = this.member.MemberType;
switch (memberType)
{
case MemberTypes.Constructor:
{
ConstructorInfo constructorInfo = (ConstructorInfo)this.member;
return constructorInfo.Invoke(array);
}
default:
{
if (memberType == MemberTypes.Method)
{
MethodInfo methodInfo = (MethodInfo)this.member;
return methodInfo.Invoke(null, array);
}
if (memberType != MemberTypes.Property)
{
return null;
}
PropertyInfo propertyInfo = (PropertyInfo)this.member;
return propertyInfo.GetValue(null, array);
}
case MemberTypes.Field:
{
FieldInfo fieldInfo = (FieldInfo)this.member;
return fieldInfo.GetValue(null);
}
}
}
// Token: 0x040000B5 RID: 181
private MemberInfo member;
// Token: 0x040000B6 RID: 182
private ICollection arguments;
// Token: 0x040000B7 RID: 183
private bool isComplete;
}
}
@@ -0,0 +1,14 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Provides a callback mechanism that can create an instance of a service on demand.</summary>
/// <returns>The service specified by <paramref name="serviceType" />, or null if the service could not be created. </returns>
/// <param name="container">The service container that requested the creation of the service. </param>
/// <param name="serviceType">The type of service to create. </param>
// Token: 0x02000320 RID: 800
// (Invoke) Token: 0x06001C59 RID: 7257
[ComVisible(true)]
public delegate object ServiceCreatorCallback(IServiceContainer container, Type serviceType);
}
@@ -0,0 +1,291 @@
using System;
namespace System.ComponentModel.Design
{
/// <summary>Defines identifiers for the standard set of commands that are available to most applications.</summary>
// Token: 0x02000050 RID: 80
public class StandardCommands
{
// Token: 0x06000335 RID: 821 RVA: 0x00009E2C File Offset: 0x0000802C
static StandardCommands()
{
Guid guid = new Guid("5efc7975-14bc-11cf-9b2b-00aa00573819");
Guid guid2 = new Guid("74d21313-2aee-11d1-8bfb-00a0c90f26f7");
StandardCommands.AlignBottom = new CommandID(guid, 1);
StandardCommands.AlignHorizontalCenters = new CommandID(guid, 2);
StandardCommands.AlignLeft = new CommandID(guid, 3);
StandardCommands.AlignRight = new CommandID(guid, 4);
StandardCommands.AlignToGrid = new CommandID(guid, 5);
StandardCommands.AlignTop = new CommandID(guid, 6);
StandardCommands.AlignVerticalCenters = new CommandID(guid, 7);
StandardCommands.ArrangeBottom = new CommandID(guid, 8);
StandardCommands.ArrangeIcons = new CommandID(guid2, 12298);
StandardCommands.ArrangeRight = new CommandID(guid, 9);
StandardCommands.BringForward = new CommandID(guid, 10);
StandardCommands.BringToFront = new CommandID(guid, 11);
StandardCommands.CenterHorizontally = new CommandID(guid, 12);
StandardCommands.CenterVertically = new CommandID(guid, 13);
StandardCommands.Copy = new CommandID(guid, 15);
StandardCommands.Cut = new CommandID(guid, 16);
StandardCommands.Delete = new CommandID(guid, 17);
StandardCommands.F1Help = new CommandID(guid, 377);
StandardCommands.Group = new CommandID(guid, 20);
StandardCommands.HorizSpaceConcatenate = new CommandID(guid, 21);
StandardCommands.HorizSpaceDecrease = new CommandID(guid, 22);
StandardCommands.HorizSpaceIncrease = new CommandID(guid, 23);
StandardCommands.HorizSpaceMakeEqual = new CommandID(guid, 24);
StandardCommands.LineupIcons = new CommandID(guid2, 12299);
StandardCommands.LockControls = new CommandID(guid, 369);
StandardCommands.MultiLevelRedo = new CommandID(guid, 30);
StandardCommands.MultiLevelUndo = new CommandID(guid, 44);
StandardCommands.Paste = new CommandID(guid, 26);
StandardCommands.Properties = new CommandID(guid, 28);
StandardCommands.PropertiesWindow = new CommandID(guid, 235);
StandardCommands.Redo = new CommandID(guid, 29);
StandardCommands.Replace = new CommandID(guid, 230);
StandardCommands.SelectAll = new CommandID(guid, 31);
StandardCommands.SendBackward = new CommandID(guid, 32);
StandardCommands.SendToBack = new CommandID(guid, 33);
StandardCommands.ShowGrid = new CommandID(guid, 103);
StandardCommands.ShowLargeIcons = new CommandID(guid2, 12300);
StandardCommands.SizeToControl = new CommandID(guid, 35);
StandardCommands.SizeToControlHeight = new CommandID(guid, 36);
StandardCommands.SizeToControlWidth = new CommandID(guid, 37);
StandardCommands.SizeToFit = new CommandID(guid, 38);
StandardCommands.SizeToGrid = new CommandID(guid, 39);
StandardCommands.SnapToGrid = new CommandID(guid, 40);
StandardCommands.TabOrder = new CommandID(guid, 41);
StandardCommands.Undo = new CommandID(guid, 43);
StandardCommands.Ungroup = new CommandID(guid, 45);
StandardCommands.VerbFirst = new CommandID(guid2, 8192);
StandardCommands.VerbLast = new CommandID(guid2, 8448);
StandardCommands.VertSpaceConcatenate = new CommandID(guid, 46);
StandardCommands.VertSpaceDecrease = new CommandID(guid, 47);
StandardCommands.VertSpaceIncrease = new CommandID(guid, 48);
StandardCommands.VertSpaceMakeEqual = new CommandID(guid, 49);
StandardCommands.ViewGrid = new CommandID(guid, 125);
StandardCommands.DocumentOutline = new CommandID(guid, 239);
StandardCommands.ViewCode = new CommandID(guid, 333);
}
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignBottom command. This field is read-only.</summary>
// Token: 0x040000D5 RID: 213
public static readonly CommandID AlignBottom;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignHorizontalCenters command. This field is read-only.</summary>
// Token: 0x040000D6 RID: 214
public static readonly CommandID AlignHorizontalCenters;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignLeft command. This field is read-only.</summary>
// Token: 0x040000D7 RID: 215
public static readonly CommandID AlignLeft;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignRight command. This field is read-only.</summary>
// Token: 0x040000D8 RID: 216
public static readonly CommandID AlignRight;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignToGrid command. This field is read-only.</summary>
// Token: 0x040000D9 RID: 217
public static readonly CommandID AlignToGrid;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignTop command. This field is read-only.</summary>
// Token: 0x040000DA RID: 218
public static readonly CommandID AlignTop;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the AlignVerticalCenters command. This field is read-only.</summary>
// Token: 0x040000DB RID: 219
public static readonly CommandID AlignVerticalCenters;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ArrangeBottom command. This field is read-only.</summary>
// Token: 0x040000DC RID: 220
public static readonly CommandID ArrangeBottom;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ArrangeIcons command. This field is read-only.</summary>
// Token: 0x040000DD RID: 221
public static readonly CommandID ArrangeIcons;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ArrangeRight command. This field is read-only.</summary>
// Token: 0x040000DE RID: 222
public static readonly CommandID ArrangeRight;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the BringForward command. This field is read-only.</summary>
// Token: 0x040000DF RID: 223
public static readonly CommandID BringForward;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the BringToFront command. This field is read-only.</summary>
// Token: 0x040000E0 RID: 224
public static readonly CommandID BringToFront;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the CenterHorizontally command. This field is read-only.</summary>
// Token: 0x040000E1 RID: 225
public static readonly CommandID CenterHorizontally;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the CenterVertically command. This field is read-only.</summary>
// Token: 0x040000E2 RID: 226
public static readonly CommandID CenterVertically;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Copy command. This field is read-only.</summary>
// Token: 0x040000E3 RID: 227
public static readonly CommandID Copy;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Cut command. This field is read-only.</summary>
// Token: 0x040000E4 RID: 228
public static readonly CommandID Cut;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Delete command. This field is read-only.</summary>
// Token: 0x040000E5 RID: 229
public static readonly CommandID Delete;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the F1Help command. This field is read-only.</summary>
// Token: 0x040000E6 RID: 230
public static readonly CommandID F1Help;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Group command. This field is read-only.</summary>
// Token: 0x040000E7 RID: 231
public static readonly CommandID Group;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the HorizSpaceConcatenate command. This field is read-only.</summary>
// Token: 0x040000E8 RID: 232
public static readonly CommandID HorizSpaceConcatenate;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the HorizSpaceDecrease command. This field is read-only.</summary>
// Token: 0x040000E9 RID: 233
public static readonly CommandID HorizSpaceDecrease;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the HorizSpaceIncrease command. This field is read-only.</summary>
// Token: 0x040000EA RID: 234
public static readonly CommandID HorizSpaceIncrease;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the HorizSpaceMakeEqual command. This field is read-only.</summary>
// Token: 0x040000EB RID: 235
public static readonly CommandID HorizSpaceMakeEqual;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the LineupIcons command. This field is read-only.</summary>
// Token: 0x040000EC RID: 236
public static readonly CommandID LineupIcons;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the LockControls command. This field is read-only.</summary>
// Token: 0x040000ED RID: 237
public static readonly CommandID LockControls;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the MultiLevelRedo command. This field is read-only.</summary>
// Token: 0x040000EE RID: 238
public static readonly CommandID MultiLevelRedo;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the MultiLevelUndo command. This field is read-only.</summary>
// Token: 0x040000EF RID: 239
public static readonly CommandID MultiLevelUndo;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Paste command. This field is read-only.</summary>
// Token: 0x040000F0 RID: 240
public static readonly CommandID Paste;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Properties command. This field is read-only.</summary>
// Token: 0x040000F1 RID: 241
public static readonly CommandID Properties;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the PropertiesWindow command. This field is read-only.</summary>
// Token: 0x040000F2 RID: 242
public static readonly CommandID PropertiesWindow;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Redo command. This field is read-only.</summary>
// Token: 0x040000F3 RID: 243
public static readonly CommandID Redo;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Replace command. This field is read-only.</summary>
// Token: 0x040000F4 RID: 244
public static readonly CommandID Replace;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SelectAll command. This field is read-only.</summary>
// Token: 0x040000F5 RID: 245
public static readonly CommandID SelectAll;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SendBackward command. This field is read-only.</summary>
// Token: 0x040000F6 RID: 246
public static readonly CommandID SendBackward;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SendToBack command. This field is read-only.</summary>
// Token: 0x040000F7 RID: 247
public static readonly CommandID SendToBack;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ShowGrid command. This field is read-only.</summary>
// Token: 0x040000F8 RID: 248
public static readonly CommandID ShowGrid;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ShowLargeIcons command. This field is read-only.</summary>
// Token: 0x040000F9 RID: 249
public static readonly CommandID ShowLargeIcons;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SizeToControl command. This field is read-only.</summary>
// Token: 0x040000FA RID: 250
public static readonly CommandID SizeToControl;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SizeToControlHeight command. This field is read-only.</summary>
// Token: 0x040000FB RID: 251
public static readonly CommandID SizeToControlHeight;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SizeToControlWidth command. This field is read-only.</summary>
// Token: 0x040000FC RID: 252
public static readonly CommandID SizeToControlWidth;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SizeToFit command. This field is read-only.</summary>
// Token: 0x040000FD RID: 253
public static readonly CommandID SizeToFit;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SizeToGrid command. This field is read-only.</summary>
// Token: 0x040000FE RID: 254
public static readonly CommandID SizeToGrid;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the SnapToGrid command. This field is read-only.</summary>
// Token: 0x040000FF RID: 255
public static readonly CommandID SnapToGrid;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the TabOrder command. This field is read-only.</summary>
// Token: 0x04000100 RID: 256
public static readonly CommandID TabOrder;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Undo command. This field is read-only.</summary>
// Token: 0x04000101 RID: 257
public static readonly CommandID Undo;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Ungroup command. This field is read-only.</summary>
// Token: 0x04000102 RID: 258
public static readonly CommandID Ungroup;
/// <summary>Gets the first of a set of verbs. This field is read-only.</summary>
// Token: 0x04000103 RID: 259
public static readonly CommandID VerbFirst;
/// <summary>Gets the last of a set of verbs. This field is read-only.</summary>
// Token: 0x04000104 RID: 260
public static readonly CommandID VerbLast;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the VertSpaceConcatenate command. This field is read-only.</summary>
// Token: 0x04000105 RID: 261
public static readonly CommandID VertSpaceConcatenate;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the VertSpaceDecrease command. This field is read-only.</summary>
// Token: 0x04000106 RID: 262
public static readonly CommandID VertSpaceDecrease;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the VertSpaceIncrease command. This field is read-only.</summary>
// Token: 0x04000107 RID: 263
public static readonly CommandID VertSpaceIncrease;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the VertSpaceMakeEqual command. This field is read-only.</summary>
// Token: 0x04000108 RID: 264
public static readonly CommandID VertSpaceMakeEqual;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ViewGrid command. This field is read-only.</summary>
// Token: 0x04000109 RID: 265
public static readonly CommandID ViewGrid;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the Document Outline command. This field is read-only.</summary>
// Token: 0x0400010A RID: 266
public static readonly CommandID DocumentOutline;
/// <summary>Gets the <see cref="T:System.ComponentModel.Design.CommandID" /> for the ViewCode command. This field is read-only.</summary>
// Token: 0x0400010B RID: 267
public static readonly CommandID ViewCode;
}
}
@@ -0,0 +1,23 @@
using System;
using System.Runtime.InteropServices;
namespace System.ComponentModel.Design
{
/// <summary>Defines identifiers for a set of technologies that designer hosts support.</summary>
// Token: 0x02000051 RID: 81
[ComVisible(true)]
public enum ViewTechnology
{
/// <summary>Represents a mode in which the view object is passed directly to the development environment. </summary>
// Token: 0x0400010D RID: 269
[Obsolete("Use ViewTechnology.Default.")]
Passthrough,
/// <summary>Represents a mode in which a Windows Forms control object provides the display for the root designer. </summary>
// Token: 0x0400010E RID: 270
[Obsolete("Use ViewTechnology.Default.")]
WindowsForms,
/// <summary>Specifies the default view technology support. </summary>
// Token: 0x0400010F RID: 271
Default
}
}