2 instantiations of WebPartConnection
System.Web (2)
UI\WebParts\WebPartManager.cs (2)
1701
WebPartConnection connection = new
WebPartConnection
();
3317
WebPartConnection connection = new
WebPartConnection
();
103 references to WebPartConnection
System.Web (103)
UI\WebParts\ConnectionsZone.cs (8)
940
WebPartConnection
connection = WebPartManager.Connections[_pendingConnectionID];
1001
WebPartConnection
connection = WebPartManager.Connections[connectionID];
1678
foreach (
WebPartConnection
connection in connections) {
1710
foreach (
WebPartConnection
connection in connections) {
1824
private void RenderExistingConsumerConnection(HtmlTextWriter writer,
WebPartConnection
connection) {
1864
private void RenderExistingProviderConnection(HtmlTextWriter writer,
WebPartConnection
connection) {
2149
WebPartConnection
currentConnection = providerConnectionPoint.AllowsMultipleConnections ?
2204
WebPartConnection
currentConnection = consumerConnectionPoint.AllowsMultipleConnections ?
UI\WebParts\ProxyWebPartConnectionCollection.cs (17)
35
public
WebPartConnection
this[int index] {
37
return (
WebPartConnection
)List[index];
46
public
WebPartConnection
this[string id] {
49
foreach (
WebPartConnection
connection in List) {
59
public int Add(
WebPartConnection
value) {
69
public bool Contains(
WebPartConnection
value) {
73
public void CopyTo(
WebPartConnection
[] array, int index) {
77
public int IndexOf(
WebPartConnection
value) {
81
public void Insert(int index,
WebPartConnection
value) {
89
foreach (
WebPartConnection
connection in this) {
99
_webPartManager.StaticConnections.Insert(index, (
WebPartConnection
)value);
107
_webPartManager.StaticConnections.Remove((
WebPartConnection
)value);
115
int webPartManagerIndex = _webPartManager.StaticConnections.IndexOf((
WebPartConnection
)oldValue);
118
_webPartManager.StaticConnections[webPartManagerIndex] = (
WebPartConnection
)newValue;
129
if (!(value is
WebPartConnection
)) {
134
public void Remove(
WebPartConnection
value) {
148
foreach (
WebPartConnection
connection in this) {
UI\WebParts\WebPartConnection.cs (3)
372
internal bool ConflictsWith(
WebPartConnection
otherConnection) {
376
internal bool ConflictsWithConsumer(
WebPartConnection
otherConnection) {
382
internal bool ConflictsWithProvider(
WebPartConnection
otherConnection) {
UI\WebParts\WebPartConnectionCollection.cs (16)
39
public
WebPartConnection
this[int index] {
41
return (
WebPartConnection
)List[index];
52
public
WebPartConnection
this[string id] {
55
foreach (
WebPartConnection
connection in List) {
68
public int Add(
WebPartConnection
value) {
81
public bool Contains(
WebPartConnection
value) {
86
foreach (
WebPartConnection
connection in List) {
94
public void CopyTo(
WebPartConnection
[] array, int index) {
98
public int IndexOf(
WebPartConnection
value) {
105
public void Insert(int index,
WebPartConnection
value) {
118
((
WebPartConnection
)value).SetWebPartManager(_webPartManager);
124
((
WebPartConnection
)value).SetWebPartManager(null);
130
((
WebPartConnection
)oldValue).SetWebPartManager(null);
131
((
WebPartConnection
)newValue).SetWebPartManager(_webPartManager);
143
if (!(value is
WebPartConnection
)) {
151
public void Remove(
WebPartConnection
value) {
UI\WebParts\WebPartConnectionsCancelEventArgs.cs (3)
17
private
WebPartConnection
_connection;
30
WebPartConnection
connection) : this(provider, providerConnectionPoint,
35
public
WebPartConnection
Connection {
UI\WebParts\WebPartConnectionsEventArgs.cs (3)
16
private
WebPartConnection
_connection;
29
WebPartConnection
connection) : this(provider, providerConnectionPoint,
34
public
WebPartConnection
Connection {
UI\WebParts\WebPartManager.cs (48)
259
foreach (
WebPartConnection
connection in _staticConnections) {
266
foreach (
WebPartConnection
connection in _dynamicConnections) {
883
foreach (
WebPartConnection
connection in ConnectionsToActivate()) {
1288
foreach (
WebPartConnection
c in Connections) {
1301
foreach (
WebPartConnection
c in Connections) {
1486
private
WebPartConnection
[] ConnectionsToActivate() {
1494
WebPartConnection
[] connections = new
WebPartConnection
[StaticConnections.Count + DynamicConnections.Count];
1497
foreach (
WebPartConnection
connection in connections) {
1503
WebPartConnection
[] connectionsToActivateArray = (
WebPartConnection
[])connectionsToActivate.ToArray(typeof(
WebPartConnection
));
1504
foreach (
WebPartConnection
connection in connectionsToActivateArray) {
1510
foreach (
WebPartConnection
otherConnection in connectionsToActivate) {
1521
foreach (
WebPartConnection
connectionToDelete in connectionsToDelete) {
1528
connectionsToActivateArray = (
WebPartConnection
[])connectionsToActivate.ToArray(typeof(
WebPartConnection
));
1529
foreach (
WebPartConnection
connection in connectionsToActivateArray) {
1535
foreach (
WebPartConnection
otherConnection in connectionsToActivate) {
1546
foreach (
WebPartConnection
connectionToDelete in connectionsToDelete) {
1556
foreach (
WebPartConnection
connection in connectionsToActivate) {
1559
foreach (
WebPartConnection
otherConnection in connectionsToActivate) {
1591
return (
WebPartConnection
[])finalConnectionsToActivate.ToArray(typeof(
WebPartConnection
));
1596
private void ConnectionsToActivateHelper(
WebPartConnection
connection, IDictionary connectionIDs,
1676
public
WebPartConnection
ConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint,
1681
public virtual
WebPartConnection
ConnectWebParts(WebPart provider, ProviderConnectionPoint providerConnectionPoint,
1701
WebPartConnection
connection = new WebPartConnection();
1999
foreach (
WebPartConnection
connection in Connections) {
2010
public virtual void DisconnectWebParts(
WebPartConnection
connection) {
2600
internal
WebPartConnection
GetConnectionForConsumer(WebPart consumer, ConsumerConnectionPoint connectionPoint) {
2609
foreach (
WebPartConnection
connection in StaticConnections) {
2619
foreach (
WebPartConnection
connection in DynamicConnections) {
2636
internal
WebPartConnection
GetConnectionForProvider(WebPart provider, ProviderConnectionPoint connectionPoint) {
2644
foreach (
WebPartConnection
connection in StaticConnections) {
2654
foreach (
WebPartConnection
connection in DynamicConnections) {
3317
WebPartConnection
connection = new WebPartConnection();
3473
WebPartConnection
connectionToDelete = null;
3475
foreach (
WebPartConnection
connection in StaticConnections) {
3482
foreach (
WebPartConnection
connection in DynamicConnections) {
4120
foreach (
WebPartConnection
connection in StaticConnections) {
4125
foreach (
WebPartConnection
connection in DynamicConnections) {
4135
WebPartConnection
deletedConnection = (
WebPartConnection
)deletedConnections[i];
4155
foreach (
WebPartConnection
connection in DynamicConnections) {
4167
WebPartConnection
connection = (
WebPartConnection
)dynamicConnections[i];
4289
private bool ShouldRemoveConnection(
WebPartConnection
connection) {
UI\WebParts\WebPartManagerInternals.cs (5)
43
public bool ConnectionDeleted(
WebPartConnection
connection) {
47
public void DeleteConnection(
WebPartConnection
connection) {
83
public void SetIsShared(
WebPartConnection
connection, bool isShared) {
95
public void SetIsStatic(
WebPartConnection
connection, bool isStatic) {
103
public void SetTransformer(
WebPartConnection
connection, WebPartTransformer transformer) {