diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json
new file mode 100644
index 0000000..f8b4888
--- /dev/null
+++ b/.vs/ProjectSettings.json
@@ -0,0 +1,3 @@
+{
+ "CurrentProjectSetting": null
+}
\ No newline at end of file
diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json
new file mode 100644
index 0000000..f0f1d05
--- /dev/null
+++ b/.vs/VSWorkspaceState.json
@@ -0,0 +1,9 @@
+{
+ "ExpandedNodes": [
+ "",
+ "\\src",
+ "\\src\\SAPConnection"
+ ],
+ "SelectedNode": "\\src\\SAPConnection\\Utilities.cs",
+ "PreviewInSolutionExplorer": false
+}
\ No newline at end of file
diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite
new file mode 100644
index 0000000..7738501
Binary files /dev/null and b/.vs/slnx.sqlite differ
diff --git a/src/.vs/DynamoSAP/DesignTimeBuild/.dtbcache b/src/.vs/DynamoSAP/DesignTimeBuild/.dtbcache
new file mode 100644
index 0000000..5e0f36b
Binary files /dev/null and b/src/.vs/DynamoSAP/DesignTimeBuild/.dtbcache differ
diff --git a/src/.vs/DynamoSAP/v15/Server/sqlite3/db.lock b/src/.vs/DynamoSAP/v15/Server/sqlite3/db.lock
new file mode 100644
index 0000000..e69de29
diff --git a/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide
new file mode 100644
index 0000000..c2a73b1
Binary files /dev/null and b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide differ
diff --git a/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-shm b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-shm
new file mode 100644
index 0000000..009ef3f
Binary files /dev/null and b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-shm differ
diff --git a/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-wal b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-wal
new file mode 100644
index 0000000..c90b4c2
Binary files /dev/null and b/src/.vs/DynamoSAP/v15/Server/sqlite3/storage.ide-wal differ
diff --git a/src/DynamoSAP/Analysis/RunAnalysis.cs b/src/DynamoSAP/Analysis/RunAnalysis.cs
index e685239..cf7caeb 100644
--- a/src/DynamoSAP/Analysis/RunAnalysis.cs
+++ b/src/DynamoSAP/Analysis/RunAnalysis.cs
@@ -12,7 +12,7 @@
using Autodesk.DesignScript.Runtime;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
using DynamoSAP.Assembly;
using DynamoSAP.Structure;
diff --git a/src/DynamoSAP/Assembly/Bake.cs b/src/DynamoSAP/Assembly/Bake.cs
index df2db51..788dac3 100644
--- a/src/DynamoSAP/Assembly/Bake.cs
+++ b/src/DynamoSAP/Assembly/Bake.cs
@@ -22,7 +22,7 @@
using DynamoUnits;
//SAP
-using SAP2000v16;
+using SAP2000v20;
namespace DynamoSAP.Assembly
{
@@ -396,7 +396,7 @@ private static void CreateorUpdateSAPModel(ref StructuralModel StructuralModel,
//1. INSTANTIATE NEW OR GRAB OPEN SAPMODEL
// check if any SAP file is open, grab
- SAP2000v16.SapObject mySapObject = null;
+ SAP2000v20.cSapModel mySapObject = null;
string ModelUnits = string.Empty;
// Open & instantiate SAP file
@@ -411,7 +411,7 @@ private static void CreateorUpdateSAPModel(ref StructuralModel StructuralModel,
}
catch (Exception)
{
- SAPConnection.Initialize.Release(ref mySapObject, ref mySapModel);
+ //SAPConnection.Initialize.Release(ref mySapObject, ref mySapModel);
};
}
diff --git a/src/DynamoSAP/Assembly/Read.cs b/src/DynamoSAP/Assembly/Read.cs
index a49cfe2..31fd2d0 100644
--- a/src/DynamoSAP/Assembly/Read.cs
+++ b/src/DynamoSAP/Assembly/Read.cs
@@ -16,7 +16,7 @@
using Autodesk.DesignScript.Runtime;
using SAPConnection;
-using SAP2000v16;
+using SAP2000v20;
namespace DynamoSAP.Assembly
{
diff --git a/src/DynamoSAP/Definitions/SectionProp.cs b/src/DynamoSAP/Definitions/SectionProp.cs
index a235de0..5daf8ef 100644
--- a/src/DynamoSAP/Definitions/SectionProp.cs
+++ b/src/DynamoSAP/Definitions/SectionProp.cs
@@ -12,7 +12,7 @@
using Autodesk.DesignScript.Runtime;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
namespace DynamoSAP.Definitions
diff --git a/src/DynamoSAP/Definitions/ShellProp.cs b/src/DynamoSAP/Definitions/ShellProp.cs
index 612b85b..20e9c57 100644
--- a/src/DynamoSAP/Definitions/ShellProp.cs
+++ b/src/DynamoSAP/Definitions/ShellProp.cs
@@ -12,7 +12,7 @@
using Autodesk.DesignScript.Runtime;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
namespace DynamoSAP.Definitions
diff --git a/src/DynamoSAP/DynamoSAP.csproj b/src/DynamoSAP/DynamoSAP.csproj
index b6b0f60..7c95385 100644
--- a/src/DynamoSAP/DynamoSAP.csproj
+++ b/src/DynamoSAP/DynamoSAP.csproj
@@ -41,45 +41,94 @@
false
-
- $(DYNAMO_API)\DSCoreNodes.dll
- False
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Analysis.dll
-
- $(DYNAMO_API)\DynamoCore.dll
- False
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModels.dll
-
- $(DYNAMO_API)\DynamoServices.dll
- False
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModelsWpf.dll
-
- $(DYNAMO_API)\DynamoUnits.dll
- False
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Display.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\DSCoreNodes.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DSIronPython.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoApplications.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\DynamoCoreWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoInstallDetective.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\DynamoServices.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoShapeManager.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\DynamoUnits.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoUtilities.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Expression.Interactions.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.Interactivity.dll
+
+
+ ..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\NodeServices2.dll
+
+
+ ..\packages\NUnit.2.6.3\lib\nunit.framework.dll
-
- $(DYNAMO_API)\ProtoCore.dll
- False
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\ProtoCore.dll
-
- $(DYNAMO_API)\ProtoGeometry.dll
- False
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\ProtoGeometry.dll
-
- $(SAP2000v16_API)\SAP2000v16.dll
- True
+
+ C:\Program Files\Autodesk\Revit 2018\RevitAPI.dll
-
- ..\SAPConnection\bin\SAPConnection.dll
+
+ C:\Program Files\Computers and Structures\SAP2000 20\SAP2000v20.dll
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\System.Windows.Interactivity.dll
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\VMDataBridge.dll
+
@@ -106,13 +155,29 @@
-
+
+
+
+
+
+ {c9658348-abb5-4369-80b9-eb46f21df577}
+ SAPConnection
+
+
- copy "$(ProjectDir)\DynamoSAP_DynamoCustomization.xml" "$(TargetDir)\DynamoSAP_DynamoCustomization.xml"
+ copy "$(ProjectDir)\DynamoSAP_DynamoCustomization.xml" "$(TargetDir)\DynamoSAP_DynamoCustomization.xml"
+
+xcopy /Y "$(TargetDir)*.*" "$(AppData)\Dynamo\Dynamo Revit\1.3\packages\DynamoSap2\bin\"
+
+xcopy /Y "$(ProjectDir)pkg.json" "$(AppData)\Dynamo\Dynamo Revit\1.3\packages\DynamoSap2"
+
+xcopy /Y "$(TargetDir)*.*" "$(AppData)\Dynamo\Dynamo Core\1.3\packages\DynamoSap2\bin\"
+
+xcopy /Y "$(ProjectDir)pkg.json" "$(AppData)\Dynamo\Dynamo Core\1.3\packages\DynamoSap2"
@@ -135,4 +200,4 @@
-->
-
+
\ No newline at end of file
diff --git a/src/DynamoSAP/Structure/Frame.cs b/src/DynamoSAP/Structure/Frame.cs
index 5264c97..43b2ae6 100644
--- a/src/DynamoSAP/Structure/Frame.cs
+++ b/src/DynamoSAP/Structure/Frame.cs
@@ -17,7 +17,7 @@
using DynamoServices;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
diff --git a/src/DynamoSAP/Structure/Joint.cs b/src/DynamoSAP/Structure/Joint.cs
index 5129c37..dbd2b0d 100644
--- a/src/DynamoSAP/Structure/Joint.cs
+++ b/src/DynamoSAP/Structure/Joint.cs
@@ -17,7 +17,7 @@
using DynamoServices;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
diff --git a/src/DynamoSAP/Structure/Shell.cs b/src/DynamoSAP/Structure/Shell.cs
index 34c6344..a6c3ad4 100644
--- a/src/DynamoSAP/Structure/Shell.cs
+++ b/src/DynamoSAP/Structure/Shell.cs
@@ -17,7 +17,7 @@
using DynamoServices;
//SAP
-using SAP2000v16;
+using SAP2000v20;
using SAPConnection;
diff --git a/src/DynamoSAP/packages.config b/src/DynamoSAP/packages.config
new file mode 100644
index 0000000..7cdbdc6
--- /dev/null
+++ b/src/DynamoSAP/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/DynamoSAPTests/DynamoSAPTests.csproj b/src/DynamoSAPTests/DynamoSAPTests.csproj
index b50dd4c..4cf30cc 100644
--- a/src/DynamoSAPTests/DynamoSAPTests.csproj
+++ b/src/DynamoSAPTests/DynamoSAPTests.csproj
@@ -36,49 +36,87 @@
false
-
- False
- $(DYNAMO_API)\DynamoCore.dll
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Analysis.dll
-
- False
- ..\..\bin\AnyCPU\Debug\DynamoSAP.dll
- False
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModels.dll
-
- $(DYNAMO_API)\nunit.framework.dll
- False
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModelsWpf.dll
-
- $(REVIT_API)\RevitAPI.dll
- False
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Display.dll
-
- $(REVIT_API)\RevitAPIUI.dll
- False
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\DSCoreNodes.dll
-
- $(DYNAMO_API)\Revit_2015\RevitServices.dll
- False
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DSIronPython.dll
-
- $(DYNAMO_API)\Revit_2015\RevitTestFrameworkTypes.dll
- False
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoApplications.dll
-
- $(DYNAMO_API)\Revit_2015\RevitTestServices.dll
- False
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\DynamoCoreWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoInstallDetective.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\DynamoServices.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoShapeManager.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\DynamoUnits.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoUtilities.dll
-
- ..\..\..\..\..\..\..\Program Files (x86)\Computers and Structures\SAP2000 16\SAP2000v16.dll
- True
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Expression.Interactions.dll
-
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.Interactivity.dll
+
+
+ ..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\NodeServices2.dll
+
+
+ ..\packages\NUnit.2.6.3\lib\nunit.framework.dll
+
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\ProtoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\ProtoGeometry.dll
+
+
+ C:\Program Files\Autodesk\Revit 2018\RevitDBAPI.dll
+
+
False
- ..\..\bin\AnyCPU\Debug\SAPConnection.dll
+ C:\Program Files\Computers and Structures\SAP2000 20\SAP2000v20.dll
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\System.Windows.Interactivity.dll
+
+
@@ -88,11 +126,24 @@
$(DYNAMO_API)\SystemTestServices.dll
False
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\VMDataBridge.dll
+
+
+
+
+
+
+
+ {6da1eac6-bae8-4a05-8880-24cc11eab491}
+ DynamoSAP
+
+
-
+
\ No newline at end of file
diff --git a/src/DynamoSAPTests/SystemTests.cs b/src/DynamoSAPTests/SystemTests.cs
index a17f76e..7a9fe9d 100644
--- a/src/DynamoSAPTests/SystemTests.cs
+++ b/src/DynamoSAPTests/SystemTests.cs
@@ -9,7 +9,7 @@
using System.Collections.Generic;
using DynamoSAP;
-using SAP2000v16;
+using SAP2000v20;
using System;
namespace DynamoSAPTests
@@ -34,7 +34,7 @@ public void Setup()
[Test, TestModel(@".\TestModel.rvt")]
public void SpaceStructure()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
SapObject mySapObject = null;
cSapModel mySapModel = null;
SAPConnection.Initialize.InitializeSapModel(ref mySapObject, ref mySapModel, "kip_ft_F");
@@ -101,7 +101,7 @@ public void SpaceStructure()
[Test, TestModel(@".\TestModel.rvt")]
public void SpaceStructurewLoads()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
SapObject mySapObject = null;
cSapModel mySapModel = null;
SAPConnection.Initialize.InitializeSapModel(ref mySapObject, ref mySapModel, "kip_ft_F");
@@ -182,7 +182,7 @@ public void SpaceStructurewLoads()
[Test, TestModel(@".\TestModel.rvt")]
public void ShellStructure()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
SapObject mySapObject = null;
cSapModel mySapModel = null;
SAPConnection.Initialize.InitializeSapModel(ref mySapObject, ref mySapModel, "kip_ft_F");
@@ -242,11 +242,11 @@ public void ShellStructure()
[Test, TestModel(@".\TestModel.rvt")]
public void ReadStructure_Frame()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
string filePath = @"C:\Users\eertugrul\Documents\GitHub\DynamoSAP\packages\DynamoSAP\extra\2a_Dome.sdb";
//Create SAP2000 Object
- SapObject mySapObject = new SAP2000v16.SapObject();
+ SapObject mySapObject = new SAP2000v20.SapObject();
//Start Application
mySapObject.ApplicationStart();
//Create SapModel object
@@ -306,10 +306,10 @@ public void ReadStructure_Frame()
[Test, TestModel(@".\TestModel.rvt")]
public void ReadStructure_Shell()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
string filePath = @"C:\Users\eertugrul\Documents\GitHub\DynamoSAP\packages\DynamoSAP\extra\2b_SimpleShellStructure.sdb";
//Create SAP2000 Object
- SapObject mySapObject = new SAP2000v16.SapObject();
+ SapObject mySapObject = new SAP2000v20.SapObject();
//Start Application
mySapObject.ApplicationStart();
//Create SapModel object
@@ -369,10 +369,10 @@ public void ReadStructure_Shell()
[Test, TestModel(@".\TestModel.rvt")]
public void RunAnalysis()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
string filePath = @"C:\Users\eertugrul\Documents\GitHub\DynamoSAP\packages\DynamoSAP\extra\3a_RunAnalysis.sdb";
//Create SAP2000 Object
- SapObject mySapObject = new SAP2000v16.SapObject();
+ SapObject mySapObject = new SAP2000v20.SapObject();
//Start Application
mySapObject.ApplicationStart();
//Create SapModel object
@@ -447,11 +447,11 @@ public void RunAnalysis()
[Test, TestModel(@".\TestModel.rvt")]
public void Edit_AddGroup()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
string filePath = @"C:\Users\eertugrul\Documents\GitHub\DynamoSAP\packages\DynamoSAP\extra\2a_Dome.sdb";
//Create SAP2000 Object
- SapObject mySapObject = new SAP2000v16.SapObject();
+ SapObject mySapObject = new SAP2000v20.SapObject();
//Start Application
mySapObject.ApplicationStart();
//Create SapModel object
@@ -489,11 +489,11 @@ public void Edit_AddGroup()
[Test, TestModel(@".\TestModel.rvt")]
public void Edit_AddLoadCase()
{
- // Launch SAP2000v16 and Open a blank model
+ // Launch SAP2000v20 and Open a blank model
string filePath = @"C:\Users\eertugrul\Documents\GitHub\DynamoSAP\packages\DynamoSAP\extra\2a_Dome.sdb";
//Create SAP2000 Object
- SapObject mySapObject = new SAP2000v16.SapObject();
+ SapObject mySapObject = new SAP2000v20.SapObject();
//Start Application
mySapObject.ApplicationStart();
//Create SapModel object
diff --git a/src/DynamoSAPTests/packages.config b/src/DynamoSAPTests/packages.config
new file mode 100644
index 0000000..7cdbdc6
--- /dev/null
+++ b/src/DynamoSAPTests/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/DynamoSAP_UI/DynamoSAPDropDowns.cs b/src/DynamoSAP_UI/DynamoSAPDropDowns.cs
index 81ea72b..2d9aa4d 100644
--- a/src/DynamoSAP_UI/DynamoSAPDropDowns.cs
+++ b/src/DynamoSAP_UI/DynamoSAPDropDowns.cs
@@ -9,7 +9,7 @@
using System.Xml;
//using CoreNodeModels;
-using SAP2000v16;
+using SAP2000v20;
using Dynamo.Utilities;
using Dynamo.Graph.Nodes;
using ProtoCore.AST.AssociativeAST;
@@ -105,7 +105,7 @@ protected override SelectionState PopulateItemsCore(string currentSelection)
//set up the collection
var newItems = new List();
- foreach (var j in Enum.GetValues(new eCType().GetType()))
+ foreach (var j in Enum.GetValues(new eCNameType().GetType()))
{
newItems.Add(new DynamoDropDownItem(j.ToString(), j.ToString()));
}
diff --git a/src/DynamoSAP_UI/DynamoSAP_UI.csproj b/src/DynamoSAP_UI/DynamoSAP_UI.csproj
index 6bfc673..f123c1b 100644
--- a/src/DynamoSAP_UI/DynamoSAP_UI.csproj
+++ b/src/DynamoSAP_UI/DynamoSAP_UI.csproj
@@ -37,46 +37,100 @@
false
-
- $(DYNAMO_API)\nodes\CoreNodeModels.dll
- False
-
-
- False
- $(DYNAMO_API)\DynamoCore.dll
- False
-
-
- False
- $(DYNAMO_API)\DynamoServices.dll
- False
-
-
- False
- $(DYNAMO_API)\DynamoUtilities.dll
- False
-
-
- False
- $(DYNAMO_API)\ProtoCore.dll
- False
-
-
- $(SAP2000v16_API)\SAP2000v16.dll
- True
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Analysis.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModels.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModelsWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Display.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\DSCoreNodes.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DSIronPython.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoApplications.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\DynamoCoreWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoInstallDetective.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\DynamoServices.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoShapeManager.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\DynamoUnits.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoUtilities.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Expression.Interactions.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.Interactivity.dll
+
+
+ ..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\NodeServices2.dll
+
+
+ ..\packages\NUnit.2.6.3\lib\nunit.framework.dll
+
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\ProtoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\ProtoGeometry.dll
+
+
+ C:\Program Files\Computers and Structures\SAP2000 20\SAP2000v20.dll
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\System.Windows.Interactivity.dll
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\VMDataBridge.dll
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/DynamoSAP_UI/packages.config b/src/DynamoSAP_UI/packages.config
new file mode 100644
index 0000000..7cdbdc6
--- /dev/null
+++ b/src/DynamoSAP_UI/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/SAPConnection/AnalysisMapper.cs b/src/SAPConnection/AnalysisMapper.cs
index 971fd3c..4231019 100644
--- a/src/SAPConnection/AnalysisMapper.cs
+++ b/src/SAPConnection/AnalysisMapper.cs
@@ -8,7 +8,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
//DYNAMO
@@ -88,7 +88,7 @@ public static List GetFrameForces(ref cSapModel mySapModel, string
ret = mySapModel.Results.Setup.DeselectAllCasesAndCombosForOutput();
int ComboType = -1;
- ret = mySapModel.RespCombo.GetType(patter_case_combo, ref ComboType); // 0 = Linear Additive 1 = Envelope 2 = Absolute Additive 3 = SRSS 4 = Range Additive
+ ret = mySapModel.RespCombo.GetTypeOAPI(patter_case_combo, ref ComboType); // 0 = Linear Additive 1 = Envelope 2 = Absolute Additive 3 = SRSS 4 = Range Additive
if (ret != 0)//if it is not a load combo
{
@@ -103,7 +103,7 @@ public static List GetFrameForces(ref cSapModel mySapModel, string
}
//get frame forces for frame objects
- ret = mySapModel.Results.FrameForce(frameid, eItemTypeElm.ObjectElm, ref NumberResults, ref Obj, ref ObjSta, ref Elm, ref ElmSta, ref LoadCase, ref StepType, StepNum, ref P, ref V2, ref V3, ref T, ref M2, ref M3);
+ ret = mySapModel.Results.FrameForce(frameid, eItemTypeElm.ObjectElm, ref NumberResults, ref Obj, ref ObjSta, ref Elm, ref ElmSta, ref LoadCase, ref StepType, ref StepNum, ref P, ref V2, ref V3, ref T, ref M2, ref M3);
int index = 0;
diff --git a/src/SAPConnection/GroupMapper.cs b/src/SAPConnection/GroupMapper.cs
index a5fcec6..81e916b 100644
--- a/src/SAPConnection/GroupMapper.cs
+++ b/src/SAPConnection/GroupMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
using DynamoSAP;
using DynamoSAP_UI;
diff --git a/src/SAPConnection/Initialize.cs b/src/SAPConnection/Initialize.cs
index cf1ba43..6043407 100644
--- a/src/SAPConnection/Initialize.cs
+++ b/src/SAPConnection/Initialize.cs
@@ -6,8 +6,7 @@
using System.Collections.Generic;
using System.Linq;
using System.Text;
-
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
@@ -19,197 +18,215 @@
namespace SAPConnection
{
- [SupressImportIntoVM]
- public class Initialize
- {
- public static void InitializeSapModel(ref SapObject mySAPObject, ref cSapModel mySapModel, string units)
- {
-
- long ret = 0;
-
- //TO DO: Grab open Instance if already open!!!
-
- //Create SAP2000 Object
- mySAPObject = new SAP2000v16.SapObject();
-
- // get enum from Units
- eUnits Units = (eUnits)Enum.Parse(typeof(eUnits), units);
-
- //Start Application
- mySAPObject.ApplicationStart(Units, true);
-
- //Create SapModel object
- mySapModel = mySAPObject.SapModel;
-
- //initialize the model
- ret = mySapModel.InitializeNewModel(Units);
-
- //create new blank model
- ret = mySapModel.File.NewBlank();
-
- //SET UP ... SET UP ... SET UP ... SET UP
- DefineMaterials(ref mySapModel);
-
- }
-
- public static string GetModelFilename(ref cSapModel mySapModel)
- {
- return mySapModel.GetModelFilename();
- }
-
- public static void OpenSAPModel(string filePath, ref cSapModel mySapModel, ref string units)
- {
- long ret = 0;
- //Create SAP2000 Object
- SapObject mySAPObject = new SAP2000v16.SapObject();
- //Start Application
- mySAPObject.ApplicationStart();
- //Create SapModel object
- mySapModel = mySAPObject.SapModel;
- ret = mySapModel.InitializeNewModel();
- ret = mySapModel.File.OpenFile(filePath);
- units = mySapModel.GetPresentUnits().ToString();
- }
-
- public static void GrabOpenSAP(ref cSapModel mySapModel, ref string ModelUnits, string DynInputUnits = "kip_ft_F")
- {
- Process[] SapInstances = Process.GetProcessesByName("SAP2000");
-
- //http://docs.csiamerica.com/help-files/sap2000-oapi/SAP2000_API_Fuctions/General_Functions/SetAsActiveObject.htm
- if (SapInstances.LongLength >= 1)
- {
- SapObject Obj;
- object getObj = ROTHelper.GetActiveObject("SAP2000v16.SapObject");
- if (getObj == null)
- {
- Obj = new SapObject();
- getObj = ROTHelper.GetActiveObject("SAP2000v16.SapObject");
- }
- if (getObj != null)
- {
- Obj = (SapObject)getObj;
- mySapModel = Obj.SapModel;
- // get enum from Units & Set to model
- if (! String.IsNullOrEmpty(DynInputUnits))
- {
- eUnits Units = (eUnits)Enum.Parse(typeof(eUnits), DynInputUnits);
- try
- {
- int ret = mySapModel.SetPresentUnits(Units);
- }
- catch(Exception ex) {
- string message = ex.Message;
- }
-
- }
- ModelUnits = mySapModel.GetPresentUnits().ToString();
- }
-
- //SET UP ... SET UP ... SET UP ... SET UP
- try
- {
- DefineMaterials(ref mySapModel);
- }
- catch { }
- }
-
- }
-
- public static void Release(ref SapObject SAP, ref cSapModel Model)
- {
- GC.Collect();
- GC.WaitForPendingFinalizers();
-
- if (SAP != null)
- {
- Marshal.FinalReleaseComObject(SAP);
- }
-
- if (Model != null)
- {
- Marshal.FinalReleaseComObject(Model);
- }
-
- }
-
- // METHODS FOR SAP SET UP
- // Add Most Common Materials to SAP
- public static bool DefineMaterials(ref cSapModel SapModel)
- {
- // Add Most Common Standard Materials to SAP Model // call this before or during Create Structure
-
- long ret = 0;
- string MatName = string.Empty;
-
- int number = 0;
- string[] MatNames = null;
- ret = SapModel.PropMaterial.GetNameList(ref number, ref MatNames);
-
- if (MatNames!=null)
- {
- if (!MatNames.Contains("A36"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A36);
-
- }
- if (!MatNames.Contains("A53GrB"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A53GrB);
- }
- if (!MatNames.Contains("A500GrB42"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A500GrB_Fy42);
- }
- if (!MatNames.Contains("A500GrB46"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A500GrB_Fy46);
- }
- if (!MatNames.Contains("A572Gr50"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A572Gr50);
- }
- if (!MatNames.Contains("A913Gr50"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A913Gr50);
- }
- if (!MatNames.Contains("A992Fy50"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A992_Fy50);
-
- }
- if (!MatNames.Contains("4000Psi"))
- {
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_CONCRETE, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A992_Fy50, eMatTypeConcrete.MATERIAL_CONCRETE_SUBTYPE_FC4000_NORMALWEIGHT);
- }
- }
- else
- {
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A36);
-
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A53GrB);
-
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A500GrB_Fy42);
-
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A500GrB_Fy46);
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A572Gr50);
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A913Gr50);
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_STEEL, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A992_Fy50);
-
-
- ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.MATERIAL_CONCRETE, eMatTypeSteel.MATERIAL_STEEL_SUBTYPE_ASTM_A992_Fy50, eMatTypeConcrete.MATERIAL_CONCRETE_SUBTYPE_FC4000_NORMALWEIGHT);
-
- }
-
- return true;
- }
-
-
- }
-}
+ [SupressImportIntoVM]
+ public class Initialize
+ {
+ public static void InitializeSapModel(ref cSapModel mySAPObject, ref cSapModel mySapModel,
+ string units)
+ {
+ //dimension the SapObject as cOAPI type
+ cOAPI mySapObject = null;
+
+ //Use ret to check if functions return successfully (ret = 0) or fail (ret = nonzero)
+ var ret = 0;
+
+ //create API helper object
+ cHelper myHelper;
+ try
+ {
+ myHelper = new Helper();
+ }
+ catch (Exception ex)
+ {
+ //Console.WriteLine("Cannot create an instance of the Helper object");
+ return;
+ }
+ try
+ {
+ //create SapObject
+ mySapObject = myHelper.CreateObjectProgID("CSI.SAP2000.API.SapObject");
+ }
+ catch (Exception ex)
+ {
+ //Console.WriteLine("Cannot start a new instance of the program.");
+ return;
+ }
+
+ //start SAP2000 application
+ ret = mySapObject.ApplicationStart();
+
+ //create SapModel object
+ mySapModel = mySapObject.SapModel;
+
+ //initialize model
+ ret = mySapModel.InitializeNewModel(eUnits.kN_m_C);
+
+ //create new blank model
+ ret = mySapModel.File.NewBlank();
+
+ //define material property
+
+ //ret = mySapModel.PropMaterial.SetMaterial("CONC", eMatType.Concrete, -1, "", "");
+ }
+
+ public static string GetModelFilename(ref cSapModel mySapModel)
+ {
+ return mySapModel.GetModelFilename();
+ }
+
+ public static void OpenSAPModel(string filePath, ref cSapModel mySapModel, ref string units)
+ {
+ int ret = 0;
+
+ //Create SAP2000 Object
+ cOAPI mySapObject = null;
+ cHelper myHelper = new Helper();
+ mySapObject = myHelper.CreateObjectProgID("CSI.SAP2000.API.SapObject");
+
+ //Start Application
+ mySapObject.ApplicationStart();
+
+ //Create SapModel object
+ mySapModel = mySapObject.SapModel;
+ ret = mySapModel.InitializeNewModel();
+ ret = mySapModel.File.OpenFile(filePath);
+ units = mySapModel.GetPresentUnits().ToString();
+ }
+
+ public static void GrabOpenSAP(ref cSapModel mySapModel, ref string ModelUnits, string DynInputUnits = "kip_ft_F")
+ {
+ //dimension the SapObject as cOAPI type
+ cOAPI mySapObject = null;
+
+ //Use ret to check if functions return successfully (ret = 0) or fail (ret = nonzero)
+ var ret = 0;
+
+ //attach to a running instance of SAP2000
+ try
+ {
+ //get the active SapObject
+
+ //try the code form the example
+ //mySapObject =(cOAPI) Marshal.GetActiveObject("CSI.SAP2000.API.SapObject");
+ //get the active SapObject
+ mySapObject = (cOAPI) System.Runtime.InteropServices.Marshal.GetActiveObject("CSI.SAP2000.API.SapObject");
+ }
+ catch (Exception ex)
+ {
+ Console.WriteLine("No running instance of the program found or failed to attach.");
+ return;
+ }
+
+ //Create SapModel object
+ mySapModel = mySapObject.SapModel;
+ // get enum from Units & Set to model
+ if (!String.IsNullOrEmpty(DynInputUnits))
+ {
+ eUnits Units = (eUnits) Enum.Parse(typeof(eUnits), DynInputUnits);
+ try
+ {
+ ret = mySapModel.SetPresentUnits(Units);
+ }
+ catch (Exception ex)
+ {
+ string message = ex.Message;
+ }
+ }
+ ModelUnits = mySapModel.GetPresentUnits().ToString();
+ }
+
+ //public static void Release(ref mySapObject SAP, ref cSapModel Model)
+ // {
+ // GC.Collect();
+ // GC.WaitForPendingFinalizers();
+
+ // if (SAP != null)
+ // {
+ // Marshal.FinalReleaseComObject(SAP);
+ // }
+
+ // if (Model != null)
+ // {
+ // Marshal.FinalReleaseComObject(Model);
+ // }
+
+ // }
+
+ // METHODS FOR SAP SET UP
+ // Add Most Common Materials to SAP
+ public static bool DefineMaterials(ref cSapModel SapModel)
+ {
+ // Add Most Common Standard Materials to SAP Model // call this before or during Create Structure
+ long ret = 0;
+ string MatName = string.Empty;
+ int number = 0;
+ string[] MatNames = null;
+ ret = SapModel.PropMaterial.GetNameList(ref number, ref MatNames);
+ if (MatNames != null)
+ {
+ if (!MatNames.Contains("A36"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A36);
+ }
+ if (!MatNames.Contains("A53GrB"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A53GrB);
+ }
+ if (!MatNames.Contains("A500GrB42"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A500GrB_Fy42);
+ }
+ if (!MatNames.Contains("A500GrB46"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A500GrB_Fy46);
+ }
+ if (!MatNames.Contains("A572Gr50"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A572Gr50);
+ }
+ if (!MatNames.Contains("A913Gr50"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A913Gr50);
+ }
+ if (!MatNames.Contains("A992Fy50"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A992_Fy50);
+ }
+ if (!MatNames.Contains("4000Psi"))
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Concrete,
+ eMatTypeSteel.ASTM_A992_Fy50,
+ eMatTypeConcrete.FC4000_NormalWeight);
+ }
+ }
+ else
+ {
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A36);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A53GrB);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A500GrB_Fy42);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A500GrB_Fy46);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A572Gr50);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A913Gr50);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Steel,
+ eMatTypeSteel.ASTM_A992_Fy50);
+ ret = SapModel.PropMaterial.AddQuick(ref MatName, eMatType.Concrete,
+ eMatTypeSteel.ASTM_A992_Fy50,
+ eMatTypeConcrete.FC4000_LightWeight);
+ }
+ return true;
+ }
+ }
+}
\ No newline at end of file
diff --git a/src/SAPConnection/JusticationMapper.cs b/src/SAPConnection/JusticationMapper.cs
index 3cf0bc9..8b609f6 100644
--- a/src/SAPConnection/JusticationMapper.cs
+++ b/src/SAPConnection/JusticationMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
diff --git a/src/SAPConnection/LoadMapper.cs b/src/SAPConnection/LoadMapper.cs
index ccbfce0..554ff1d 100644
--- a/src/SAPConnection/LoadMapper.cs
+++ b/src/SAPConnection/LoadMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
@@ -31,12 +31,12 @@ public static void AddLoadPattern(ref cSapModel Model, string Name, string Type,
public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount, ref string[] LoadType, ref string[] LoadName, ref double[] SF, string LCType)
{
- if (LCType == eLoadCaseType.CASE_LINEAR_STATIC.ToString())
+ if (LCType == eLoadCaseType.LinearStatic.ToString())
{
int ret = Model.LoadCases.StaticLinear.SetCase(Name);
ret = Model.LoadCases.StaticLinear.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, ref SF);
}
- else if (LCType == eLoadCaseType.CASE_NONLINEAR_STATIC.ToString())
+ else if (LCType == eLoadCaseType.NonlinearStatic.ToString())
{
int ret = Model.LoadCases.StaticNonlinear.SetCase(Name);
ret = Model.LoadCases.StaticNonlinear.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, ref SF);
@@ -46,7 +46,7 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//must implement stageData methods
}
- else if (LCType == eLoadCaseType.CASE_MODAL.ToString())
+ else if (LCType == eLoadCaseType.Modal.ToString())
{
//throw new Exception("Load Case Type not supported");
@@ -60,7 +60,7 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//ret = SapModel.LoadCases.ModalRitz.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, MyRitzMaxCyc, MyTargetPar);
}
- else if (LCType == eLoadCaseType.CASE_RESPONSE_SPECTRUM.ToString())
+ else if (LCType == eLoadCaseType.ResponseSpectrum.ToString())
{
throw new Exception("Load Case Type not supported");
@@ -70,7 +70,7 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//ret = SapModel.LoadCases.ResponseSpectrum.SetLoads(Name, LoadCount, ref LoadName, MyFunc, ref SF, MyCSys, MyAng);
}
- else if (LCType == eLoadCaseType.CASE_LINEAR_HISTORY.ToString())
+ else if (LCType == eLoadCaseType.LinearHistory.ToString())
{
throw new Exception("Load Case Type not supported");
@@ -82,7 +82,7 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//this needs to pass the motion type, transient or periodic
}
- else if (LCType == eLoadCaseType.CASE_NONLINEAR_HISTORY.ToString())
+ else if (LCType == eLoadCaseType.NonlinearHistory.ToString())
{
throw new Exception("Load Case Type not supported");
@@ -91,7 +91,7 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//ret = Model.LoadCases.ModHistNonlinear.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, MyFunc, ref SF, MyTF, MyAT, MyCSys, MyAng)
}
- else if (LCType == eLoadCaseType.CASE_LINEAR_DYNAMIC.ToString())
+ else if (LCType == eLoadCaseType.LinearDynamic.ToString())
{
throw new Exception("Load Case Type not supported");
@@ -99,12 +99,12 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//this needs more inputs
//ret = Model.LoadCases.DirHistLinear.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, MyFunc, ref SF, MyTF, MyAT, MyCSys, MyAng);
}
- else if (LCType == eLoadCaseType.CASE_NONLINEAR_DYNAMIC.ToString())
+ else if (LCType == eLoadCaseType.NonlinearDynamic.ToString())
{
int ret = Model.LoadCases.StaticNonlinear.SetCase(Name);
ret = Model.LoadCases.StaticNonlinear.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, ref SF);
}
- else if (LCType == eLoadCaseType.CASE_MOVING_LOAD.ToString())
+ else if (LCType == eLoadCaseType.MovingLoad.ToString())
{
throw new Exception("Load Case Type not supported");
//int ret = Model.LoadCases.Moving.SetCase(Name);
@@ -113,12 +113,12 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//ret = Model.LoadCases.Moving.SetLoads(Name, LoadCount, MyMyClass, ref SF, MyMin, MyMax);
}
- else if (LCType == eLoadCaseType.CASE_BUCKLING.ToString())
+ else if (LCType == eLoadCaseType.Buckling.ToString())
{
int ret = Model.LoadCases.Buckling.SetCase(Name);
ret = Model.LoadCases.Buckling.SetLoads(Name, 2, ref LoadType, ref LoadName, ref SF);
}
- else if (LCType == eLoadCaseType.CASE_STEADY_STATE.ToString())
+ else if (LCType == eLoadCaseType.SteadyState.ToString())
{
throw new Exception("Load Case Type not supported");
// int ret = Model.LoadCases.SteadyState.SetCase(Name);
@@ -126,19 +126,19 @@ public static void AddLoadCase(ref cSapModel Model, string Name, int LoadCount,
//ret = Model.LoadCases.SteadyState.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, MyFunc, ref SF, MyPhaseAngle, MyCSys, MyAng);
}
- else if (LCType == eLoadCaseType.CASE_POWER_SPECTRAL_DENSITY.ToString())
+ else if (LCType == eLoadCaseType.PowerSpectralDensity.ToString())
{
throw new Exception("Load Case Type not supported");
//int ret = Model.LoadCases.PSD.SetCase(Name);
//this needs more inputs
//ret = Model.LoadCases.PSD.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, MyFunc, ref SF, MyPhaseAngle, MyCSys, MyAng);
}
- else if (LCType == eLoadCaseType.CASE_LINEAR_STATIC_MULTISTEP.ToString())
+ else if (LCType == eLoadCaseType.LinearStaticMultiStep.ToString())
{
int ret = Model.LoadCases.StaticLinearMultistep.SetCase(Name);
ret = Model.LoadCases.StaticLinearMultistep.SetLoads(Name, LoadCount, ref LoadType, ref LoadName, ref SF);
}
- else if (LCType == eLoadCaseType.CASE_HYPERSTATIC.ToString())
+ else if (LCType == eLoadCaseType.HyperStatic.ToString())
{
int ret = Model.LoadCases.HyperStatic.SetCase(Name);
@@ -160,8 +160,8 @@ public static void AddLoadCombo(ref cSapModel Model, string Name, string[] Types
foreach (string def in CName)
{
int pos = Array.IndexOf(CName, def);
- //get the type of the definition
- eCType type = (eCType)Enum.Parse(typeof(eCType), Types.ElementAt(pos));
+ //get the type of the definition
+ eCNameType type = (eCNameType)Enum.Parse(typeof(eCNameType), Types.ElementAt(pos));
//set the type of the combination
ret = Model.RespCombo.SetCaseList(Name, ref type, def, SF.ElementAt(pos));
@@ -180,7 +180,7 @@ public static void CreateDistributedLoad(ref cSapModel Model, string FrameName,
public static void SetLoadForcetoJoint(ref cSapModel Model, string JointId, string LoadPat, double[] Values, bool Replace)
{
- int ret = Model.PointObj.SetLoadForce(JointId, LoadPat, Values, Replace);
+ int ret = Model.PointObj.SetLoadForce(JointId, LoadPat, ref Values, Replace);
}
// READ LOAD METHODS
diff --git a/src/SAPConnection/MaterialMapper.cs b/src/SAPConnection/MaterialMapper.cs
index a97c17b..5778cfb 100644
--- a/src/SAPConnection/MaterialMapper.cs
+++ b/src/SAPConnection/MaterialMapper.cs
@@ -8,7 +8,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
@@ -79,7 +79,7 @@ public static void SapToDynamo(ref cSapModel Model, string SecName, ref string M
{
long ret = 0;
eFramePropType PropType = new eFramePropType();
- ret = Model.PropFrame.GetType(SecName, ref PropType);
+ ret = Model.PropFrame.GetTypeOAPI(SecName, ref PropType);
string nameinfile = string.Empty; // If the section property was imported from a property file, this is the name of that file. If the section property was not imported, this item is blank.
int color = 0;
@@ -87,35 +87,35 @@ public static void SapToDynamo(ref cSapModel Model, string SecName, ref string M
string Guid = string.Empty;
double t2 = 0; double t3 = 0; double TW = 0; double TF = 0; double t2b = 0; double t3b = 0;
- if (PropType == eFramePropType.SECTION_RECTANGULAR)
+ if (PropType == eFramePropType.Rectangular)
{
ret = Model.PropFrame.GetRectangle(SecName, ref filename, ref MatProp, ref t3, ref t2, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_PIPE)
+ else if (PropType == eFramePropType.Pipe)
{
ret = Model.PropFrame.GetPipe(SecName, ref filename, ref MatProp, ref t3, ref TW, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_CIRCLE)
+ else if (PropType == eFramePropType.Circle)
{
ret = Model.PropFrame.GetCircle(SecName, ref filename, ref MatProp, ref t3, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_BOX)
+ else if (PropType == eFramePropType.Box)
{
ret = Model.PropFrame.GetTube(SecName, ref filename, ref MatProp, ref t3, ref t2, ref TF, ref TW, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_I)
+ else if (PropType == eFramePropType.I)
{
ret = Model.PropFrame.GetISection(SecName, ref filename, ref MatProp, ref t3, ref t2, ref TF, ref TW, ref t2b, ref t3b, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_CHANNEL)
+ else if (PropType == eFramePropType.Channel)
{
ret = Model.PropFrame.GetChannel(SecName, ref filename, ref MatProp, ref t3, ref t2, ref TF, ref TW, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_T)
+ else if (PropType == eFramePropType.T)
{
ret = Model.PropFrame.GetTee(SecName, ref filename, ref MatProp, ref t3, ref t2, ref TF, ref TW, ref color, ref notes, ref Guid);
}
- else if (PropType == eFramePropType.SECTION_ANGLE)
+ else if (PropType == eFramePropType.Angle)
{
ret = Model.PropFrame.GetAngle(SecName, ref filename, ref MatProp, ref t3, ref t2, ref TF, ref TW, ref color, ref notes, ref Guid);
}
diff --git a/src/SAPConnection/ReleaseMapper.cs b/src/SAPConnection/ReleaseMapper.cs
index 6ecf8fa..21bce3f 100644
--- a/src/SAPConnection/ReleaseMapper.cs
+++ b/src/SAPConnection/ReleaseMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
@@ -28,7 +28,7 @@ public static void Set(ref cSapModel Model, string name, bool[] ireleases, bool[
double[] EndPFixityVValues = new double[6];
- int ret = Model.FrameObj.SetReleases(name, ireleases, jreleases, StartPFixityValues, EndPFixityVValues,eItemType.Object);
+ int ret = Model.FrameObj.SetReleases(name, ref ireleases, ref jreleases, ref StartPFixityValues, ref EndPFixityVValues,eItemType.Objects);
if (ret == 1) error=string.Format("Error setting the release for frame {0}. Try changing the conditions",name);
diff --git a/src/SAPConnection/RestraintMapper.cs b/src/SAPConnection/RestraintMapper.cs
index fbd5484..ffe5f18 100644
--- a/src/SAPConnection/RestraintMapper.cs
+++ b/src/SAPConnection/RestraintMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
// interop.COM services for SAP
using System.Runtime.InteropServices;
@@ -23,7 +23,7 @@ public class RestraintMapper
// Dynamo To SAP
public static void Set(ref cSapModel Model, string Id, bool[] restaints)
{
- long ret = Model.PointObj.SetRestraint(Id, restaints);
+ long ret = Model.PointObj.SetRestraint(Id, ref restaints);
}
// SAP to Dynamo
@@ -43,12 +43,13 @@ public static void Get( ref cSapModel Model, string PtId, ref Point Pt, ref bool
public static void GetSupportedPts(ref cSapModel Model, ref List PtIds)
{
Model.SelectObj.ClearSelection();
- List dof = new List();
- for (int i = 0; i < 6; i++)
- {
- dof.Add(true);
- }
- int ret = Model.SelectObj.SupportedPoints(dof.ToArray(), "GLOBAL", false, true, false, false, false, false, false); // Select the Points objects
+ //List dof = new List();
+ //for (int i = 0; i < 6; i++)
+ //{
+ // dof.Add(true);
+ //}
+ bool[] dof = { true, true, true, true, true, true };
+ int ret = Model.SelectObj.SupportedPoints(ref dof, "GLOBAL", false, true, false, false, false, false, false); // Select the Points objects
// Get selection
int num = 0;
diff --git a/src/SAPConnection/SAPConnection.csproj b/src/SAPConnection/SAPConnection.csproj
index 81c794d..702b733 100644
--- a/src/SAPConnection/SAPConnection.csproj
+++ b/src/SAPConnection/SAPConnection.csproj
@@ -37,24 +37,98 @@
false
-
- $(DYNAMO_API)\DynamoServices.dll
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Analysis.dll
-
- $(DYNAMO_API)\ProtoGeometry.dll
- False
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModels.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\CoreNodeModelsWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\Display.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoCoreNodes.1.3.0\lib\net45\DSCoreNodes.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DSIronPython.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoApplications.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.WpfUILibrary.1.3.0\lib\net45\DynamoCoreWpf.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoInstallDetective.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\DynamoServices.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoShapeManager.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\DynamoUnits.dll
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\DynamoUtilities.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Expression.Interactions.dll
+
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.dll
-
- $(SAP2000v16_API)\SAP2000v16.dll
- True
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\Microsoft.Practices.Prism.Interactivity.dll
+
+
+ ..\packages\CommonServiceLocator.1.0\lib\NET35\Microsoft.Practices.ServiceLocation.dll
+
+
+ ..\packages\DynamoVisualProgramming.DynamoServices.1.3.0\lib\net45\NodeServices2.dll
+
+
+ ..\packages\NUnit.2.6.3\lib\nunit.framework.dll
+
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\ProtoCore.dll
+
+
+ ..\packages\DynamoVisualProgramming.ZeroTouchLibrary.1.3.0\lib\net45\ProtoGeometry.dll
+
+
+ C:\Program Files (x86)\Revit Test Framework\2019\RevitTestFrameworkTypes.dll
+
+
+ C:\Program Files (x86)\Revit Test Framework\2019\RunnerTests.dll
+
+
+ C:\Program Files\Computers and Structures\SAP2000 20\SAP2000v20.dll
+
+ ..\packages\Prism.4.1.0.0\lib\NET40\System.Windows.Interactivity.dll
+
+
+
+ ..\packages\DynamoVisualProgramming.Core.1.3.0\lib\net45\VMDataBridge.dll
+
+
@@ -79,6 +153,12 @@
False
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/src/SAPConnection/StructureMapper.cs b/src/SAPConnection/StructureMapper.cs
index ad34b25..815b064 100644
--- a/src/SAPConnection/StructureMapper.cs
+++ b/src/SAPConnection/StructureMapper.cs
@@ -7,7 +7,7 @@
using System.Linq;
using System.Text;
-using SAP2000v16;
+using SAP2000v20;
using DynamoSAP_UI;
// interop.COM services for SAP
@@ -386,7 +386,7 @@ public static void GetLoadPatterns(ref cSapModel Model, ref string[] LoadPattern
foreach (string lpname in LoadPatternNames)
{
double mult = 0;
- eLoadPatternType type = eLoadPatternType.LTYPE_DEAD;
+ eLoadPatternType type = eLoadPatternType.Dead;
int pos = Array.IndexOf(LoadPatternNames, lpname);
Model.LoadPatterns.GetLoadType(lpname, ref type);
@@ -413,13 +413,13 @@ public static void GetLoadCases(ref cSapModel Model, ref string[] LoadCaseNames,
//Parameters that we need to get
//dummy eLoadCaseType
- eLoadCaseType cType = eLoadCaseType.CASE_LINEAR_STATIC;
+ eLoadCaseType cType = eLoadCaseType.LinearStatic;
int subType = 0;
int pos = Array.IndexOf(LoadCaseNames, lcname);
//get the load case type
- ret = Model.LoadCases.GetType(lcname, ref cType, ref subType);
+ ret = Model.LoadCases.GetTypeOAPI(lcname, ref cType, ref subType);
LoadCaseTypes[pos] = cType.ToString();
}
@@ -443,7 +443,7 @@ public static void GetLoadCombos(ref cSapModel Model, ref string[] LoadComboName
int numberItems = 0;
- eCType[] cType = null;
+ eCNameType[] cType = null;
string[] cName = null;
double[] sf = null;
ret = Model.RespCombo.GetCaseList(lc, ref numberItems, ref cType, ref cName, ref sf);
diff --git a/src/SAPConnection/packages.config b/src/SAPConnection/packages.config
new file mode 100644
index 0000000..7cdbdc6
--- /dev/null
+++ b/src/SAPConnection/packages.config
@@ -0,0 +1,11 @@
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/packages/CommonServiceLocator.1.0/CommonServiceLocator.1.0.nupkg b/src/packages/CommonServiceLocator.1.0/CommonServiceLocator.1.0.nupkg
new file mode 100644
index 0000000..a81045f
Binary files /dev/null and b/src/packages/CommonServiceLocator.1.0/CommonServiceLocator.1.0.nupkg differ
diff --git a/src/packages/CommonServiceLocator.1.0/lib/NET35/Microsoft.Practices.ServiceLocation.XML b/src/packages/CommonServiceLocator.1.0/lib/NET35/Microsoft.Practices.ServiceLocation.XML
new file mode 100644
index 0000000..6c6f2fe
--- /dev/null
+++ b/src/packages/CommonServiceLocator.1.0/lib/NET35/Microsoft.Practices.ServiceLocation.XML
@@ -0,0 +1,280 @@
+
+
+
+ Microsoft.Practices.ServiceLocation
+
+
+
+
+ The standard exception thrown when a ServiceLocator has an error in resolving an object.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+
+ The error message that explains the reason for the exception.
+
+
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+
+ The that holds the serialized object data about the exception being thrown.
+
+
+ The that contains contextual information about the source or destination.
+
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ The generic Service Locator interface. This interface is used
+ to retrieve services (instances identified by type and optional
+ name) from a container.
+
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to Activation error occured while trying to get all instances of type {0}.
+
+
+
+
+ Looks up a localized string similar to Activation error occured while trying to get instance of type {0}, key "{1}".
+
+
+
+
+ This class provides the ambient container for this application. If your
+ framework defines such an ambient container, use ServiceLocator.Current
+ to get it.
+
+
+
+
+ Set the delegate that is used to retrieve the current container.
+
+ Delegate that, when called, will return
+ the current ambient container.
+
+
+
+ The current ambient container.
+
+
+
+
+ This class is a helper that provides a default implementation
+ for most of the methods of .
+
+
+
+
+ Implementation of .
+
+ The requested service.
+ if there is an error in resolving the service instance.
+ The requested object.
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of resolving
+ the requested service instance.
+
+ Type of instance requested.
+ Name of registered service you want. May be null.
+ The requested service instance.
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of
+ resolving all the requested service instances.
+
+ Type of service requested.
+ Sequence of service instance objects.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving a single service.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ Name requested.
+ The formatted exception message string.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving multiple service instances.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ The formatted exception message string.
+
+
+
+ This delegate type is used to provide a method that will
+ return the current container. Used with the
+ static accessor class.
+
+ An .
+
+
+
diff --git a/src/packages/CommonServiceLocator.1.0/lib/SL30/Microsoft.Practices.ServiceLocation.XML b/src/packages/CommonServiceLocator.1.0/lib/SL30/Microsoft.Practices.ServiceLocation.XML
new file mode 100644
index 0000000..6c6f2fe
--- /dev/null
+++ b/src/packages/CommonServiceLocator.1.0/lib/SL30/Microsoft.Practices.ServiceLocation.XML
@@ -0,0 +1,280 @@
+
+
+
+ Microsoft.Practices.ServiceLocation
+
+
+
+
+ The standard exception thrown when a ServiceLocator has an error in resolving an object.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+
+ The error message that explains the reason for the exception.
+
+
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+
+ The that holds the serialized object data about the exception being thrown.
+
+
+ The that contains contextual information about the source or destination.
+
+
+ The parameter is null.
+
+
+ The class name is null or is zero (0).
+
+
+
+
+ The generic Service Locator interface. This interface is used
+ to retrieve services (instances identified by type and optional
+ name) from a container.
+
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to Activation error occured while trying to get all instances of type {0}.
+
+
+
+
+ Looks up a localized string similar to Activation error occured while trying to get instance of type {0}, key "{1}".
+
+
+
+
+ This class provides the ambient container for this application. If your
+ framework defines such an ambient container, use ServiceLocator.Current
+ to get it.
+
+
+
+
+ Set the delegate that is used to retrieve the current container.
+
+ Delegate that, when called, will return
+ the current ambient container.
+
+
+
+ The current ambient container.
+
+
+
+
+ This class is a helper that provides a default implementation
+ for most of the methods of .
+
+
+
+
+ Implementation of .
+
+ The requested service.
+ if there is an error in resolving the service instance.
+ The requested object.
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is an error resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ Get an instance of the given .
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get an instance of the given named .
+
+ Type of object requested.
+ Name the object was registered with.
+ if there is are errors resolving
+ the service instance.
+ The requested service instance.
+
+
+
+ Get all instances of the given currently
+ registered in the container.
+
+ Type of object requested.
+ if there is are errors resolving
+ the service instance.
+ A sequence of instances of the requested .
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of resolving
+ the requested service instance.
+
+ Type of instance requested.
+ Name of registered service you want. May be null.
+ The requested service instance.
+
+
+
+ When implemented by inheriting classes, this method will do the actual work of
+ resolving all the requested service instances.
+
+ Type of service requested.
+ Sequence of service instance objects.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving a single service.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ Name requested.
+ The formatted exception message string.
+
+
+
+ Format the exception message for use in an
+ that occurs while resolving multiple service instances.
+
+ The actual exception thrown by the implementation.
+ Type of service requested.
+ The formatted exception message string.
+
+
+
+ This delegate type is used to provide a method that will
+ return the current container. Used with the
+ static accessor class.
+
+ An .
+
+
+
diff --git a/src/packages/DynamoVisualProgramming.Core.1.3.0/DynamoVisualProgramming.Core.1.3.0.nupkg b/src/packages/DynamoVisualProgramming.Core.1.3.0/DynamoVisualProgramming.Core.1.3.0.nupkg
new file mode 100644
index 0000000..3fb15bf
Binary files /dev/null and b/src/packages/DynamoVisualProgramming.Core.1.3.0/DynamoVisualProgramming.Core.1.3.0.nupkg differ
diff --git a/src/packages/DynamoVisualProgramming.DynamoCoreNodes.1.3.0/DynamoVisualProgramming.DynamoCoreNodes.1.3.0.nupkg b/src/packages/DynamoVisualProgramming.DynamoCoreNodes.1.3.0/DynamoVisualProgramming.DynamoCoreNodes.1.3.0.nupkg
new file mode 100644
index 0000000..e3fe29a
Binary files /dev/null and b/src/packages/DynamoVisualProgramming.DynamoCoreNodes.1.3.0/DynamoVisualProgramming.DynamoCoreNodes.1.3.0.nupkg differ
diff --git a/src/packages/DynamoVisualProgramming.DynamoServices.1.3.0/DynamoVisualProgramming.DynamoServices.1.3.0.nupkg b/src/packages/DynamoVisualProgramming.DynamoServices.1.3.0/DynamoVisualProgramming.DynamoServices.1.3.0.nupkg
new file mode 100644
index 0000000..8cd8fab
Binary files /dev/null and b/src/packages/DynamoVisualProgramming.DynamoServices.1.3.0/DynamoVisualProgramming.DynamoServices.1.3.0.nupkg differ
diff --git a/src/packages/DynamoVisualProgramming.WpfUILibrary.1.3.0/DynamoVisualProgramming.WpfUILibrary.1.3.0.nupkg b/src/packages/DynamoVisualProgramming.WpfUILibrary.1.3.0/DynamoVisualProgramming.WpfUILibrary.1.3.0.nupkg
new file mode 100644
index 0000000..09bf178
Binary files /dev/null and b/src/packages/DynamoVisualProgramming.WpfUILibrary.1.3.0/DynamoVisualProgramming.WpfUILibrary.1.3.0.nupkg differ
diff --git a/src/packages/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0.nupkg b/src/packages/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0.nupkg
new file mode 100644
index 0000000..9c874ed
Binary files /dev/null and b/src/packages/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0/DynamoVisualProgramming.ZeroTouchLibrary.1.3.0.nupkg differ
diff --git a/src/packages/NUnit.2.6.3/NUnit.2.6.3.nupkg b/src/packages/NUnit.2.6.3/NUnit.2.6.3.nupkg
new file mode 100644
index 0000000..61e3a5e
Binary files /dev/null and b/src/packages/NUnit.2.6.3/NUnit.2.6.3.nupkg differ
diff --git a/src/packages/NUnit.2.6.3/lib/nunit.framework.xml b/src/packages/NUnit.2.6.3/lib/nunit.framework.xml
new file mode 100644
index 0000000..f40847c
--- /dev/null
+++ b/src/packages/NUnit.2.6.3/lib/nunit.framework.xml
@@ -0,0 +1,10960 @@
+
+
+
+ nunit.framework
+
+
+
+
+ The different targets a test action attribute can be applied to
+
+
+
+
+ Default target, which is determined by where the action attribute is attached
+
+
+
+
+ Target a individual test case
+
+
+
+
+ Target a suite of test cases
+
+
+
+
+ Delegate used by tests that execute code and
+ capture any thrown exception.
+
+
+
+
+ The Assert class contains a collection of static methods that
+ implement the most common assertions used in NUnit.
+
+
+
+
+ We don't actually want any instances of this object, but some people
+ like to inherit from it to add other static methods. Hence, the
+ protected constructor disallows any instances of this object.
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ Throws a with the message and arguments
+ that are passed in. This allows a test to be cut short, with a result
+ of success returned to NUnit.
+
+ The message to initialize the with.
+ Arguments to be used in formatting the message
+
+
+
+ Throws a with the message and arguments
+ that are passed in. This allows a test to be cut short, with a result
+ of success returned to NUnit.
+
+ The message to initialize the with.
+
+
+
+ Throws a with the message and arguments
+ that are passed in. This allows a test to be cut short, with a result
+ of success returned to NUnit.
+
+
+
+
+ Throws an with the message and arguments
+ that are passed in. This is used by the other Assert functions.
+
+ The message to initialize the with.
+ Arguments to be used in formatting the message
+
+
+
+ Throws an with the message that is
+ passed in. This is used by the other Assert functions.
+
+ The message to initialize the with.
+
+
+
+ Throws an .
+ This is used by the other Assert functions.
+
+
+
+
+ Throws an with the message and arguments
+ that are passed in. This causes the test to be reported as ignored.
+
+ The message to initialize the with.
+ Arguments to be used in formatting the message
+
+
+
+ Throws an with the message that is
+ passed in. This causes the test to be reported as ignored.
+
+ The message to initialize the with.
+
+
+
+ Throws an .
+ This causes the test to be reported as ignored.
+
+
+
+
+ Throws an with the message and arguments
+ that are passed in. This causes the test to be reported as inconclusive.
+
+ The message to initialize the with.
+ Arguments to be used in formatting the message
+
+
+
+ Throws an with the message that is
+ passed in. This causes the test to be reported as inconclusive.
+
+ The message to initialize the with.
+
+
+
+ Throws an .
+ This causes the test to be reported as Inconclusive.
+
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display if the condition is false
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display if the condition is false
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the code represented by a delegate throws an exception
+ that satisfies the constraint provided.
+
+ A TestDelegate to be executed
+ A ThrowsConstraint used in the test
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+ Used as a synonym for That in rare cases where a private setter
+ causes a Visual Basic compilation error.
+
+ The actual value to test
+ A Constraint to be applied
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+ Used as a synonym for That in rare cases where a private setter
+ causes a Visual Basic compilation error.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+ Used as a synonym for That in rare cases where a private setter
+ causes a Visual Basic compilation error.
+
+
+ This method is provided for use by VB developers needing to test
+ the value of properties with private setters.
+
+ The actual value to test
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ A constraint to be satisfied by the exception
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ A constraint to be satisfied by the exception
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ A constraint to be satisfied by the exception
+ A TestDelegate
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ The exception Type expected
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ The exception Type expected
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ The exception Type expected
+ A TestDelegate
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ Type of the expected exception
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ Type of the expected exception
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws a particular exception when called.
+
+ Type of the expected exception
+ A TestDelegate
+
+
+
+ Verifies that a delegate throws an exception when called
+ and returns it.
+
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws an exception when called
+ and returns it.
+
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws an exception when called
+ and returns it.
+
+ A TestDelegate
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate throws an exception of a certain Type
+ or one derived from it when called and returns it.
+
+ The expected Exception Type
+ A TestDelegate
+
+
+
+ Verifies that a delegate does not throw an exception
+
+ A TestDelegate
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that a delegate does not throw an exception.
+
+ A TestDelegate
+ The message that will be displayed on failure
+
+
+
+ Verifies that a delegate does not throw an exception.
+
+ A TestDelegate
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+ The message to display in case of failure
+
+
+
+ Asserts that a condition is false. If the condition is true the method throws
+ an .
+
+ The evaluated condition
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the object that is passed in is not equal to null
+ If the object is null
then an
+ is thrown.
+
+ The object that is to be tested
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the object that is passed in is equal to null
+ If the object is not null
then an
+ is thrown.
+
+ The object that is to be tested
+
+
+
+ Verifies that two ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two unsigned ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two unsigned ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two unsigned ints are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two unsigned longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two unsigned longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two unsigned longs are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two decimals are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two decimals are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two decimals are equal. If they are not, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+ The message to display in case of failure
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+ The message to display in case of failure
+
+
+
+ Verifies that two doubles are equal considering a delta. If the
+ expected value is infinity then the delta value is ignored. If
+ they are not equal then an is
+ thrown.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+
+
+
+ Verifies that two objects are equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are not equal an is thrown.
+
+ The value that is expected
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two objects are equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are not equal an is thrown.
+
+ The value that is expected
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two objects are equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are not equal an is thrown.
+
+ The value that is expected
+ The actual value
+
+
+
+ Verifies that two ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two unsigned ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two unsigned ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two unsigned ints are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two unsigned longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two unsigned longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two unsigned longs are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two decimals are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two decimals are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two decimals are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two floats are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two floats are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two floats are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two doubles are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two doubles are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two doubles are not equal. If they are equal, then an
+ is thrown.
+
+ The expected value
+ The actual value
+
+
+
+ Verifies that two objects are not equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are equal an is thrown.
+
+ The value that is expected
+ The actual value
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that two objects are not equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are equal an is thrown.
+
+ The value that is expected
+ The actual value
+ The message to display in case of failure
+
+
+
+ Verifies that two objects are not equal. Two objects are considered
+ equal if both are null, or if both have the same value. NUnit
+ has special semantics for some object types.
+ If they are equal an is thrown.
+
+ The value that is expected
+ The actual value
+
+
+
+ Asserts that two objects refer to the same object. If they
+ are not the same an is thrown.
+
+ The expected object
+ The actual object
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that two objects refer to the same object. If they
+ are not the same an is thrown.
+
+ The expected object
+ The actual object
+ The message to display in case of failure
+
+
+
+ Asserts that two objects refer to the same object. If they
+ are not the same an is thrown.
+
+ The expected object
+ The actual object
+
+
+
+ Asserts that two objects do not refer to the same object. If they
+ are the same an is thrown.
+
+ The expected object
+ The actual object
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that two objects do not refer to the same object. If they
+ are the same an is thrown.
+
+ The expected object
+ The actual object
+ The message to display in case of failure
+
+
+
+ Asserts that two objects do not refer to the same object. If they
+ are the same an is thrown.
+
+ The expected object
+ The actual object
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+ The message to display in case of failure
+
+
+
+ Verifies that the double that is passed in is an NaN
value.
+ If the object is not NaN
then an
+ is thrown.
+
+ The value that is to be tested
+
+
+
+ Assert that a string is empty - that is equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that a string is empty - that is equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+
+
+
+ Assert that a string is empty - that is equal to string.Empty
+
+ The string to be tested
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing ICollection
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing ICollection
+ The message to display in case of failure
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing ICollection
+
+
+
+ Assert that a string is not empty - that is not equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that a string is not empty - that is not equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+
+
+
+ Assert that a string is not empty - that is not equal to string.Empty
+
+ The string to be tested
+
+
+
+ Assert that an array, list or other collection is not empty
+
+ An array, list or other collection implementing ICollection
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is not empty
+
+ An array, list or other collection implementing ICollection
+ The message to display in case of failure
+
+
+
+ Assert that an array, list or other collection is not empty
+
+ An array, list or other collection implementing ICollection
+
+
+
+ Assert that a string is either null or equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that a string is either null or equal to string.Empty
+
+ The string to be tested
+ The message to display in case of failure
+
+
+
+ Assert that a string is either null or equal to string.Empty
+
+ The string to be tested
+
+
+
+ Assert that a string is not null or empty
+
+ The string to be tested
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Assert that a string is not null or empty
+
+ The string to be tested
+ The message to display in case of failure
+
+
+
+ Assert that a string is not null or empty
+
+ The string to be tested
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+
+
+
+ Asserts that an object may be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+ The message to display in case of failure
+
+
+
+ Asserts that an object may not be assigned a value of a given Type.
+
+ The expected Type.
+ The object under examination
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is not an instance of a given type.
+
+ The expected Type
+ The object being examined
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is greater than or equal tothe second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be greater
+ The second value, expected to be less
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+ The message to display in case of failure
+
+
+
+ Verifies that the first value is less than or equal to the second
+ value. If it is not, then an
+ is thrown.
+
+ The first value, expected to be less
+ The second value, expected to be greater
+
+
+
+ Asserts that an object is contained in a list.
+
+ The expected object
+ The list to be examined
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Asserts that an object is contained in a list.
+
+ The expected object
+ The list to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that an object is contained in a list.
+
+ The expected object
+ The list to be examined
+
+
+
+ Helper for Assert.AreEqual(double expected, double actual, ...)
+ allowing code generation to work consistently.
+
+ The expected value
+ The actual value
+ The maximum acceptable difference between the
+ the expected and the actual
+ The message to display in case of failure
+ Array of objects to be used in formatting the message
+
+
+
+ Gets the number of assertions executed so far and
+ resets the counter to zero.
+
+
+
+
+ AssertionHelper is an optional base class for user tests,
+ allowing the use of shorter names for constraints and
+ asserts and avoiding conflict with the definition of
+ , from which it inherits much of its
+ behavior, in certain mock object frameworks.
+
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding only if a specified number of them succeed.
+
+
+
+
+ Returns a new PropertyConstraintExpression, which will either
+ test for the existence of the named property on the object
+ being tested or apply any following constraint to that property.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a constraint that tests two items for equality
+
+
+
+
+ Returns a constraint that tests that two references are the same object
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a collection containing the same elements as the
+ collection supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a subset of the collection supplied as an argument.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a new ContainsConstraint. This constraint
+ will, in turn, make use of the appropriate second-level
+ constraint, depending on the type of the actual argument.
+ This overload is only used if the item sought is a string,
+ since any other type implies that we are looking for a
+ collection member.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the regular expression supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the regular expression supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value matches the pattern supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same as an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the actual value falls
+ within a specified range.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if at least one of them succeeds.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them fail.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Length property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Count property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Message property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the InnerException property of the object being tested.
+
+
+
+
+ Returns a constraint that tests for null
+
+
+
+
+ Returns a constraint that tests for True
+
+
+
+
+ Returns a constraint that tests for False
+
+
+
+
+ Returns a constraint that tests for a positive value
+
+
+
+
+ Returns a constraint that tests for a negative value
+
+
+
+
+ Returns a constraint that tests for NaN
+
+
+
+
+ Returns a constraint that tests for empty
+
+
+
+
+ Returns a constraint that tests whether a collection
+ contains all unique items.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in binary format.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in xml format.
+
+
+
+
+ Returns a constraint that tests whether a collection is ordered
+
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to Assert.That.
+
+ The actual value to test
+ A Constraint to be applied
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to Assert.That.
+
+ The actual value to test
+ A Constraint to be applied
+ The message to be displayed in case of failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure. Works
+ identically to Assert.That.
+
+ The actual value to test
+ A Constraint to be applied
+ The message to be displayed in case of failure
+ Arguments to use in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to
+ .
+
+ The evaluated condition
+ The message to display if the condition is false
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to
+ .
+
+ The evaluated condition
+ The message to display if the condition is false
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an . Works Identically to .
+
+ The evaluated condition
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an assertion exception on failure.
+
+ The actual value to test
+ A Constraint to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the code represented by a delegate throws an exception
+ that satisfies the constraint provided.
+
+ A TestDelegate to be executed
+ A ThrowsConstraint used in the test
+
+
+
+ Returns a ListMapper based on a collection.
+
+ The original collection
+
+
+
+
+ Provides static methods to express the assumptions
+ that must be met for a test to give a meaningful
+ result. If an assumption is not met, the test
+ should produce an inconclusive result.
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display if the condition is false
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that a condition is true. If the condition is false the method throws
+ an .
+
+ The evaluated condition
+ The message to display if the condition is false
+
+
+
+ Asserts that a condition is true. If the condition is false the
+ method throws an .
+
+ The evaluated condition
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ An ActualValueDelegate returning the value to be tested
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to an actual value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ An ActualValueDelegate returning the value to be tested
+ A Constraint expression to be applied
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+
+
+
+ Apply a constraint to a referenced value, succeeding if the constraint
+ is satisfied and throwing an InconclusiveException on failure.
+
+ A Constraint expression to be applied
+ The actual value to test
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the code represented by a delegate throws an exception
+ that satisfies the constraint provided.
+
+ A TestDelegate to be executed
+ A ThrowsConstraint used in the test
+
+
+
+ Waits for pending asynchronous operations to complete, if appropriate,
+ and returns a proper result of the invocation by unwrapping task results
+
+ The raw result of the method invocation
+ The unwrapped result, if necessary
+
+
+
+ A set of Assert methods operationg on one or more collections
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ Asserts that all items contained in collection are of the type specified by expectedType.
+
+ IEnumerable containing objects to be considered
+ System.Type that all objects in collection must be instances of
+
+
+
+ Asserts that all items contained in collection are of the type specified by expectedType.
+
+ IEnumerable containing objects to be considered
+ System.Type that all objects in collection must be instances of
+ The message that will be displayed on failure
+
+
+
+ Asserts that all items contained in collection are of the type specified by expectedType.
+
+ IEnumerable containing objects to be considered
+ System.Type that all objects in collection must be instances of
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that all items contained in collection are not equal to null.
+
+ IEnumerable containing objects to be considered
+
+
+
+ Asserts that all items contained in collection are not equal to null.
+
+ IEnumerable containing objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that all items contained in collection are not equal to null.
+
+ IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Ensures that every object contained in collection exists within the collection
+ once and only once.
+
+ IEnumerable of objects to be considered
+
+
+
+ Ensures that every object contained in collection exists within the collection
+ once and only once.
+
+ IEnumerable of objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Ensures that every object contained in collection exists within the collection
+ once and only once.
+
+ IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are exactly equal. The collections must have the same count,
+ and contain the exact same objects in the same order.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+
+
+
+ Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are equivalent, containing the same objects but the match may be in any order.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are not exactly equal.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+
+
+
+ Asserts that expected and actual are not exactly equal.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+
+
+
+ Asserts that expected and actual are not exactly equal.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are not exactly equal.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are not exactly equal.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are not exactly equal.
+ If comparer is not null then it will be used to compare the objects.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The IComparer to use in comparing objects from each IEnumerable
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that expected and actual are not equivalent.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+
+
+
+ Asserts that expected and actual are not equivalent.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that expected and actual are not equivalent.
+
+ The first IEnumerable of objects to be considered
+ The second IEnumerable of objects to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that collection contains actual as an item.
+
+ IEnumerable of objects to be considered
+ Object to be found within collection
+
+
+
+ Asserts that collection contains actual as an item.
+
+ IEnumerable of objects to be considered
+ Object to be found within collection
+ The message that will be displayed on failure
+
+
+
+ Asserts that collection contains actual as an item.
+
+ IEnumerable of objects to be considered
+ Object to be found within collection
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that collection does not contain actual as an item.
+
+ IEnumerable of objects to be considered
+ Object that cannot exist within collection
+
+
+
+ Asserts that collection does not contain actual as an item.
+
+ IEnumerable of objects to be considered
+ Object that cannot exist within collection
+ The message that will be displayed on failure
+
+
+
+ Asserts that collection does not contain actual as an item.
+
+ IEnumerable of objects to be considered
+ Object that cannot exist within collection
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that superset is not a subject of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+
+
+
+ Asserts that superset is not a subject of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that superset is not a subject of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that superset is a subset of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+
+
+
+ Asserts that superset is a subset of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+ The message that will be displayed on failure
+
+
+
+ Asserts that superset is a subset of subset.
+
+ The IEnumerable superset to be considered
+ The IEnumerable subset to be considered
+ The message that will be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+
+
+
+ Assert that an array,list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+
+
+
+ Assert that an array,list or other collection is empty
+
+ An array, list or other collection implementing IEnumerable
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+ The message to be displayed on failure
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+ A custom comparer to perform the comparisons
+ The message to be displayed on failure
+ Arguments to be used in formatting the message
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+ A custom comparer to perform the comparisons
+ The message to be displayed on failure
+
+
+
+ Assert that an array, list or other collection is ordered
+
+ An array, list or other collection implementing IEnumerable
+ A custom comparer to perform the comparisons
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Summary description for DirectoryAssert
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ We don't actually want any instances of this object, but some people
+ like to inherit from it to add other static methods. Hence, the
+ protected constructor disallows any instances of this object.
+
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+ The message to display if directories are not equal
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+ The message to display if directories are not equal
+
+
+
+ Verifies that two directories are equal. Two directories are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+ The message to display if directories are not equal
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory containing the value that is expected
+ A directory containing the actual value
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+ The message to display if directories are equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+ The message to display if directories are equal
+
+
+
+ Asserts that two directories are not equal. If they are equal
+ an is thrown.
+
+ A directory path string containing the value that is expected
+ A directory path string containing the actual value
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+
+
+
+ Asserts that the directory is empty. If it is not empty
+ an is thrown.
+
+ A directory to search
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+ The message to display if directories are not equal
+
+
+
+ Asserts that the directory is not empty. If it is empty
+ an is thrown.
+
+ A directory to search
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+
+
+
+ Asserts that path contains actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+ The message to display if directory is not within the path
+
+
+
+ Asserts that path does not contain actual as a subdirectory or
+ an is thrown.
+
+ A directory to search
+ sub-directory asserted to exist under directory
+
+
+
+ Summary description for FileAssert.
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ We don't actually want any instances of this object, but some people
+ like to inherit from it to add other static methods. Hence, the
+ protected constructor disallows any instances of this object.
+
+
+
+
+ Verifies that two Streams are equal. Two Streams are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The expected Stream
+ The actual Stream
+ The message to display if Streams are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that two Streams are equal. Two Streams are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The expected Stream
+ The actual Stream
+ The message to display if objects are not equal
+
+
+
+ Verifies that two Streams are equal. Two Streams are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The expected Stream
+ The actual Stream
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+ The message to display if Streams are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+ The message to display if objects are not equal
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+ The message to display if Streams are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+ The message to display if objects are not equal
+
+
+
+ Verifies that two files are equal. Two files are considered
+ equal if both are null, or if both have the same value byte for byte.
+ If they are not equal an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+
+
+
+ Asserts that two Streams are not equal. If they are equal
+ an is thrown.
+
+ The expected Stream
+ The actual Stream
+ The message to be displayed when the two Stream are the same.
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that two Streams are not equal. If they are equal
+ an is thrown.
+
+ The expected Stream
+ The actual Stream
+ The message to be displayed when the Streams are the same.
+
+
+
+ Asserts that two Streams are not equal. If they are equal
+ an is thrown.
+
+ The expected Stream
+ The actual Stream
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+ The message to display if Streams are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+ The message to display if objects are not equal
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ A file containing the value that is expected
+ A file containing the actual value
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+ The message to display if Streams are not equal
+ Arguments to be used in formatting the message
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+ The message to display if objects are not equal
+
+
+
+ Asserts that two files are not equal. If they are equal
+ an is thrown.
+
+ The path to a file containing the value that is expected
+ The path to a file containing the actual value
+
+
+
+ GlobalSettings is a place for setting default values used
+ by the framework in performing asserts.
+
+
+
+
+ Default tolerance for floating point equality
+
+
+
+
+ Class used to guard against unexpected argument values
+ by throwing an appropriate exception.
+
+
+
+
+ Throws an exception if an argument is null
+
+ The value to be tested
+ The name of the argument
+
+
+
+ Throws an exception if a string argument is null or empty
+
+ The value to be tested
+ The name of the argument
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding only if a specified number of them succeed.
+
+
+
+
+ Returns a new PropertyConstraintExpression, which will either
+ test for the existence of the named property on the object
+ being tested or apply any following constraint to that property.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if at least one of them succeeds.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them fail.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Length property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Count property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Message property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the InnerException property of the object being tested.
+
+
+
+
+ Interface implemented by a user fixture in order to
+ validate any expected exceptions. It is only called
+ for test methods marked with the ExpectedException
+ attribute.
+
+
+
+
+ Method to handle an expected exception
+
+ The exception to be handled
+
+
+
+ Helper class with properties and methods that supply
+ a number of constraints used in Asserts.
+
+
+
+
+ Returns a constraint that tests two items for equality
+
+
+
+
+ Returns a constraint that tests that two references are the same object
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a collection containing the same elements as the
+ collection supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a subset of the collection supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the regular expression supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same as an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the actual value falls
+ within a specified range.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a constraint that tests for null
+
+
+
+
+ Returns a constraint that tests for True
+
+
+
+
+ Returns a constraint that tests for False
+
+
+
+
+ Returns a constraint that tests for a positive value
+
+
+
+
+ Returns a constraint that tests for a negative value
+
+
+
+
+ Returns a constraint that tests for NaN
+
+
+
+
+ Returns a constraint that tests for empty
+
+
+
+
+ Returns a constraint that tests whether a collection
+ contains all unique items.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in binary format.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in xml format.
+
+
+
+
+ Returns a constraint that tests whether a collection is ordered
+
+
+
+
+ The ITestCaseData interface is implemented by a class
+ that is able to return complete testcases for use by
+ a parameterized test method.
+
+ NOTE: This interface is used in both the framework
+ and the core, even though that results in two different
+ types. However, sharing the source code guarantees that
+ the various implementations will be compatible and that
+ the core is able to reflect successfully over the
+ framework implementations of ITestCaseData.
+
+
+
+
+ Gets the argument list to be provided to the test
+
+
+
+
+ Gets the expected result
+
+
+
+
+ Indicates whether a result has been specified.
+ This is necessary because the result may be
+ null, so it's value cannot be checked.
+
+
+
+
+ Gets the expected exception Type
+
+
+
+
+ Gets the FullName of the expected exception
+
+
+
+
+ Gets the name to be used for the test
+
+
+
+
+ Gets the description of the test
+
+
+
+
+ Gets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets a value indicating whether this is explicit.
+
+ true if explicit; otherwise, false.
+
+
+
+ Gets the ignore reason.
+
+ The ignore reason.
+
+
+
+ The Iz class is a synonym for Is intended for use in VB,
+ which regards Is as a keyword.
+
+
+
+
+ The List class is a helper class with properties and methods
+ that supply a number of constraints used with lists and collections.
+
+
+
+
+ List.Map returns a ListMapper, which can be used to map
+ the original collection to another collection.
+
+
+
+
+
+
+ ListMapper is used to transform a collection used as an actual argument
+ producing another collection to be used in the assertion.
+
+
+
+
+ Construct a ListMapper based on a collection
+
+ The collection to be transformed
+
+
+
+ Produces a collection containing all the values of a property
+
+ The collection of property values
+
+
+
+
+ Randomizer returns a set of random values in a repeatable
+ way, to allow re-running of tests if necessary.
+
+
+
+
+ Get a randomizer for a particular member, returning
+ one that has already been created if it exists.
+ This ensures that the same values are generated
+ each time the tests are reloaded.
+
+
+
+
+ Get a randomizer for a particular parameter, returning
+ one that has already been created if it exists.
+ This ensures that the same values are generated
+ each time the tests are reloaded.
+
+
+
+
+ Construct a randomizer using a random seed
+
+
+
+
+ Construct a randomizer using a specified seed
+
+
+
+
+ Return an array of random doubles between 0.0 and 1.0.
+
+
+
+
+
+
+ Return an array of random doubles with values in a specified range.
+
+
+
+
+ Return an array of random ints with values in a specified range.
+
+
+
+
+ Get a random seed for use in creating a randomizer.
+
+
+
+
+ The SpecialValue enum is used to represent TestCase arguments
+ that cannot be used as arguments to an Attribute.
+
+
+
+
+ Null represents a null value, which cannot be used as an
+ argument to an attribute under .NET 1.x
+
+
+
+
+ Basic Asserts on strings.
+
+
+
+
+ The Equals method throws an AssertionException. This is done
+ to make sure there is no mistake by calling this function.
+
+
+
+
+
+
+ override the default ReferenceEquals to throw an AssertionException. This
+ implementation makes sure there is no mistake in calling this function
+ as part of Assert.
+
+
+
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string is not found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string is found within another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string starts with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not start with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string ends with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not end with another string.
+
+ The expected string
+ The string to be examined
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that two strings are equal, without regard to case.
+
+ The expected string
+ The actual string
+
+
+
+ Asserts that two strings are not equal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that two strings are Notequal, without regard to case.
+
+ The expected string
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that two strings are not equal, without regard to case.
+
+ The expected string
+ The actual string
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that a string matches an expected regular expression pattern.
+
+ The regex pattern to be matched
+ The actual string
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+ The message to display in case of failure
+ Arguments used in formatting the message
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+ The message to display in case of failure
+
+
+
+ Asserts that a string does not match an expected regular expression pattern.
+
+ The regex pattern to be used
+ The actual string
+
+
+
+ The TestCaseData class represents a set of arguments
+ and other parameter info to be used for a parameterized
+ test case. It provides a number of instance modifiers
+ for use in initializing the test case.
+
+ Note: Instance modifiers are getters that return
+ the same instance after modifying it's state.
+
+
+
+
+ The argument list to be provided to the test
+
+
+
+
+ The expected result to be returned
+
+
+
+
+ Set to true if this has an expected result
+
+
+
+
+ The expected exception Type
+
+
+
+
+ The FullName of the expected exception
+
+
+
+
+ The name to be used for the test
+
+
+
+
+ The description of the test
+
+
+
+
+ A dictionary of properties, used to add information
+ to tests without requiring the class to change.
+
+
+
+
+ If true, indicates that the test case is to be ignored
+
+
+
+
+ If true, indicates that the test case is marked explicit
+
+
+
+
+ The reason for ignoring a test case
+
+
+
+
+ Initializes a new instance of the class.
+
+ The arguments.
+
+
+
+ Initializes a new instance of the class.
+
+ The argument.
+
+
+
+ Initializes a new instance of the class.
+
+ The first argument.
+ The second argument.
+
+
+
+ Initializes a new instance of the class.
+
+ The first argument.
+ The second argument.
+ The third argument.
+
+
+
+ Sets the expected result for the test
+
+ The expected result
+ A modified TestCaseData
+
+
+
+ Sets the expected exception type for the test
+
+ Type of the expected exception.
+ The modified TestCaseData instance
+
+
+
+ Sets the expected exception type for the test
+
+ FullName of the expected exception.
+ The modified TestCaseData instance
+
+
+
+ Sets the name of the test case
+
+ The modified TestCaseData instance
+
+
+
+ Sets the description for the test case
+ being constructed.
+
+ The description.
+ The modified TestCaseData instance.
+
+
+
+ Applies a category to the test
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Applies a named property to the test
+
+
+
+
+
+
+
+ Ignores this TestCase.
+
+
+
+
+
+ Ignores this TestCase, specifying the reason.
+
+ The reason.
+
+
+
+
+ Marks this TestCase as Explicit
+
+
+
+
+
+ Marks this TestCase as Explicit, specifying the reason.
+
+ The reason.
+
+
+
+
+ Gets the argument list to be provided to the test
+
+
+
+
+ Gets the expected result
+
+
+
+
+ Returns true if the result has been set
+
+
+
+
+ Gets the expected exception Type
+
+
+
+
+ Gets the FullName of the expected exception
+
+
+
+
+ Gets the name to be used for the test
+
+
+
+
+ Gets the description of the test
+
+
+
+
+ Gets a value indicating whether this is ignored.
+
+ true if ignored; otherwise, false.
+
+
+
+ Gets a value indicating whether this is explicit.
+
+ true if explicit; otherwise, false.
+
+
+
+ Gets the ignore reason.
+
+ The ignore reason.
+
+
+
+ Gets a list of categories associated with this test.
+
+
+
+
+ Gets the property dictionary for this test
+
+
+
+
+ Provide the context information of the current test
+
+
+
+
+ Constructs a TestContext using the provided context dictionary
+
+ A context dictionary
+
+
+
+ Get the current test context. This is created
+ as needed. The user may save the context for
+ use within a test, but it should not be used
+ outside the test for which it is created.
+
+
+
+
+ Gets a TestAdapter representing the currently executing test in this context.
+
+
+
+
+ Gets a ResultAdapter representing the current result for the test
+ executing in this context.
+
+
+
+
+ Gets the directory containing the current test assembly.
+
+
+
+
+ Gets the directory to be used for outputing files created
+ by this test run.
+
+
+
+
+ TestAdapter adapts a Test for consumption by
+ the user test code.
+
+
+
+
+ Constructs a TestAdapter for this context
+
+ The context dictionary
+
+
+
+ The name of the test.
+
+
+
+
+ The FullName of the test
+
+
+
+
+ The properties of the test.
+
+
+
+
+ ResultAdapter adapts a TestResult for consumption by
+ the user test code.
+
+
+
+
+ Construct a ResultAdapter for a context
+
+ The context holding the result
+
+
+
+ The TestState of current test. This maps to the ResultState
+ used in nunit.core and is subject to change in the future.
+
+
+
+
+ The TestStatus of current test. This enum will be used
+ in future versions of NUnit and so is to be preferred
+ to the TestState value.
+
+
+
+
+ Provides details about a test
+
+
+
+
+ Creates an instance of TestDetails
+
+ The fixture that the test is a member of, if available.
+ The method that implements the test, if available.
+ The full name of the test.
+ A string representing the type of test, e.g. "Test Case".
+ Indicates if the test represents a suite of tests.
+
+
+
+ The fixture that the test is a member of, if available.
+
+
+
+
+ The method that implements the test, if available.
+
+
+
+
+ The full name of the test.
+
+
+
+
+ A string representing the type of test, e.g. "Test Case".
+
+
+
+
+ Indicates if the test represents a suite of tests.
+
+
+
+
+ The ResultState enum indicates the result of running a test
+
+
+
+
+ The result is inconclusive
+
+
+
+
+ The test was not runnable.
+
+
+
+
+ The test has been skipped.
+
+
+
+
+ The test has been ignored.
+
+
+
+
+ The test succeeded
+
+
+
+
+ The test failed
+
+
+
+
+ The test encountered an unexpected exception
+
+
+
+
+ The test was cancelled by the user
+
+
+
+
+ The TestStatus enum indicates the result of running a test
+
+
+
+
+ The test was inconclusive
+
+
+
+
+ The test has skipped
+
+
+
+
+ The test succeeded
+
+
+
+
+ The test failed
+
+
+
+
+ Helper class with static methods used to supply constraints
+ that operate on strings.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the Regex pattern supplied as an argument.
+
+
+
+
+ Returns a constraint that fails if the actual
+ value matches the pattern supplied as an argument.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ TextMessageWriter writes constraint descriptions and messages
+ in displayable form as a text stream. It tailors the display
+ of individual message components to form the standard message
+ format of NUnit assertion failure messages.
+
+
+
+
+ MessageWriter is the abstract base for classes that write
+ constraint descriptions and messages in some form. The
+ class has separate methods for writing various components
+ of a message, allowing implementations to tailor the
+ presentation as needed.
+
+
+
+
+ Construct a MessageWriter given a culture
+
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message.
+
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message, at a givel
+ indentation level.
+
+ The indentation level of the message
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Display Expected and Actual lines for a constraint. This
+ is called by MessageWriter's default implementation of
+ WriteMessageTo and provides the generic two-line display.
+
+ The constraint that failed
+
+
+
+ Display Expected and Actual lines for given values. This
+ method may be called by constraints that need more control over
+ the display of actual and expected values than is provided
+ by the default implementation.
+
+ The expected value
+ The actual value causing the failure
+
+
+
+ Display Expected and Actual lines for given values, including
+ a tolerance value on the Expected line.
+
+ The expected value
+ The actual value causing the failure
+ The tolerance within which the test was made
+
+
+
+ Display the expected and actual string values on separate lines.
+ If the mismatch parameter is >=0, an additional line is displayed
+ line containing a caret that points to the mismatch point.
+
+ The expected string value
+ The actual string value
+ The point at which the strings don't match or -1
+ If true, case is ignored in locating the point where the strings differ
+ If true, the strings should be clipped to fit the line
+
+
+
+ Writes the text for a connector.
+
+ The connector.
+
+
+
+ Writes the text for a predicate.
+
+ The predicate.
+
+
+
+ Writes the text for an expected value.
+
+ The expected value.
+
+
+
+ Writes the text for a modifier
+
+ The modifier.
+
+
+
+ Writes the text for an actual value.
+
+ The actual value.
+
+
+
+ Writes the text for a generalized value.
+
+ The value.
+
+
+
+ Writes the text for a collection value,
+ starting at a particular point, to a max length
+
+ The collection containing elements to write.
+ The starting point of the elements to write
+ The maximum number of elements to write
+
+
+
+ Abstract method to get the max line length
+
+
+
+
+ Prefix used for the expected value line of a message
+
+
+
+
+ Prefix used for the actual value line of a message
+
+
+
+
+ Length of a message prefix
+
+
+
+
+ Construct a TextMessageWriter
+
+
+
+
+ Construct a TextMessageWriter, specifying a user message
+ and optional formatting arguments.
+
+
+
+
+
+
+ Method to write single line message with optional args, usually
+ written to precede the general failure message, at a givel
+ indentation level.
+
+ The indentation level of the message
+ The message to be written
+ Any arguments used in formatting the message
+
+
+
+ Display Expected and Actual lines for a constraint. This
+ is called by MessageWriter's default implementation of
+ WriteMessageTo and provides the generic two-line display.
+
+ The constraint that failed
+
+
+
+ Display Expected and Actual lines for given values. This
+ method may be called by constraints that need more control over
+ the display of actual and expected values than is provided
+ by the default implementation.
+
+ The expected value
+ The actual value causing the failure
+
+
+
+ Display Expected and Actual lines for given values, including
+ a tolerance value on the expected line.
+
+ The expected value
+ The actual value causing the failure
+ The tolerance within which the test was made
+
+
+
+ Display the expected and actual string values on separate lines.
+ If the mismatch parameter is >=0, an additional line is displayed
+ line containing a caret that points to the mismatch point.
+
+ The expected string value
+ The actual string value
+ The point at which the strings don't match or -1
+ If true, case is ignored in string comparisons
+ If true, clip the strings to fit the max line length
+
+
+
+ Writes the text for a connector.
+
+ The connector.
+
+
+
+ Writes the text for a predicate.
+
+ The predicate.
+
+
+
+ Write the text for a modifier.
+
+ The modifier.
+
+
+
+ Writes the text for an expected value.
+
+ The expected value.
+
+
+
+ Writes the text for an actual value.
+
+ The actual value.
+
+
+
+ Writes the text for a generalized value.
+
+ The value.
+
+
+
+ Writes the text for a collection value,
+ starting at a particular point, to a max length
+
+ The collection containing elements to write.
+ The starting point of the elements to write
+ The maximum number of elements to write
+
+
+
+ Write the generic 'Expected' line for a constraint
+
+ The constraint that failed
+
+
+
+ Write the generic 'Expected' line for a given value
+
+ The expected value
+
+
+
+ Write the generic 'Expected' line for a given value
+ and tolerance.
+
+ The expected value
+ The tolerance within which the test was made
+
+
+
+ Write the generic 'Actual' line for a constraint
+
+ The constraint for which the actual value is to be written
+
+
+
+ Write the generic 'Actual' line for a given value
+
+ The actual value causing a failure
+
+
+
+ Gets or sets the maximum line length for this writer
+
+
+
+
+ Helper class with properties and methods that supply
+ constraints that operate on exceptions.
+
+
+
+
+ Creates a constraint specifying the exact type of exception expected
+
+
+
+
+ Creates a constraint specifying the exact type of exception expected
+
+
+
+
+ Creates a constraint specifying the type of exception expected
+
+
+
+
+ Creates a constraint specifying the type of exception expected
+
+
+
+
+ Creates a constraint specifying an expected exception
+
+
+
+
+ Creates a constraint specifying an exception with a given InnerException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying an expected TargetInvocationException
+
+
+
+
+ Creates a constraint specifying that no exception is thrown
+
+
+
+
+ Attribute used to apply a category to a test
+
+
+
+
+ The name of the category
+
+
+
+
+ Construct attribute for a given category based on
+ a name. The name may not contain the characters ',',
+ '+', '-' or '!'. However, this is not checked in the
+ constructor since it would cause an error to arise at
+ as the test was loaded without giving a clear indication
+ of where the problem is located. The error is handled
+ in NUnitFramework.cs by marking the test as not
+ runnable.
+
+ The name of the category
+
+
+
+ Protected constructor uses the Type name as the name
+ of the category.
+
+
+
+
+ The name of the category
+
+
+
+
+ Used to mark a field for use as a datapoint when executing a theory
+ within the same fixture that requires an argument of the field's Type.
+
+
+
+
+ Used to mark an array as containing a set of datapoints to be used
+ executing a theory within the same fixture that requires an argument
+ of the Type of the array elements.
+
+
+
+
+ Attribute used to provide descriptive text about a
+ test case or fixture.
+
+
+
+
+ Construct the attribute
+
+ Text describing the test
+
+
+
+ Gets the test description
+
+
+
+
+ Enumeration indicating how the expected message parameter is to be used
+
+
+
+ Expect an exact match
+
+
+ Expect a message containing the parameter string
+
+
+ Match the regular expression provided as a parameter
+
+
+ Expect a message that starts with the parameter string
+
+
+
+ ExpectedExceptionAttribute
+
+
+
+
+
+ Constructor for a non-specific exception
+
+
+
+
+ Constructor for a given type of exception
+
+ The type of the expected exception
+
+
+
+ Constructor for a given exception name
+
+ The full name of the expected exception
+
+
+
+ Gets or sets the expected exception type
+
+
+
+
+ Gets or sets the full Type name of the expected exception
+
+
+
+
+ Gets or sets the expected message text
+
+
+
+
+ Gets or sets the user message displayed in case of failure
+
+
+
+
+ Gets or sets the type of match to be performed on the expected message
+
+
+
+
+ Gets the name of a method to be used as an exception handler
+
+
+
+
+ ExplicitAttribute marks a test or test fixture so that it will
+ only be run if explicitly executed from the gui or command line
+ or if it is included by use of a filter. The test will not be
+ run simply because an enclosing suite is run.
+
+
+
+
+ Default constructor
+
+
+
+
+ Constructor with a reason
+
+ The reason test is marked explicit
+
+
+
+ The reason test is marked explicit
+
+
+
+
+ Attribute used to mark a test that is to be ignored.
+ Ignored tests result in a warning message when the
+ tests are run.
+
+
+
+
+ Constructs the attribute without giving a reason
+ for ignoring the test.
+
+
+
+
+ Constructs the attribute giving a reason for ignoring the test
+
+ The reason for ignoring the test
+
+
+
+ The reason for ignoring a test
+
+
+
+
+ Abstract base for Attributes that are used to include tests
+ in the test run based on environmental settings.
+
+
+
+
+ Constructor with no included items specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more included items
+
+ Comma-delimited list of included items
+
+
+
+ Name of the item that is needed in order for
+ a test to run. Multiple itemss may be given,
+ separated by a comma.
+
+
+
+
+ Name of the item to be excluded. Multiple items
+ may be given, separated by a comma.
+
+
+
+
+ The reason for including or excluding the test
+
+
+
+
+ PlatformAttribute is used to mark a test fixture or an
+ individual method as applying to a particular platform only.
+
+
+
+
+ Constructor with no platforms specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more platforms
+
+ Comma-deliminted list of platforms
+
+
+
+ CultureAttribute is used to mark a test fixture or an
+ individual method as applying to a particular Culture only.
+
+
+
+
+ Constructor with no cultures specified, for use
+ with named property syntax.
+
+
+
+
+ Constructor taking one or more cultures
+
+ Comma-deliminted list of cultures
+
+
+
+ Marks a test to use a combinatorial join of any argument data
+ provided. NUnit will create a test case for every combination of
+ the arguments provided. This can result in a large number of test
+ cases and so should be used judiciously. This is the default join
+ type, so the attribute need not be used except as documentation.
+
+
+
+
+ PropertyAttribute is used to attach information to a test as a name/value pair..
+
+
+
+
+ Construct a PropertyAttribute with a name and string value
+
+ The name of the property
+ The property value
+
+
+
+ Construct a PropertyAttribute with a name and int value
+
+ The name of the property
+ The property value
+
+
+
+ Construct a PropertyAttribute with a name and double value
+
+ The name of the property
+ The property value
+
+
+
+ Constructor for derived classes that set the
+ property dictionary directly.
+
+
+
+
+ Constructor for use by derived classes that use the
+ name of the type as the property name. Derived classes
+ must ensure that the Type of the property value is
+ a standard type supported by the BCL. Any custom
+ types will cause a serialization Exception when
+ in the client.
+
+
+
+
+ Gets the property dictionary for this attribute
+
+
+
+
+ Default constructor
+
+
+
+
+ Marks a test to use pairwise join of any argument data provided.
+ NUnit will attempt too excercise every pair of argument values at
+ least once, using as small a number of test cases as it can. With
+ only two arguments, this is the same as a combinatorial join.
+
+
+
+
+ Default constructor
+
+
+
+
+ Marks a test to use a sequential join of any argument data
+ provided. NUnit will use arguements for each parameter in
+ sequence, generating test cases up to the largest number
+ of argument values provided and using null for any arguments
+ for which it runs out of values. Normally, this should be
+ used with the same number of arguments for each parameter.
+
+
+
+
+ Default constructor
+
+
+
+
+ Summary description for MaxTimeAttribute.
+
+
+
+
+ Construct a MaxTimeAttribute, given a time in milliseconds.
+
+ The maximum elapsed time in milliseconds
+
+
+
+ RandomAttribute is used to supply a set of random values
+ to a single parameter of a parameterized test.
+
+
+
+
+ ValuesAttribute is used to provide literal arguments for
+ an individual parameter of a test.
+
+
+
+
+ Abstract base class for attributes that apply to parameters
+ and supply data for the parameter.
+
+
+
+
+ Gets the data to be provided to the specified parameter
+
+
+
+
+ The collection of data to be returned. Must
+ be set by any derived attribute classes.
+ We use an object[] so that the individual
+ elements may have their type changed in GetData
+ if necessary.
+
+
+
+
+ Construct with one argument
+
+
+
+
+
+ Construct with two arguments
+
+
+
+
+
+
+ Construct with three arguments
+
+
+
+
+
+
+
+ Construct with an array of arguments
+
+
+
+
+
+ Get the collection of values to be used as arguments
+
+
+
+
+ Construct a set of doubles from 0.0 to 1.0,
+ specifying only the count.
+
+
+
+
+
+ Construct a set of doubles from min to max
+
+
+
+
+
+
+
+ Construct a set of ints from min to max
+
+
+
+
+
+
+
+ Get the collection of values to be used as arguments
+
+
+
+
+ RangeAttribute is used to supply a range of values to an
+ individual parameter of a parameterized test.
+
+
+
+
+ Construct a range of ints using default step of 1
+
+
+
+
+
+
+ Construct a range of ints specifying the step size
+
+
+
+
+
+
+
+ Construct a range of longs
+
+
+
+
+
+
+
+ Construct a range of doubles
+
+
+
+
+
+
+
+ Construct a range of floats
+
+
+
+
+
+
+
+ RepeatAttribute may be applied to test case in order
+ to run it multiple times.
+
+
+
+
+ Construct a RepeatAttribute
+
+ The number of times to run the test
+
+
+
+ RequiredAddinAttribute may be used to indicate the names of any addins
+ that must be present in order to run some or all of the tests in an
+ assembly. If the addin is not loaded, the entire assembly is marked
+ as NotRunnable.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The required addin.
+
+
+
+ Gets the name of required addin.
+
+ The required addin name.
+
+
+
+ Summary description for SetCultureAttribute.
+
+
+
+
+ Construct given the name of a culture
+
+
+
+
+
+ Summary description for SetUICultureAttribute.
+
+
+
+
+ Construct given the name of a culture
+
+
+
+
+
+ SetUpAttribute is used in a TestFixture to identify a method
+ that is called immediately before each test is run. It is
+ also used in a SetUpFixture to identify the method that is
+ called once, before any of the subordinate tests are run.
+
+
+
+
+ Attribute used to mark a class that contains one-time SetUp
+ and/or TearDown methods that apply to all the tests in a
+ namespace or an assembly.
+
+
+
+
+ Attribute used to mark a static (shared in VB) property
+ that returns a list of tests.
+
+
+
+
+ Attribute used in a TestFixture to identify a method that is
+ called immediately after each test is run. It is also used
+ in a SetUpFixture to identify the method that is called once,
+ after all subordinate tests have run. In either case, the method
+ is guaranteed to be called, even if an exception is thrown.
+
+
+
+
+ Provide actions to execute before and after tests.
+
+
+
+
+ When implemented by an attribute, this interface implemented to provide actions to execute before and after tests.
+
+
+
+
+ Executed before each test is run
+
+ Provides details about the test that is going to be run.
+
+
+
+ Executed after each test is run
+
+ Provides details about the test that has just been run.
+
+
+
+ Provides the target for the action attribute
+
+ The target for the action attribute
+
+
+
+ Adding this attribute to a method within a
+ class makes the method callable from the NUnit test runner. There is a property
+ called Description which is optional which you can provide a more detailed test
+ description. This class cannot be inherited.
+
+
+
+ [TestFixture]
+ public class Fixture
+ {
+ [Test]
+ public void MethodToTest()
+ {}
+
+ [Test(Description = "more detailed description")]
+ publc void TestDescriptionMethod()
+ {}
+ }
+
+
+
+
+
+ Descriptive text for this test
+
+
+
+
+ TestCaseAttribute is used to mark parameterized test cases
+ and provide them with their arguments.
+
+
+
+
+ Construct a TestCaseAttribute with a list of arguments.
+ This constructor is not CLS-Compliant
+
+
+
+
+
+ Construct a TestCaseAttribute with a single argument
+
+
+
+
+
+ Construct a TestCaseAttribute with a two arguments
+
+
+
+
+
+
+ Construct a TestCaseAttribute with a three arguments
+
+
+
+
+
+
+
+ Gets the list of arguments to a test case
+
+
+
+
+ Gets or sets the expected result. Use
+ ExpectedResult by preference.
+
+ The result.
+
+
+
+ Gets or sets the expected result.
+
+ The result.
+
+
+
+ Gets a flag indicating whether an expected
+ result has been set.
+
+
+
+
+ Gets a list of categories associated with this test;
+
+
+
+
+ Gets or sets the category associated with this test.
+ May be a single category or a comma-separated list.
+
+
+
+
+ Gets or sets the expected exception.
+
+ The expected exception.
+
+
+
+ Gets or sets the name the expected exception.
+
+ The expected name of the exception.
+
+
+
+ Gets or sets the expected message of the expected exception
+
+ The expected message of the exception.
+
+
+
+ Gets or sets the type of match to be performed on the expected message
+
+
+
+
+ Gets or sets the description.
+
+ The description.
+
+
+
+ Gets or sets the name of the test.
+
+ The name of the test.
+
+
+
+ Gets or sets the ignored status of the test
+
+
+
+
+ Gets or sets the ignored status of the test
+
+
+
+
+ Gets or sets the explicit status of the test
+
+
+
+
+ Gets or sets the reason for not running the test
+
+
+
+
+ Gets or sets the reason for not running the test.
+ Set has the side effect of marking the test as ignored.
+
+ The ignore reason.
+
+
+
+ FactoryAttribute indicates the source to be used to
+ provide test cases for a test method.
+
+
+
+
+ Construct with the name of the data source, which must
+ be a property, field or method of the test class itself.
+
+ An array of the names of the factories that will provide data
+
+
+
+ Construct with a Type, which must implement IEnumerable
+
+ The Type that will provide data
+
+
+
+ Construct with a Type and name.
+ that don't support params arrays.
+
+ The Type that will provide data
+ The name of the method, property or field that will provide data
+
+
+
+ The name of a the method, property or fiend to be used as a source
+
+
+
+
+ A Type to be used as a source
+
+
+
+
+ Gets or sets the category associated with this test.
+ May be a single category or a comma-separated list.
+
+
+
+
+ [TestFixture]
+ public class ExampleClass
+ {}
+
+
+
+
+ Default constructor
+
+
+
+
+ Construct with a object[] representing a set of arguments.
+ In .NET 2.0, the arguments may later be separated into
+ type arguments and constructor arguments.
+
+
+
+
+
+ Descriptive text for this fixture
+
+
+
+
+ Gets and sets the category for this fixture.
+ May be a comma-separated list of categories.
+
+
+
+
+ Gets a list of categories for this fixture
+
+
+
+
+ The arguments originally provided to the attribute
+
+
+
+
+ Gets or sets a value indicating whether this should be ignored.
+
+ true if ignore; otherwise, false.
+
+
+
+ Gets or sets the ignore reason. May set Ignored as a side effect.
+
+ The ignore reason.
+
+
+
+ Get or set the type arguments. If not set
+ explicitly, any leading arguments that are
+ Types are taken as type arguments.
+
+
+
+
+ Attribute used to identify a method that is
+ called before any tests in a fixture are run.
+
+
+
+
+ Attribute used to identify a method that is called after
+ all the tests in a fixture have run. The method is
+ guaranteed to be called, even if an exception is thrown.
+
+
+
+
+ Adding this attribute to a method within a
+ class makes the method callable from the NUnit test runner. There is a property
+ called Description which is optional which you can provide a more detailed test
+ description. This class cannot be inherited.
+
+
+
+ [TestFixture]
+ public class Fixture
+ {
+ [Test]
+ public void MethodToTest()
+ {}
+
+ [Test(Description = "more detailed description")]
+ publc void TestDescriptionMethod()
+ {}
+ }
+
+
+
+
+
+ Used on a method, marks the test with a timeout value in milliseconds.
+ The test will be run in a separate thread and is cancelled if the timeout
+ is exceeded. Used on a method or assembly, sets the default timeout
+ for all contained test methods.
+
+
+
+
+ Construct a TimeoutAttribute given a time in milliseconds
+
+ The timeout value in milliseconds
+
+
+
+ Marks a test that must run in the STA, causing it
+ to run in a separate thread if necessary.
+
+ On methods, you may also use STAThreadAttribute
+ to serve the same purpose.
+
+
+
+
+ Construct a RequiresSTAAttribute
+
+
+
+
+ Marks a test that must run in the MTA, causing it
+ to run in a separate thread if necessary.
+
+ On methods, you may also use MTAThreadAttribute
+ to serve the same purpose.
+
+
+
+
+ Construct a RequiresMTAAttribute
+
+
+
+
+ Marks a test that must run on a separate thread.
+
+
+
+
+ Construct a RequiresThreadAttribute
+
+
+
+
+ Construct a RequiresThreadAttribute, specifying the apartment
+
+
+
+
+ ValueSourceAttribute indicates the source to be used to
+ provide data for one parameter of a test method.
+
+
+
+
+ Construct with the name of the factory - for use with languages
+ that don't support params arrays.
+
+ The name of the data source to be used
+
+
+
+ Construct with a Type and name - for use with languages
+ that don't support params arrays.
+
+ The Type that will provide data
+ The name of the method, property or field that will provide data
+
+
+
+ The name of a the method, property or fiend to be used as a source
+
+
+
+
+ A Type to be used as a source
+
+
+
+
+ AllItemsConstraint applies another constraint to each
+ item in a collection, succeeding if they all succeed.
+
+
+
+
+ Abstract base class used for prefixes
+
+
+
+
+ The Constraint class is the base of all built-in constraints
+ within NUnit. It provides the operator overloads used to combine
+ constraints.
+
+
+
+
+ The IConstraintExpression interface is implemented by all
+ complete and resolvable constraints and expressions.
+
+
+
+
+ Return the top-level constraint for this expression
+
+
+
+
+
+ Static UnsetObject used to detect derived constraints
+ failing to set the actual value.
+
+
+
+
+ The actual value being tested against a constraint
+
+
+
+
+ The display name of this Constraint for use by ToString()
+
+
+
+
+ Argument fields used by ToString();
+
+
+
+
+ The builder holding this constraint
+
+
+
+
+ Construct a constraint with no arguments
+
+
+
+
+ Construct a constraint with one argument
+
+
+
+
+ Construct a constraint with two arguments
+
+
+
+
+ Sets the ConstraintBuilder holding this constraint
+
+
+
+
+ Write the failure message to the MessageWriter provided
+ as an argument. The default implementation simply passes
+ the constraint and the actual value to the writer, which
+ then displays the constraint description and the value.
+
+ Constraints that need to provide additional details,
+ such as where the error occured can override this.
+
+ The MessageWriter on which to display the message
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Test whether the constraint is satisfied by an
+ ActualValueDelegate that returns the value to be tested.
+ The default implementation simply evaluates the delegate
+ but derived classes may override it to provide for delayed
+ processing.
+
+ An
+ True for success, false for failure
+
+
+
+ Test whether the constraint is satisfied by a given reference.
+ The default implementation simply dereferences the value but
+ derived classes may override it to provide for delayed processing.
+
+ A reference to the value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Default override of ToString returns the constraint DisplayName
+ followed by any arguments within angle brackets.
+
+
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ This operator creates a constraint that is satisfied only if both
+ argument constraints are satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if either
+ of the argument constraints is satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if the
+ argument constraint is not satisfied.
+
+
+
+
+ Returns a DelayedConstraint with the specified delay time.
+
+ The delay in milliseconds.
+
+
+
+
+ Returns a DelayedConstraint with the specified delay time
+ and polling interval.
+
+ The delay in milliseconds.
+ The interval at which to test the constraint.
+
+
+
+
+ The display name of this Constraint for use by ToString().
+ The default value is the name of the constraint with
+ trailing "Constraint" removed. Derived classes may set
+ this to another name in their constructors.
+
+
+
+
+ Returns a ConstraintExpression by appending And
+ to the current constraint.
+
+
+
+
+ Returns a ConstraintExpression by appending And
+ to the current constraint.
+
+
+
+
+ Returns a ConstraintExpression by appending Or
+ to the current constraint.
+
+
+
+
+ Class used to detect any derived constraints
+ that fail to set the actual value in their
+ Matches override.
+
+
+
+
+ The base constraint
+
+
+
+
+ Construct given a base constraint
+
+
+
+
+
+ Construct an AllItemsConstraint on top of an existing constraint
+
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ failing if any item fails.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ AndConstraint succeeds only if both members succeed.
+
+
+
+
+ BinaryConstraint is the abstract base of all constraints
+ that combine two other constraints in some fashion.
+
+
+
+
+ The first constraint being combined
+
+
+
+
+ The second constraint being combined
+
+
+
+
+ Construct a BinaryConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ Create an AndConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ Apply both member constraints to an actual value, succeeding
+ succeeding only if both of them succeed.
+
+ The actual value
+ True if the constraints both succeeded
+
+
+
+ Write a description for this contraint to a MessageWriter
+
+ The MessageWriter to receive the description
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ AssignableFromConstraint is used to test that an object
+ can be assigned from a given Type.
+
+
+
+
+ TypeConstraint is the abstract base for constraints
+ that take a Type as their expected value.
+
+
+
+
+ The expected Type used by the constraint
+
+
+
+
+ Construct a TypeConstraint for a given Type
+
+
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. TypeConstraints override this method to write
+ the name of the type.
+
+ The writer on which the actual value is displayed
+
+
+
+ Construct an AssignableFromConstraint for the type provided
+
+
+
+
+
+ Test whether an object can be assigned from the specified type
+
+ The object to be tested
+ True if the object can be assigned a value of the expected Type, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ AssignableToConstraint is used to test that an object
+ can be assigned to a given Type.
+
+
+
+
+ Construct an AssignableToConstraint for the type provided
+
+
+
+
+
+ Test whether an object can be assigned to the specified type
+
+ The object to be tested
+ True if the object can be assigned a value of the expected Type, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ AttributeConstraint tests that a specified attribute is present
+ on a Type or other provider and that the value of the attribute
+ satisfies some other constraint.
+
+
+
+
+ Constructs an AttributeConstraint for a specified attriute
+ Type and base constraint.
+
+
+
+
+
+
+ Determines whether the Type or other provider has the
+ expected attribute and if its value matches the
+ additional constraint specified.
+
+
+
+
+ Writes a description of the attribute to the specified writer.
+
+
+
+
+ Writes the actual value supplied to the specified writer.
+
+
+
+
+ Returns a string representation of the constraint.
+
+
+
+
+ AttributeExistsConstraint tests for the presence of a
+ specified attribute on a Type.
+
+
+
+
+ Constructs an AttributeExistsConstraint for a specific attribute Type
+
+
+
+
+
+ Tests whether the object provides the expected attribute.
+
+ A Type, MethodInfo, or other ICustomAttributeProvider
+ True if the expected attribute is present, otherwise false
+
+
+
+ Writes the description of the constraint to the specified writer
+
+
+
+
+ BasicConstraint is the abstract base for constraints that
+ perform a simple comparison to a constant value.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+ The description.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ BinarySerializableConstraint tests whether
+ an object is serializable in binary format.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation
+
+
+
+
+ CollectionConstraint is the abstract base class for
+ constraints that operate on collections.
+
+
+
+
+ Construct an empty CollectionConstraint
+
+
+
+
+ Construct a CollectionConstraint
+
+
+
+
+
+ Determines whether the specified enumerable is empty.
+
+ The enumerable.
+
+ true if the specified enumerable is empty; otherwise, false.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Protected method to be implemented by derived classes
+
+
+
+
+
+
+ CollectionContainsConstraint is used to test whether a collection
+ contains an expected object as a member.
+
+
+
+
+ CollectionItemsEqualConstraint is the abstract base class for all
+ collection constraints that apply some notion of item equality
+ as a part of their operation.
+
+
+
+
+ Construct an empty CollectionConstraint
+
+
+
+
+ Construct a CollectionConstraint
+
+
+
+
+
+ Flag the constraint to use the supplied EqualityAdapter.
+ NOTE: For internal use only.
+
+ The EqualityAdapter to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied Comparison object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Compares two collection members for equality
+
+
+
+
+ Return a new CollectionTally for use in making tests
+
+ The collection to be included in the tally
+
+
+
+ Flag the constraint to ignore case and return self.
+
+
+
+
+ Construct a CollectionContainsConstraint
+
+
+
+
+
+ Test whether the expected item is contained in the collection
+
+
+
+
+
+
+ Write a descripton of the constraint to a MessageWriter
+
+
+
+
+
+ CollectionEquivalentCOnstraint is used to determine whether two
+ collections are equivalent.
+
+
+
+
+ Construct a CollectionEquivalentConstraint
+
+
+
+
+
+ Test whether two collections are equivalent
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ CollectionOrderedConstraint is used to test whether a collection is ordered.
+
+
+
+
+ Construct a CollectionOrderedConstraint
+
+
+
+
+ Modifies the constraint to use an IComparer and returns self.
+
+
+
+
+ Modifies the constraint to use an IComparer<T> and returns self.
+
+
+
+
+ Modifies the constraint to use a Comparison<T> and returns self.
+
+
+
+
+ Modifies the constraint to test ordering by the value of
+ a specified property and returns self.
+
+
+
+
+ Test whether the collection is ordered
+
+
+
+
+
+
+ Write a description of the constraint to a MessageWriter
+
+
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+
+ If used performs a reverse comparison
+
+
+
+
+ CollectionSubsetConstraint is used to determine whether
+ one collection is a subset of another
+
+
+
+
+ Construct a CollectionSubsetConstraint
+
+ The collection that the actual value is expected to be a subset of
+
+
+
+ Test whether the actual collection is a subset of
+ the expected collection provided.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ CollectionTally counts (tallies) the number of
+ occurences of each object in one or more enumerations.
+
+
+
+
+ Construct a CollectionTally object from a comparer and a collection
+
+
+
+
+ Try to remove an object from the tally
+
+ The object to remove
+ True if successful, false if the object was not found
+
+
+
+ Try to remove a set of objects from the tally
+
+ The objects to remove
+ True if successful, false if any object was not found
+
+
+
+ The number of objects remaining in the tally
+
+
+
+
+ ComparisonAdapter class centralizes all comparisons of
+ values in NUnit, adapting to the use of any provided
+ IComparer, IComparer<T> or Comparison<T>
+
+
+
+
+ Returns a ComparisonAdapter that wraps an IComparer
+
+
+
+
+ Returns a ComparisonAdapter that wraps an IComparer<T>
+
+
+
+
+ Returns a ComparisonAdapter that wraps a Comparison<T>
+
+
+
+
+ Compares two objects
+
+
+
+
+ Gets the default ComparisonAdapter, which wraps an
+ NUnitComparer object.
+
+
+
+
+ Construct a ComparisonAdapter for an IComparer
+
+
+
+
+ Compares two objects
+
+
+
+
+
+
+
+ Construct a default ComparisonAdapter
+
+
+
+
+ ComparisonAdapter<T> extends ComparisonAdapter and
+ allows use of an IComparer<T> or Comparison<T>
+ to actually perform the comparison.
+
+
+
+
+ Construct a ComparisonAdapter for an IComparer<T>
+
+
+
+
+ Compare a Type T to an object
+
+
+
+
+ Construct a ComparisonAdapter for a Comparison<T>
+
+
+
+
+ Compare a Type T to an object
+
+
+
+
+ Abstract base class for constraints that compare values to
+ determine if one is greater than, equal to or less than
+ the other. This class supplies the Using modifiers.
+
+
+
+
+ ComparisonAdapter to be used in making the comparison
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Modifies the constraint to use an IComparer and returns self
+
+
+
+
+ Modifies the constraint to use an IComparer<T> and returns self
+
+
+
+
+ Modifies the constraint to use a Comparison<T> and returns self
+
+
+
+
+ Delegate used to delay evaluation of the actual value
+ to be used in evaluating a constraint
+
+
+
+
+ ConstraintBuilder maintains the stacks that are used in
+ processing a ConstraintExpression. An OperatorStack
+ is used to hold operators that are waiting for their
+ operands to be reognized. a ConstraintStack holds
+ input constraints as well as the results of each
+ operator applied.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Appends the specified operator to the expression by first
+ reducing the operator stack and then pushing the new
+ operator on the stack.
+
+ The operator to push.
+
+
+
+ Appends the specified constraint to the expresson by pushing
+ it on the constraint stack.
+
+ The constraint to push.
+
+
+
+ Sets the top operator right context.
+
+ The right context.
+
+
+
+ Reduces the operator stack until the topmost item
+ precedence is greater than or equal to the target precedence.
+
+ The target precedence.
+
+
+
+ Resolves this instance, returning a Constraint. If the builder
+ is not currently in a resolvable state, an exception is thrown.
+
+ The resolved constraint
+
+
+
+ Gets a value indicating whether this instance is resolvable.
+
+
+ true if this instance is resolvable; otherwise, false.
+
+
+
+
+ OperatorStack is a type-safe stack for holding ConstraintOperators
+
+
+
+
+ Initializes a new instance of the class.
+
+ The builder.
+
+
+
+ Pushes the specified operator onto the stack.
+
+ The op.
+
+
+
+ Pops the topmost operator from the stack.
+
+
+
+
+
+ Gets a value indicating whether this is empty.
+
+ true if empty; otherwise, false.
+
+
+
+ Gets the topmost operator without modifying the stack.
+
+ The top.
+
+
+
+ ConstraintStack is a type-safe stack for holding Constraints
+
+
+
+
+ Initializes a new instance of the class.
+
+ The builder.
+
+
+
+ Pushes the specified constraint. As a side effect,
+ the constraint's builder field is set to the
+ ConstraintBuilder owning this stack.
+
+ The constraint.
+
+
+
+ Pops this topmost constrait from the stack.
+ As a side effect, the constraint's builder
+ field is set to null.
+
+
+
+
+
+ Gets a value indicating whether this is empty.
+
+ true if empty; otherwise, false.
+
+
+
+ Gets the topmost constraint without modifying the stack.
+
+ The topmost constraint
+
+
+
+ ConstraintExpression represents a compound constraint in the
+ process of being constructed from a series of syntactic elements.
+
+ Individual elements are appended to the expression as they are
+ reognized. Once an actual Constraint is appended, the expression
+ returns a resolvable Constraint.
+
+
+
+
+ ConstraintExpressionBase is the abstract base class for the
+ ConstraintExpression class, which represents a
+ compound constraint in the process of being constructed
+ from a series of syntactic elements.
+
+ NOTE: ConstraintExpressionBase is separate because the
+ ConstraintExpression class was generated in earlier
+ versions of NUnit. The two classes may be combined
+ in a future version.
+
+
+
+
+ The ConstraintBuilder holding the elements recognized so far
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the
+ class passing in a ConstraintBuilder, which may be pre-populated.
+
+ The builder.
+
+
+
+ Returns a string representation of the expression as it
+ currently stands. This should only be used for testing,
+ since it has the side-effect of resolving the expression.
+
+
+
+
+
+ Appends an operator to the expression and returns the
+ resulting expression itself.
+
+
+
+
+ Appends a self-resolving operator to the expression and
+ returns a new ResolvableConstraintExpression.
+
+
+
+
+ Appends a constraint to the expression and returns that
+ constraint, which is associated with the current state
+ of the expression being built.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the
+ class passing in a ConstraintBuilder, which may be pre-populated.
+
+ The builder.
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding only if a specified number of them succeed.
+
+
+
+
+ Returns a new PropertyConstraintExpression, which will either
+ test for the existence of the named property on the object
+ being tested or apply any following constraint to that property.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns a new AttributeConstraint checking for the
+ presence of a particular attribute on an object.
+
+
+
+
+ Returns the constraint provided as an argument - used to allow custom
+ custom constraints to easily participate in the syntax.
+
+
+
+
+ Returns the constraint provided as an argument - used to allow custom
+ custom constraints to easily participate in the syntax.
+
+
+
+
+ Returns a constraint that tests two items for equality
+
+
+
+
+ Returns a constraint that tests that two references are the same object
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is greater than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the
+ actual value is less than or equal to the suppled argument
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual
+ value is of the exact type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is of the type supplied as an argument or a derived type.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is assignable from the type supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a collection containing the same elements as the
+ collection supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the actual value
+ is a subset of the collection supplied as an argument.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a new CollectionContainsConstraint checking for the
+ presence of a particular object in the collection.
+
+
+
+
+ Returns a new ContainsConstraint. This constraint
+ will, in turn, make use of the appropriate second-level
+ constraint, depending on the type of the actual argument.
+ This overload is only used if the item sought is a string,
+ since any other type implies that we are looking for a
+ collection member.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value contains the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value starts with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value ends with the substring supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the regular expression supplied as an argument.
+
+
+
+
+ Returns a constraint that succeeds if the actual
+ value matches the regular expression supplied as an argument.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same as an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the path provided
+ is the same path or under an expected path after canonicalization.
+
+
+
+
+ Returns a constraint that tests whether the actual value falls
+ within a specified range.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression that negates any
+ following constraint.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them succeed.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if at least one of them succeeds.
+
+
+
+
+ Returns a ConstraintExpression, which will apply
+ the following constraint to all members of a collection,
+ succeeding if all of them fail.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Length property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Count property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the Message property of the object being tested.
+
+
+
+
+ Returns a new ConstraintExpression, which will apply the following
+ constraint to the InnerException property of the object being tested.
+
+
+
+
+ With is currently a NOP - reserved for future use.
+
+
+
+
+ Returns a constraint that tests for null
+
+
+
+
+ Returns a constraint that tests for True
+
+
+
+
+ Returns a constraint that tests for False
+
+
+
+
+ Returns a constraint that tests for a positive value
+
+
+
+
+ Returns a constraint that tests for a negative value
+
+
+
+
+ Returns a constraint that tests for NaN
+
+
+
+
+ Returns a constraint that tests for empty
+
+
+
+
+ Returns a constraint that tests whether a collection
+ contains all unique items.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in binary format.
+
+
+
+
+ Returns a constraint that tests whether an object graph is serializable in xml format.
+
+
+
+
+ Returns a constraint that tests whether a collection is ordered
+
+
+
+
+ ContainsConstraint tests a whether a string contains a substring
+ or a collection contains an object. It postpones the decision of
+ which test to use until the type of the actual argument is known.
+ This allows testing whether a string is contained in a collection
+ or as a substring of another string using the same syntax.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied Comparison object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to ignore case and return self.
+
+
+
+
+ Applies a delay to the match so that a match can be evaluated in the future.
+
+
+
+
+ Creates a new DelayedConstraint
+
+ The inner constraint two decorate
+ The time interval after which the match is performed
+ If the value of is less than 0
+
+
+
+ Creates a new DelayedConstraint
+
+ The inner constraint two decorate
+ The time interval after which the match is performed
+ The time interval used for polling
+ If the value of is less than 0
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Test whether the constraint is satisfied by a delegate
+
+ The delegate whose value is to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Test whether the constraint is satisfied by a given reference.
+ Overridden to wait for the specified delay period before
+ calling the base constraint with the dereferenced value.
+
+ A reference to the value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+ EmptyCollectionConstraint tests whether a collection is empty.
+
+
+
+
+ Check that the collection is empty
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+
+
+
+
+ EmptyConstraint tests a whether a string or collection is empty,
+ postponing the decision about which test is applied until the
+ type of the actual argument is known.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ EmptyDirectoryConstraint is used to test that a directory is empty
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ EmptyStringConstraint tests whether a string is empty.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ EndsWithConstraint can test whether a string ends
+ with an expected substring.
+
+
+
+
+ StringConstraint is the abstract base for constraints
+ that operate on strings. It supports the IgnoreCase
+ modifier for string operations.
+
+
+
+
+ The expected value
+
+
+
+
+ Indicates whether tests should be case-insensitive
+
+
+
+
+ Constructs a StringConstraint given an expected value
+
+ The expected value
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Test whether the constraint is satisfied by a given string
+
+ The string to be tested
+ True for success, false for failure
+
+
+
+ Modify the constraint to ignore case in matching.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected string
+
+
+
+ Test whether the constraint is matched by the actual value.
+ This is a template method, which calls the IsMatch method
+ of the derived class.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ EqualConstraint is able to compare an actual value with the
+ expected value provided in its constructor. Two objects are
+ considered equal if both are null, or if both have the same
+ value. NUnit has special semantics for some object types.
+
+
+
+
+ If true, strings in error messages will be clipped
+
+
+
+
+ NUnitEqualityComparer used to test equality.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Flag the constraint to use a tolerance when determining equality.
+
+ Tolerance value to be used
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied Comparison object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Flag the constraint to use the supplied IEqualityComparer object.
+
+ The IComparer object to use.
+ Self.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write a failure message. Overridden to provide custom
+ failure messages for EqualConstraint.
+
+ The MessageWriter to write to
+
+
+
+ Write description of this constraint
+
+ The MessageWriter to write to
+
+
+
+ Display the failure information for two collections that did not match.
+
+ The MessageWriter on which to display
+ The expected collection.
+ The actual collection
+ The depth of this failure in a set of nested collections
+
+
+
+ Displays a single line showing the types and sizes of the expected
+ and actual enumerations, collections or arrays. If both are identical,
+ the value is only shown once.
+
+ The MessageWriter on which to display
+ The expected collection or array
+ The actual collection or array
+ The indentation level for the message line
+
+
+
+ Displays a single line showing the point in the expected and actual
+ arrays at which the comparison failed. If the arrays have different
+ structures or dimensions, both values are shown.
+
+ The MessageWriter on which to display
+ The expected array
+ The actual array
+ Index of the failure point in the underlying collections
+ The indentation level for the message line
+
+
+
+ Display the failure information for two IEnumerables that did not match.
+
+ The MessageWriter on which to display
+ The expected enumeration.
+ The actual enumeration
+ The depth of this failure in a set of nested collections
+
+
+
+ Flag the constraint to ignore case and return self.
+
+
+
+
+ Flag the constraint to suppress string clipping
+ and return self.
+
+
+
+
+ Flag the constraint to compare arrays as collections
+ and return self.
+
+
+
+
+ Switches the .Within() modifier to interpret its tolerance as
+ a distance in representable values (see remarks).
+
+ Self.
+
+ Ulp stands for "unit in the last place" and describes the minimum
+ amount a given value can change. For any integers, an ulp is 1 whole
+ digit. For floating point values, the accuracy of which is better
+ for smaller numbers and worse for larger numbers, an ulp depends
+ on the size of the number. Using ulps for comparison of floating
+ point results instead of fixed tolerances is safer because it will
+ automatically compensate for the added inaccuracy of larger numbers.
+
+
+
+
+ Switches the .Within() modifier to interpret its tolerance as
+ a percentage that the actual values is allowed to deviate from
+ the expected value.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in days.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in hours.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in minutes.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in seconds.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in milliseconds.
+
+ Self
+
+
+
+ Causes the tolerance to be interpreted as a TimeSpan in clock ticks.
+
+ Self
+
+
+
+ EqualityAdapter class handles all equality comparisons
+ that use an IEqualityComparer, IEqualityComparer<T>
+ or a ComparisonAdapter.
+
+
+
+
+ Compares two objects, returning true if they are equal
+
+
+
+
+ Returns true if the two objects can be compared by this adapter.
+ The base adapter cannot handle IEnumerables except for strings.
+
+
+
+
+ Returns an EqualityAdapter that wraps an IComparer.
+
+
+
+
+ Returns an EqualityAdapter that wraps an IEqualityComparer.
+
+
+
+
+ Returns an EqualityAdapter that wraps an IEqualityComparer<T>.
+
+
+
+
+ Returns an EqualityAdapter that wraps an IComparer<T>.
+
+
+
+
+ Returns an EqualityAdapter that wraps a Comparison<T>.
+
+
+
+
+ EqualityAdapter that wraps an IComparer.
+
+
+
+
+ Returns true if the two objects can be compared by this adapter.
+ Generic adapter requires objects of the specified type.
+
+
+
+
+ EqualityAdapter that wraps an IComparer.
+
+
+
+
+ EqualityAdapterList represents a list of EqualityAdapters
+ in a common class across platforms.
+
+
+
+
+ ExactCountConstraint applies another constraint to each
+ item in a collection, succeeding only if a specified
+ number of items succeed.
+
+
+
+
+ Construct an ExactCountConstraint on top of an existing constraint
+
+
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ succeeding only if the expected number of items pass.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ ExactTypeConstraint is used to test that an object
+ is of the exact type provided in the constructor
+
+
+
+
+ Construct an ExactTypeConstraint for a given Type
+
+ The expected Type.
+
+
+
+ Test that an object is of the exact type specified
+
+ The actual value.
+ True if the tested object is of the exact type provided, otherwise false.
+
+
+
+ Write the description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ ExceptionTypeConstraint is a special version of ExactTypeConstraint
+ used to provided detailed info about the exception thrown in
+ an error message.
+
+
+
+
+ Constructs an ExceptionTypeConstraint
+
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. Overriden to write additional information
+ in the case of an Exception.
+
+ The MessageWriter to use
+
+
+
+ FailurePoint class represents one point of failure
+ in an equality test.
+
+
+
+
+ The location of the failure
+
+
+
+
+ The expected value
+
+
+
+
+ The actual value
+
+
+
+
+ Indicates whether the expected value is valid
+
+
+
+
+ Indicates whether the actual value is valid
+
+
+
+
+ FailurePointList represents a set of FailurePoints
+ in a cross-platform way.
+
+
+
+
+ FalseConstraint tests that the actual value is false
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+ Helper routines for working with floating point numbers
+
+
+ The floating point comparison code is based on this excellent article:
+ http://www.cygnus-software.com/papers/comparingfloats/comparingfloats.htm
+
+
+ "ULP" means Unit in the Last Place and in the context of this library refers to
+ the distance between two adjacent floating point numbers. IEEE floating point
+ numbers can only represent a finite subset of natural numbers, with greater
+ accuracy for smaller numbers and lower accuracy for very large numbers.
+
+
+ If a comparison is allowed "2 ulps" of deviation, that means the values are
+ allowed to deviate by up to 2 adjacent floating point values, which might be
+ as low as 0.0000001 for small numbers or as high as 10.0 for large numbers.
+
+
+
+
+ Compares two floating point values for equality
+ First floating point value to be compared
+ Second floating point value t be compared
+
+ Maximum number of representable floating point values that are allowed to
+ be between the left and the right floating point values
+
+ True if both numbers are equal or close to being equal
+
+
+ Floating point values can only represent a finite subset of natural numbers.
+ For example, the values 2.00000000 and 2.00000024 can be stored in a float,
+ but nothing inbetween them.
+
+
+ This comparison will count how many possible floating point values are between
+ the left and the right number. If the number of possible values between both
+ numbers is less than or equal to maxUlps, then the numbers are considered as
+ being equal.
+
+
+ Implementation partially follows the code outlined here:
+ http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/
+
+
+
+
+ Compares two double precision floating point values for equality
+ First double precision floating point value to be compared
+ Second double precision floating point value t be compared
+
+ Maximum number of representable double precision floating point values that are
+ allowed to be between the left and the right double precision floating point values
+
+ True if both numbers are equal or close to being equal
+
+
+ Double precision floating point values can only represent a limited series of
+ natural numbers. For example, the values 2.0000000000000000 and 2.0000000000000004
+ can be stored in a double, but nothing inbetween them.
+
+
+ This comparison will count how many possible double precision floating point
+ values are between the left and the right number. If the number of possible
+ values between both numbers is less than or equal to maxUlps, then the numbers
+ are considered as being equal.
+
+
+ Implementation partially follows the code outlined here:
+ http://www.anttirt.net/2007/08/19/proper-floating-point-comparisons/
+
+
+
+
+
+ Reinterprets the memory contents of a floating point value as an integer value
+
+
+ Floating point value whose memory contents to reinterpret
+
+
+ The memory contents of the floating point value interpreted as an integer
+
+
+
+
+ Reinterprets the memory contents of a double precision floating point
+ value as an integer value
+
+
+ Double precision floating point value whose memory contents to reinterpret
+
+
+ The memory contents of the double precision floating point value
+ interpreted as an integer
+
+
+
+
+ Reinterprets the memory contents of an integer as a floating point value
+
+ Integer value whose memory contents to reinterpret
+
+ The memory contents of the integer value interpreted as a floating point value
+
+
+
+
+ Reinterprets the memory contents of an integer value as a double precision
+ floating point value
+
+ Integer whose memory contents to reinterpret
+
+ The memory contents of the integer interpreted as a double precision
+ floating point value
+
+
+
+ Union of a floating point variable and an integer
+
+
+ The union's value as a floating point variable
+
+
+ The union's value as an integer
+
+
+ The union's value as an unsigned integer
+
+
+ Union of a double precision floating point variable and a long
+
+
+ The union's value as a double precision floating point variable
+
+
+ The union's value as a long
+
+
+ The union's value as an unsigned long
+
+
+
+ Tests whether a value is greater than the value supplied to its constructor
+
+
+
+
+ The value against which a comparison is to be made
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Tests whether a value is greater than or equal to the value supplied to its constructor
+
+
+
+
+ The value against which a comparison is to be made
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ InstanceOfTypeConstraint is used to test that an object
+ is of the same type provided or derived from it.
+
+
+
+
+ Construct an InstanceOfTypeConstraint for the type provided
+
+ The expected Type
+
+
+
+ Test whether an object is of the specified type or a derived type
+
+ The object to be tested
+ True if the object is of the provided type or derives from it, otherwise false.
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+ The MessageWriter to use
+
+
+
+ Tests whether a value is less than the value supplied to its constructor
+
+
+
+
+ The value against which a comparison is to be made
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Tests whether a value is less than or equal to the value supplied to its constructor
+
+
+
+
+ The value against which a comparison is to be made
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected value.
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Static methods used in creating messages
+
+
+
+
+ Static string used when strings are clipped
+
+
+
+
+ Returns the representation of a type as used in NUnitLite.
+ This is the same as Type.ToString() except for arrays,
+ which are displayed with their declared sizes.
+
+
+
+
+
+
+ Converts any control characters in a string
+ to their escaped representation.
+
+ The string to be converted
+ The converted string
+
+
+
+ Return the a string representation for a set of indices into an array
+
+ Array of indices for which a string is needed
+
+
+
+ Get an array of indices representing the point in a enumerable,
+ collection or array corresponding to a single int index into the
+ collection.
+
+ The collection to which the indices apply
+ Index in the collection
+ Array of indices
+
+
+
+ Clip a string to a given length, starting at a particular offset, returning the clipped
+ string with ellipses representing the removed parts
+
+ The string to be clipped
+ The maximum permitted length of the result string
+ The point at which to start clipping
+ The clipped string
+
+
+
+ Clip the expected and actual strings in a coordinated fashion,
+ so that they may be displayed together.
+
+
+
+
+
+
+
+
+ Shows the position two strings start to differ. Comparison
+ starts at the start index.
+
+ The expected string
+ The actual string
+ The index in the strings at which comparison should start
+ Boolean indicating whether case should be ignored
+ -1 if no mismatch found, or the index where mismatch found
+
+
+
+ NaNConstraint tests that the actual value is a double or float NaN
+
+
+
+
+ Test that the actual value is an NaN
+
+
+
+
+
+
+ Write the constraint description to a specified writer
+
+
+
+
+
+ NoItemConstraint applies another constraint to each
+ item in a collection, failing if any of them succeeds.
+
+
+
+
+ Construct a NoItemConstraint on top of an existing constraint
+
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ failing if any item fails.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ NotConstraint negates the effect of some other constraint
+
+
+
+
+ Initializes a new instance of the class.
+
+ The base constraint to be negated.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for if the base constraint fails, false if it succeeds
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ NullConstraint tests that the actual value is null
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ NullEmptyStringConstraint tests whether a string is either null or empty.
+
+
+
+
+ Constructs a new NullOrEmptyStringConstraint
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ The Numerics class contains common operations on numeric values.
+
+
+
+
+ Checks the type of the object, returning true if
+ the object is a numeric type.
+
+ The object to check
+ true if the object is a numeric type
+
+
+
+ Checks the type of the object, returning true if
+ the object is a floating point numeric type.
+
+ The object to check
+ true if the object is a floating point numeric type
+
+
+
+ Checks the type of the object, returning true if
+ the object is a fixed point numeric type.
+
+ The object to check
+ true if the object is a fixed point numeric type
+
+
+
+ Test two numeric values for equality, performing the usual numeric
+ conversions and using a provided or default tolerance. If the tolerance
+ provided is Empty, this method may set it to a default tolerance.
+
+ The expected value
+ The actual value
+ A reference to the tolerance in effect
+ True if the values are equal
+
+
+
+ Compare two numeric values, performing the usual numeric conversions.
+
+ The expected value
+ The actual value
+ The relationship of the values to each other
+
+
+
+ NUnitComparer encapsulates NUnit's default behavior
+ in comparing two objects.
+
+
+
+
+ Compares two objects
+
+
+
+
+
+
+
+ Returns the default NUnitComparer.
+
+
+
+
+ Generic version of NUnitComparer
+
+
+
+
+
+ Compare two objects of the same type
+
+
+
+
+ NUnitEqualityComparer encapsulates NUnit's handling of
+ equality tests between objects.
+
+
+
+
+
+
+
+
+
+ Compares two objects for equality within a tolerance
+
+ The first object to compare
+ The second object to compare
+ The tolerance to use in the comparison
+
+
+
+
+ If true, all string comparisons will ignore case
+
+
+
+
+ If true, arrays will be treated as collections, allowing
+ those of different dimensions to be compared
+
+
+
+
+ Comparison objects used in comparisons for some constraints.
+
+
+
+
+ List of points at which a failure occured.
+
+
+
+
+ RecursionDetector used to check for recursion when
+ evaluating self-referencing enumerables.
+
+
+
+
+ Compares two objects for equality within a tolerance, setting
+ the tolerance to the actual tolerance used if an empty
+ tolerance is supplied.
+
+
+
+
+ Helper method to compare two arrays
+
+
+
+
+ Method to compare two DirectoryInfo objects
+
+ first directory to compare
+ second directory to compare
+ true if equivalent, false if not
+
+
+
+ Returns the default NUnitEqualityComparer
+
+
+
+
+ Gets and sets a flag indicating whether case should
+ be ignored in determining equality.
+
+
+
+
+ Gets and sets a flag indicating that arrays should be
+ compared as collections, without regard to their shape.
+
+
+
+
+ Gets the list of external comparers to be used to
+ test for equality. They are applied to members of
+ collections, in place of NUnit's own logic.
+
+
+
+
+ Gets the list of failure points for the last Match performed.
+ The list consists of objects to be interpreted by the caller.
+ This generally means that the caller may only make use of
+ objects it has placed on the list at a particular depthy.
+
+
+
+
+ RecursionDetector detects when a comparison
+ between two enumerables has reached a point
+ where the same objects that were previously
+ compared are again being compared. This allows
+ the caller to stop the comparison if desired.
+
+
+
+
+ Check whether two objects have previously
+ been compared, returning true if they have.
+ The two objects are remembered, so that a
+ second call will always return true.
+
+
+
+
+ OrConstraint succeeds if either member succeeds
+
+
+
+
+ Create an OrConstraint from two other constraints
+
+ The first constraint
+ The second constraint
+
+
+
+ Apply the member constraints to an actual value, succeeding
+ succeeding as soon as one of them succeeds.
+
+ The actual value
+ True if either constraint succeeded
+
+
+
+ Write a description for this contraint to a MessageWriter
+
+ The MessageWriter to receive the description
+
+
+
+ PathConstraint serves as the abstract base of constraints
+ that operate on paths and provides several helper methods.
+
+
+
+
+ The expected path used in the constraint
+
+
+
+
+ Flag indicating whether a caseInsensitive comparison should be made
+
+
+
+
+ Construct a PathConstraint for a give expected path
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Returns true if the expected path and actual path match
+
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ Transform the provided path to its canonical form so that it
+ may be more easily be compared with other paths.
+
+ The original path
+ The path in canonical form
+
+
+
+ Test whether one path in canonical form is under another.
+
+ The first path - supposed to be the parent path
+ The second path - supposed to be the child path
+ Indicates whether case should be ignored
+
+
+
+
+ Modifies the current instance to be case-insensitve
+ and returns it.
+
+
+
+
+ Modifies the current instance to be case-sensitve
+ and returns it.
+
+
+
+
+ Predicate constraint wraps a Predicate in a constraint,
+ returning success if the predicate is true.
+
+
+
+
+ Construct a PredicateConstraint from a predicate
+
+
+
+
+ Determines whether the predicate succeeds when applied
+ to the actual value.
+
+
+
+
+ Writes the description to a MessageWriter
+
+
+
+
+ PropertyConstraint extracts a named property and uses
+ its value as the actual value for a chained constraint.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name.
+ The constraint to apply to the property.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+
+ PropertyExistsConstraint tests that a named property
+ exists on the object provided through Match.
+
+ Originally, PropertyConstraint provided this feature
+ in addition to making optional tests on the vaue
+ of the property. The two constraints are now separate.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The name of the property.
+
+
+
+ Test whether the property exists for a given object
+
+ The object to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of the constraint.
+
+
+
+
+
+ RangeConstraint tests whether two values are within a
+ specified range.
+
+
+
+
+ Initializes a new instance of the class.
+
+ From.
+ To.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ RegexConstraint can test whether a string matches
+ the pattern provided.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The pattern.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ ResolvableConstraintExpression is used to represent a compound
+ constraint being constructed at a point where the last operator
+ may either terminate the expression or may have additional
+ qualifying constraints added to it.
+
+ It is used, for example, for a Property element or for
+ an Exception element, either of which may be optionally
+ followed by constraints that apply to the property or
+ exception.
+
+
+
+
+ Create a new instance of ResolvableConstraintExpression
+
+
+
+
+ Create a new instance of ResolvableConstraintExpression,
+ passing in a pre-populated ConstraintBuilder.
+
+
+
+
+ Resolve the current expression to a Constraint
+
+
+
+
+ This operator creates a constraint that is satisfied only if both
+ argument constraints are satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied only if both
+ argument constraints are satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied only if both
+ argument constraints are satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if either
+ of the argument constraints is satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if either
+ of the argument constraints is satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if either
+ of the argument constraints is satisfied.
+
+
+
+
+ This operator creates a constraint that is satisfied if the
+ argument constraint is not satisfied.
+
+
+
+
+ Appends an And Operator to the expression
+
+
+
+
+ Appends an Or operator to the expression.
+
+
+
+
+ ReusableConstraint wraps a constraint expression after
+ resolving it so that it can be reused consistently.
+
+
+
+
+ Construct a ReusableConstraint from a constraint expression
+
+ The expression to be resolved and reused
+
+
+
+ Converts a constraint to a ReusableConstraint
+
+ The constraint to be converted
+ A ReusableConstraint
+
+
+
+ Returns the string representation of the constraint.
+
+ A string representing the constraint
+
+
+
+ Resolves the ReusableConstraint by returning the constraint
+ that it originally wrapped.
+
+ A resolved constraint
+
+
+
+ SameAsConstraint tests whether an object is identical to
+ the object passed to its constructor
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected object.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Summary description for SamePathConstraint.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SamePathOrUnderConstraint tests that one path is under another
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SomeItemsConstraint applies another constraint to each
+ item in a collection, succeeding if any of them succeeds.
+
+
+
+
+ Construct a SomeItemsConstraint on top of an existing constraint
+
+
+
+
+
+ Apply the item constraint to each item in the collection,
+ succeeding if any item succeeds.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ StartsWithConstraint can test whether a string starts
+ with an expected substring.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected string
+
+
+
+ Test whether the constraint is matched by the actual value.
+ This is a template method, which calls the IsMatch method
+ of the derived class.
+
+
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SubPathConstraint tests that the actual path is under the expected path
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected path
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The expected path
+ The actual path
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ SubstringConstraint can test whether a string contains
+ the expected substring.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The expected.
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ ThrowsConstraint is used to test the exception thrown by
+ a delegate by applying a constraint to it.
+
+
+
+
+ Initializes a new instance of the class,
+ using a constraint to be applied to the exception.
+
+ A constraint to apply to the caught exception.
+
+
+
+ Executes the code of the delegate and captures any exception.
+ If a non-null base constraint was provided, it applies that
+ constraint to the exception.
+
+ A delegate representing the code to be tested
+ True if an exception is thrown and the constraint succeeds, otherwise false
+
+
+
+ Converts an ActualValueDelegate to a TestDelegate
+ before calling the primary overload.
+
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ Get the actual exception thrown - used by Assert.Throws.
+
+
+
+
+ ThrowsNothingConstraint tests that a delegate does not
+ throw an exception.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True if no exception is thrown, otherwise false
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. Overridden in ThrowsNothingConstraint to write
+ information about the exception that was actually caught.
+
+ The writer on which the actual value is displayed
+
+
+
+ The Tolerance class generalizes the notion of a tolerance
+ within which an equality test succeeds. Normally, it is
+ used with numeric types, but it can be used with any
+ type that supports taking a difference between two
+ objects and comparing that difference to a value.
+
+
+
+
+ Constructs a linear tolerance of a specdified amount
+
+
+
+
+ Constructs a tolerance given an amount and ToleranceMode
+
+
+
+
+ Tests that the current Tolerance is linear with a
+ numeric value, throwing an exception if it is not.
+
+
+
+
+ Returns an empty Tolerance object, equivalent to
+ specifying no tolerance. In most cases, it results
+ in an exact match but for floats and doubles a
+ default tolerance may be used.
+
+
+
+
+ Returns a zero Tolerance object, equivalent to
+ specifying an exact match.
+
+
+
+
+ Gets the ToleranceMode for the current Tolerance
+
+
+
+
+ Gets the value of the current Tolerance instance.
+
+
+
+
+ Returns a new tolerance, using the current amount as a percentage.
+
+
+
+
+ Returns a new tolerance, using the current amount in Ulps.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of days.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of hours.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of minutes.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of seconds.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of milliseconds.
+
+
+
+
+ Returns a new tolerance with a TimeSpan as the amount, using
+ the current amount as a number of clock ticks.
+
+
+
+
+ Returns true if the current tolerance is empty.
+
+
+
+
+ Modes in which the tolerance value for a comparison can be interpreted.
+
+
+
+
+ The tolerance was created with a value, without specifying
+ how the value would be used. This is used to prevent setting
+ the mode more than once and is generally changed to Linear
+ upon execution of the test.
+
+
+
+
+ The tolerance is used as a numeric range within which
+ two compared values are considered to be equal.
+
+
+
+
+ Interprets the tolerance as the percentage by which
+ the two compared values my deviate from each other.
+
+
+
+
+ Compares two values based in their distance in
+ representable numbers.
+
+
+
+
+ TrueConstraint tests that the actual value is true
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ UniqueItemsConstraint tests whether all the items in a
+ collection are unique.
+
+
+
+
+ Check that all items are unique.
+
+
+
+
+
+
+ Write a description of this constraint to a MessageWriter
+
+
+
+
+
+ XmlSerializableConstraint tests whether
+ an object is serializable in XML format.
+
+
+
+
+ Test whether the constraint is satisfied by a given value
+
+ The value to be tested
+ True for success, false for failure
+
+
+
+ Write the constraint description to a MessageWriter
+
+ The writer on which the description is displayed
+
+
+
+ Write the actual value for a failing constraint test to a
+ MessageWriter. The default implementation simply writes
+ the raw value of actual, leaving it to the writer to
+ perform any formatting.
+
+ The writer on which the actual value is displayed
+
+
+
+ Returns the string representation of this constraint
+
+
+
+
+ Represents a constraint that succeeds if all the
+ members of a collection match a base constraint.
+
+
+
+
+ Abstract base for operators that indicate how to
+ apply a constraint to items in a collection.
+
+
+
+
+ PrefixOperator takes a single constraint and modifies
+ it's action in some way.
+
+
+
+
+ The ConstraintOperator class is used internally by a
+ ConstraintBuilder to represent an operator that
+ modifies or combines constraints.
+
+ Constraint operators use left and right precedence
+ values to determine whether the top operator on the
+ stack should be reduced before pushing a new operator.
+
+
+
+
+ The precedence value used when the operator
+ is about to be pushed to the stack.
+
+
+
+
+ The precedence value used when the operator
+ is on the top of the stack.
+
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+
+ The syntax element preceding this operator
+
+
+
+
+ The syntax element folowing this operator
+
+
+
+
+ The precedence value used when the operator
+ is about to be pushed to the stack.
+
+
+
+
+ The precedence value used when the operator
+ is on the top of the stack.
+
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+
+ Returns the constraint created by applying this
+ prefix to another constraint.
+
+
+
+
+
+
+ Constructs a CollectionOperator
+
+
+
+
+ Returns a constraint that will apply the argument
+ to the members of a collection, succeeding if
+ they all succeed.
+
+
+
+
+ Operator that requires both it's arguments to succeed
+
+
+
+
+ Abstract base class for all binary operators
+
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+
+ Abstract method that produces a constraint by applying
+ the operator to its left and right constraint arguments.
+
+
+
+
+ Gets the left precedence of the operator
+
+
+
+
+ Gets the right precedence of the operator
+
+
+
+
+ Construct an AndOperator
+
+
+
+
+ Apply the operator to produce an AndConstraint
+
+
+
+
+ Operator that tests for the presence of a particular attribute
+ on a type and optionally applies further tests to the attribute.
+
+
+
+
+ Abstract base class for operators that are able to reduce to a
+ constraint whether or not another syntactic element follows.
+
+
+
+
+ Construct an AttributeOperator for a particular Type
+
+ The Type of attribute tested
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+ Represents a constraint that succeeds if the specified
+ count of members of a collection match a base constraint.
+
+
+
+
+ Construct an ExactCountOperator for a specified count
+
+ The expected count
+
+
+
+ Returns a constraint that will apply the argument
+ to the members of a collection, succeeding if
+ none of them succeed.
+
+
+
+
+ Represents a constraint that succeeds if none of the
+ members of a collection match a base constraint.
+
+
+
+
+ Returns a constraint that will apply the argument
+ to the members of a collection, succeeding if
+ none of them succeed.
+
+
+
+
+ Negates the test of the constraint it wraps.
+
+
+
+
+ Constructs a new NotOperator
+
+
+
+
+ Returns a NotConstraint applied to its argument.
+
+
+
+
+ Operator that requires at least one of it's arguments to succeed
+
+
+
+
+ Construct an OrOperator
+
+
+
+
+ Apply the operator to produce an OrConstraint
+
+
+
+
+ Operator used to test for the presence of a named Property
+ on an object and optionally apply further tests to the
+ value of that property.
+
+
+
+
+ Constructs a PropOperator for a particular named property
+
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+
+ Gets the name of the property to which the operator applies
+
+
+
+
+ Represents a constraint that succeeds if any of the
+ members of a collection match a base constraint.
+
+
+
+
+ Returns a constraint that will apply the argument
+ to the members of a collection, succeeding if
+ any of them succeed.
+
+
+
+
+ Operator that tests that an exception is thrown and
+ optionally applies further tests to the exception.
+
+
+
+
+ Construct a ThrowsOperator
+
+
+
+
+ Reduce produces a constraint from the operator and
+ any arguments. It takes the arguments from the constraint
+ stack and pushes the resulting constraint on it.
+
+
+
+
+ Represents a constraint that simply wraps the
+ constraint provided as an argument, without any
+ further functionality, but which modifes the
+ order of evaluation because of its precedence.
+
+
+
+
+ Constructor for the WithOperator
+
+
+
+
+ Returns a constraint that wraps its argument
+
+
+
+
+ Thrown when an assertion failed.
+
+
+
+ The error message that explains
+ the reason for the exception
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
+
+ Serialization Constructor
+
+
+
+
+ Thrown when an assertion failed.
+
+
+
+
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
+
+ Serialization Constructor
+
+
+
+
+ Thrown when a test executes inconclusively.
+
+
+
+ The error message that explains
+ the reason for the exception
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
+
+ Serialization Constructor
+
+
+
+
+ Thrown when an assertion failed.
+
+
+
+
+
+
+ The error message that explains
+ the reason for the exception
+ The exception that caused the
+ current exception
+
+
+
+ Serialization Constructor
+
+
+
+
+
+
+
+
+
+
+ Compares two objects of a given Type for equality within a tolerance
+
+ The first object to compare
+ The second object to compare
+ The tolerance to use in the comparison
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/Prism.4.1.0.0.nupkg b/src/packages/Prism.4.1.0.0/Prism.4.1.0.0.nupkg
new file mode 100644
index 0000000..8ed210d
Binary files /dev/null and b/src/packages/Prism.4.1.0.0/Prism.4.1.0.0.nupkg differ
diff --git a/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.Interactivity.xml b/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.Interactivity.xml
new file mode 100644
index 0000000..35a1444
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.Interactivity.xml
@@ -0,0 +1,174 @@
+
+
+
+ Microsoft.Practices.Prism.Interactivity
+
+
+
+
+ Represents an interaction request used for confirmations.
+
+
+
+
+ Represents an interaction request used for notifications.
+
+
+
+
+ Gets or sets the title to use for the notification.
+
+
+
+
+ Gets or sets the content of the notification.
+
+
+
+
+ Gets or sets a value indicating that the confirmation is confirmed.
+
+
+
+
+ Represents a request from user interaction.
+
+
+ View models can expose interaction request objects through properties and raise them when user interaction
+ is required so views associated with the view models can materialize the user interaction using an appropriate
+ mechanism.
+
+
+
+
+ Fired when the interaction is needed.
+
+
+
+
+ Implementation of the interface.
+
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+ The callback to execute when the interaction is completed.
+
+
+
+ Fired when interaction is needed.
+
+
+
+
+ Event args for the event.
+
+
+
+
+ Constructs a new instance of
+
+
+
+
+
+
+ Gets the context for a requested interaction.
+
+
+
+
+ Gets the callback to execute when an interaction is completed.
+
+
+
+
+ Custom event trigger for using with objects.
+
+
+ The standard class can be used instead, as long as the 'Raised' event
+ name is specified.
+
+
+
+
+ Specifies the name of the Event this EventTriggerBase is listening for.
+
+ This implementation always returns the Raised event name for ease of connection with .
+
+
+
+ Trigger action that executes a command when invoked.
+ It also maintains the Enabled state of the target control based on the CanExecute method of the command.
+
+
+
+
+ Dependency property identifying the command to execute when invoked.
+
+
+
+
+ Dependency property identifying the command parameter to supply on command execution.
+
+
+
+
+ Public wrapper of the Invoke method. No parameter is passed here, as the parameter in the Invoke method is ignored in this class.
+
+
+
+
+ Executes the command
+
+ This parameter is ignored; the CommandParameter specified in the CommandParameterProperty is used for command invocation.
+
+
+
+ Sets the Command and CommandParameter properties to null.
+
+
+
+
+ This method is called after the behavior is attached.
+ It updates the command behavior's Command and CommandParameter properties if necessary.
+
+
+
+
+ Gets or sets the command to execute when invoked.
+
+
+
+
+ Gets or sets the command parameter to supply on command execution.
+
+
+
+
+ A CommandBehavior that exposes a public ExecuteCommand method. It provides the functionality to invoke commands and update Enabled state of the target control.
+ It is not possible to make the inherit from , since the
+ must already inherit from , so we chose to follow the aggregation approach.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.xml b/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.xml
new file mode 100644
index 0000000..d6c3071
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/NET40/Microsoft.Practices.Prism.xml
@@ -0,0 +1,5949 @@
+
+
+
+ Microsoft.Practices.Prism
+
+
+
+
+ Base class that provides a basic bootstrapping sequence and hooks
+ that specific implementations can override
+
+
+ This class must be overriden to provide application specific configuration.
+
+
+
+
+ Create the used by the bootstrapper.
+
+
+ The base implementation returns a new TextLogger.
+
+
+
+
+ Runs the bootstrapper process.
+
+
+
+
+ Creates the used by Prism.
+
+
+ The base implementation returns a new ModuleCatalog.
+
+
+
+
+ Configures the used by Prism.
+
+
+
+
+ Registers the s of the Exceptions that are not considered
+ root exceptions by the .
+
+
+
+
+ Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
+
+
+
+
+ Configures the default region adapter mappings to use in the application, in order
+ to adapt UI controls defined in XAML to use a region and register it automatically.
+ May be overwritten in a derived class to add specific mappings required by the application.
+
+ The instance containing all the mappings.
+
+
+
+ Configures the .
+ This will be the list of default behaviors that will be added to a region.
+
+
+
+
+ Initializes the shell.
+
+
+
+
+ Run the bootstrapper process.
+
+ If , registers default
+ Composite Application Library services in the container. This is the default behavior.
+
+
+
+ Creates the shell or main window of the application.
+
+ The shell of the application.
+
+ If the returned instance is a , the
+ will attach the default of
+ the application in its attached property
+ in order to be able to add regions by using the
+ attached property from XAML.
+
+
+
+
+ Configures the LocatorProvider for the .
+
+
+
+
+ Gets the for the application.
+
+ A instance.
+
+
+
+ Gets the default for the application.
+
+ The default instance.
+
+
+
+ Gets the shell user interface
+
+ The shell user interface.
+
+
+
+ Behavior that allows controls that derrive from to hook up with objects.
+
+
+ This Behavior is required in Silverlight, because Silverlight does not have Commanding support.
+
+
+
+
+ Base behavior to handle connecting a to a Command.
+
+ The target object must derive from Control
+
+ CommandBehaviorBase can be used to provide new behaviors for commands.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Updates the target object's IsEnabled property based on the commands ability to execute.
+
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
+ Corresponding command to be execute and monitored for
+
+
+
+
+ The parameter to supply the command during execution
+
+
+
+
+ Object to which this behavior is attached.
+
+
+
+
+ Initializes a new instance of the class and hooks up the Click event of
+ to the ExecuteCommand() method.
+
+ The clickable object.
+
+
+
+ Static Class that holds all Dependency Properties and Static methods to allow
+ the Click event of the ButtonBase class to be attached to a Command.
+
+
+ This class is required, because Silverlight doesn't have native support for Commands.
+
+
+
+
+ Command to execute on click event.
+
+
+
+
+ Command parameter to supply on command execution.
+
+
+
+
+ Sets the to execute on the click event.
+
+ ButtonBase dependency object to attach command
+ Command to attach
+
+
+
+ Retrieves the attached to the .
+
+ ButtonBase containing the Command dependency property
+ The value of the command attached
+
+
+
+ Sets the value for the CommandParameter attached property on the provided .
+
+ ButtonBase to attach CommandParameter
+ Parameter value to attach
+
+
+
+ Gets the value in CommandParameter attached property on the provided
+
+ ButtonBase that has the CommandParameter
+ The value of the property
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ Occurs when any of the registered commands raise . You must keep a hard
+ reference to the handler to avoid garbage collection and unexpected results. See remarks for more information.
+
+
+ When subscribing to the event using
+ code (not when binding using XAML) will need to keep a hard reference to the event handler. This is to prevent
+ garbage collection of the event handler because the command implements the Weak Event pattern so it does not have
+ a hard reference to this handler. An example implementation can be seen in the CompositeCommand and CommandBehaviorBase
+ classes. In most scenarios, there is no reason to sign up to the CanExecuteChanged event directly, but if you do, you
+ are responsible for maintaining the reference.
+
+
+ The following code holds a reference to the event handler. The myEventHandlerReference value should be stored
+ in an instance member to avoid it from being garbage collected.
+
+ EventHandler myEventHandlerReference = new EventHandler(this.OnCanExecuteChanged);
+ command.CanExecuteChanged += myEventHandlerReference;
+
+
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is useful when registering this command in a that monitors command's activity.
+
+ Parameter type.
+
+ The constructor deliberately prevent the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is
+ useful when registering this command in a
+ that monitors command's activity.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Createse a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Raises on the UI thread so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoing the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute. You must keep a hard
+ reference to the handler to avoid garbage collection and unexpected results. See remarks for more information.
+
+
+ When subscribing to the event using
+ code (not when binding using XAML) will need to keep a hard reference to the event handler. This is to prevent
+ garbage collection of the event handler because the command implements the Weak Event pattern so it does not have
+ a hard reference to this handler. An example implementation can be seen in the CompositeCommand and CommandBehaviorBase
+ classes. In most scenarios, there is no reason to sign up to the CanExecuteChanged event directly, but if you do, you
+ are responsible for maintaining the reference.
+
+
+ The following code holds a reference to the event handler. The myEventHandlerReference value should be stored
+ in an instance member to avoid it from being garbage collected.
+
+ EventHandler myEventHandlerReference = new EventHandler(this.OnCanExecuteChanged);
+ command.CanExecuteChanged += myEventHandlerReference;
+
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute,otherwise returns .
+
+
+
+ Handles management and dispatching of EventHandlers in a weak way.
+
+
+
+
+ Invokes the handlers
+
+
+
+
+
+
+ Adds a handler to the supplied list in a weak way.
+
+ Existing handler list. It will be created if null.
+ Handler to add.
+ Default list size.
+
+
+
+ Removes an event handler from the reference list.
+
+ Handler list to remove reference from.
+ Handler to remove.
+
+
+
+ Hides the dispatcher mis-match between Silverlight and .Net, largely so code reads a bit easier
+
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overriden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ CompositePresentationEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Gets the that is bound to the UI elements.
+
+ The to use when subscribing using .
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Wraps the Application Dispatcher.
+
+
+
+
+ Defines the interface for invoking methods through a Dispatcher Facade
+
+
+
+
+ Dispatches an invocation to the method received as parameter.
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Forwards the BeginInvoke to the current application's .
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Composite Application Library.
+
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The dispatcher to use when executing the delegate.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ A dictionary of lists.
+
+ The key to use for lists.
+ The type of the value held by lists.
+
+
+
+ If a list does not already exist, it will be created automatically.
+
+ The key of the list that will hold the value.
+
+
+
+ Adds a value to a list with the given key. If a list does not already exist,
+ it will be created automatically.
+
+ The key of the list that will hold the value.
+ The value to add to the list under the given key.
+
+
+
+ Removes all entries in the dictionary.
+
+
+
+
+ Determines whether the dictionary contains the specified value.
+
+ The value to locate.
+ true if the dictionary contains the value in any list; otherwise, false.
+
+
+
+ Determines whether the dictionary contains the given key.
+
+ The key to locate.
+ true if the dictionary contains the given key; otherwise, false.
+
+
+
+ Retrieves the all the elements from the list which have a key that matches the condition
+ defined by the specified predicate.
+
+ The filter with the condition to use to filter lists by their key.
+ The elements that have a key that matches the condition defined by the specified predicate.
+
+
+
+ Retrieves all the elements that match the condition defined by the specified predicate.
+
+ The filter with the condition to use to filter values.
+ The elements that match the condition defined by the specified predicate.
+
+
+
+ Removes a list by key.
+
+ The key of the list to remove.
+ if the element was removed.
+
+
+
+ Removes a value from the list with the given key.
+
+ The key of the list where the value exists.
+ The value to remove.
+
+
+
+ Removes a value from all lists where it may be found.
+
+ The value to remove.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Gets a shallow copy of all values in all lists.
+
+ List of values.
+
+
+
+ Gets the list of keys in the dictionary.
+
+ Collection of keys.
+
+
+
+ Gets or sets the list associated with the given key. The
+ access always succeeds, eventually returning an empty list.
+
+ The key of the list to access.
+ The list associated with the key.
+
+
+
+ Gets the number of lists in the dictionary.
+
+ Value indicating the values count.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ Defines a simple logger façade to be used by the Composite Application Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of that logs into a .
+
+
+
+
+ Initializes a new instance of that writes to
+ the console output.
+
+
+
+
+ Initializes a new instance of .
+
+ The writer to use for writing log entries.
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Disposes the associated .
+
+ When , disposes the associated .
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Implementation of that logs to .NET class.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Handles AppDomain's AssemblyResolve event to be able to load assemblies dynamically in
+ the LoadFrom context, but be able to reference the type from assemblies loaded in the Load context.
+
+
+
+
+ Interface for classes that are responsible for resolving and loading assembly files.
+
+
+
+
+ Load an assembly when it's required by the application.
+
+
+
+
+
+ Registers the specified assembly and resolves the types in it when the AppDomain requests for it.
+
+ The path to the assemly to load in the LoadFrom context.
+ This method does not load the assembly immediately, but lazily until someone requests a
+ declared in the assembly.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated .
+
+ When , it is being called from the Dispose method.
+
+
+
+ Defines a store for the module metadata.
+
+
+
+
+ Defines a store for the module metadata.
+
+
+
+
+ Gets the module configuration data.
+
+ A instance.
+
+
+
+ Gets the module configuration data.
+
+ A instance.
+
+
+
+ Loads modules from an arbitrary location on the filesystem. This typeloader is only called if
+ classes have a Ref parameter that starts with "file://".
+ This class is only used on the Desktop version of the Composite Application Library.
+
+
+
+
+ Defines the interface for moduleTypeLoaders
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+ This event is raised once per ModuleInfo instance requested in .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The assembly resolver.
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+ Returns true if the property starts with "file://", because this indicates that the file
+ is a local file.
+
+ Module that should have it's type loaded.
+
+ if the current typeloader is able to retrieve the module, otherwise .
+
+ An is thrown if is null.
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated .
+
+ When , it is being called from the Dispose method.
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Base class for exceptions that are thrown because of a problem with modules.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Sets the with information about the exception.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Gets or sets the name of the module that this exception refers to.
+
+ The name of the module.
+
+
+
+ Provides completion information after a module is loaded, or fails to load.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ Any error that occurred during the call.
+
+
+
+ Gets the module info.
+
+ The module info.
+
+
+
+ Gets any error that occurred
+
+ The exception if an error occurred; otherwise null.
+
+
+
+ Gets or sets a value indicating whether the error has been handled by the event subscriber.
+
+ trueif the error is handled; otherwise, false.
+
+ If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.
+
+
+
+
+ Provides progress information as a module downloads.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ The bytes received.
+ The total bytes to receive.
+
+
+
+ Getsthe module info.
+
+ The module info.
+
+
+
+ Gets the bytes received.
+
+ The bytes received.
+
+
+
+ Gets the total bytes to receive.
+
+ The total bytes to receive.
+
+
+
+ Defines the metadata that describes a module.
+
+
+
+
+ Marker interface that allows both s and s to be
+ added to the from code and XAML.
+
+
+
+
+ Initializes a new empty instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module 's AssemblyQualifiedName.
+ The modules this instance depends on.
+ An is thrown if is .
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module's type.
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets the module 's AssemblyQualifiedName.
+
+ The type of the module.
+
+
+
+ Gets or sets the list of modules that this module depends upon.
+
+ The list of modules that this module depends upon.
+
+
+
+ Specifies on which stage the Module will be initialized.
+
+
+
+
+ Reference to the location of the module assembly.
+ The following are examples of valid values:
+ http://myDomain/ClientBin/MyModules.xap for remote module in Silverlight
+ file://c:/MyProject/Modules/MyModule.dll for a loose DLL in WPF.
+
+
+
+
+
+ Gets or sets the state of the with regards to the module loading and initialization process.
+
+
+
+
+ Exception thrown when a requested is not found.
+
+
+ Exception thrown when a requested was not found.
+
+
+
+
+ Initializes a new instance of the class
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
+
+
+
+ Represents the exception that is thrown when there is a circular dependency
+ between modules during the module loading process.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class
+ with the specified error message and inner exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ Exception thrown when a module is declared twice in the same catalog.
+
+
+
+
+ Initializes a new instance of the class
+ with the serialization data.
+
+ Holds the serialized object data about the exception being thrown.
+ Contains contextual information about the source or destination.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The name of the module.
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Defines the contract for the modules deployed in the application.
+
+
+
+
+ Notifies the module that it has be initialized.
+
+
+
+
+ This is the expected catalog definition for the ModuleManager.
+ The ModuleCatalog holds information about the modules that can be used by the
+ application. Each module is described in a ModuleInfo class, that records the
+ name, type and location of the module.
+
+
+
+
+ Return the list of s that depends on.
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns the collection of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A collection of that contains both all s in
+ and also all the they depend on.
+
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Gets all the classes that are in the .
+
+
+
+
+ Declares a service which initializes the modules into the application.
+
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Defines the interface for the service that will retrieve and initialize the application's modules.
+
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The name for the module.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+ The name of the module will be the type name.
+
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+
+
+ Initializes an instance of the class.
+
+ Service used for initialization of modules.
+ Catalog that enumerates the modules to be loaded and initialized.
+ Logger used during the load and initialization of modules.
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Checks if the module needs to be retrieved before it's initialized.
+
+ Module that is being checked if needs retrieval.
+
+
+
+
+ Loads the modules that are not intialized and have their dependencies loaded.
+
+
+
+
+ Handles any exception ocurred in the module typeloading process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated s.
+
+ When , it is being called from the Dispose method.
+
+
+
+ The module catalog specified in the constructor.
+
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Returns the list of registered instances that will be
+ used to load the types of modules.
+
+ The module type loaders.
+
+
+
+ Indicates that the class should be considered a named module using the
+ provided module name.
+
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets a value indicating whether the module should be loaded at startup.
+
+ When (default value), it indicates that this module should be loaded at startup.
+ Otherwise you should explicitly load this module on demand.
+ A value.
+
+
+
+ Gets or sets the value indicating whether the module should be loaded OnDemand.
+
+ When (default value), it indicates the module should be loaded as soon as it's dependencies are satisfied.
+ Otherwise you should explicitily load this module via the .
+
+
+
+ The holds information about the modules that can be used by the
+ application. Each module is described in a class, that records the
+ name, type and location of the module.
+
+ It also verifies that the is internally valid. That means that
+ it does not have:
+
+ - Circular dependencies
+ - Missing dependencies
+ -
+ Invalid dependencies, such as a Module that's loaded at startup that depends on a module
+ that might need to be retrieved.
+
+
+ The also serves as a baseclass for more specialized Catalogs .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class while providing an
+ initial list of s.
+
+ The initial list of modules.
+
+
+
+ Creates a from XAML.
+
+ that contains the XAML declaration of the catalog.
+ An instance of built from the XAML.
+
+
+
+ Creates a from a XAML included as an Application Resource.
+
+ Relative that identifies the XAML included as an Application Resource.
+ An instance of build from the XAML.
+
+
+
+ Loads the catalog if necessary.
+
+
+
+
+ Return the list of s that depends on.
+
+
+ If the was not yet validated, this method will call .
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns a list of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A list of that contains both all s in
+ but also all the they depend on.
+
+
+
+
+ Validates the .
+
+ When validation of the fails.
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Reference to the location of the module to be added assembly.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+ When validation of the fails, because this method calls .
+
+
+
+ Creates and adds a to the catalog.
+
+ Stage on which the module group to be added will be initialized.
+ Reference to the location of the module group to be added.
+ Collection of included in the group.
+ with the added module group.
+
+
+
+ Checks for cyclic dependencies, by calling the dependencysolver.
+
+ the.
+
+
+
+
+ Ensures that all the dependencies within refer to s
+ within that list.
+
+ The modules to validate modules for.
+
+ Throws if a in depends on a module that's
+ not in .
+
+ Throws if is .
+
+
+
+ Does the actual work of loading the catalog. The base implementation does nothing.
+
+
+
+
+ Sorts a list of s. This method is called by
+ to return a sorted list.
+
+ The s to sort.
+ Sorted list of s
+
+
+
+ Makes sure all modules have an Unique name.
+
+
+ Thrown if the names of one or more modules are not unique.
+
+
+
+
+ Ensures that there are no cyclic dependencies.
+
+
+
+
+ Ensures that there are no dependencies between modules on different groups.
+
+
+ A groupless module can only depend on other groupless modules.
+ A module within a group can depend on other modules within the same group and/or on groupless modules.
+
+
+
+
+ Ensures that there are no modules marked to be loaded
+ depending on modules loaded
+
+
+
+
+ Returns the on which the received module dependens on.
+
+ Module whose dependant modules are requested.
+ Collection of dependants of .
+
+
+
+ Ensures that the catalog is validated.
+
+
+
+
+ Gets the items in the . This property is mainly used to add s or
+ s through XAML.
+
+ The items in the catalog.
+
+
+
+ Gets all the classes that are in the , regardless
+ if they are within a or not.
+
+ The modules.
+
+
+
+ Gets the s that have been added to the .
+
+ The groups.
+
+
+
+ Gets or sets a value that remembers whether the has been validated already.
+
+
+
+
+ Returns the list of s that are not contained within any .
+
+ The groupless modules.
+
+
+
+ A configuration element to declare module metadata.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The assembly file where the module is located.
+ The type of the module.
+ The name of the module.
+ This attribute specifies whether the module is loaded at startup.
+
+
+
+ Gets or sets the assembly file.
+
+ The assembly file.
+
+
+
+ Gets or sets the module type.
+
+ The module's type.
+
+
+
+ Gets or sets the module name.
+
+ The module's name.
+
+
+
+ Gets or sets a value indicating whether the module should be loaded at startup.
+
+ A value indicating whether the module should be loaded at startup.
+
+
+
+ Gets or sets the modules this module depends on.
+
+ The names of the modules that this depends on.
+
+
+
+ A collection of .
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new .
+
+ The initial set of .
+ An is thrown if is .
+
+
+
+ Adds a to the collection.
+
+ A instance.
+
+
+
+ Tests if the collection contains the configuration for the specified module name.
+
+ The name of the module to search the configuration for.
+ if a configuration for the module is present; otherwise .
+
+
+
+ Searches the collection for all the that match the specified predicate.
+
+ A that implements the match test.
+ A with the successful matches.
+ An is thrown if is null.
+
+
+
+ Creates a new .
+
+ A .
+
+
+
+ Gets the element key for a specified configuration element when overridden in a derived class.
+
+ The to return the key for.
+
+ An that acts as the key for the specified .
+
+
+
+
+ Gets a value indicating whether an exception should be raised if a duplicate element is found.
+ This property will always return true.
+
+ A value.
+
+
+
+ Gets the type of the .
+
+
+ The of this collection.
+
+
+
+
+ Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
+
+
+ The name of the collection; otherwise, an empty string.
+
+
+
+
+ Gets the located at the specified index in the collection.
+
+ The index of the element in the collection.
+ A .
+
+
+
+ Specifies that the current module has a dependency on another module. This attribute should be used on classes that implement .
+
+
+
+
+ Initializes a new instance of .
+
+ The name of the module that this module is dependant upon.
+
+
+
+ Gets the name of the module that this module is dependant upon.
+
+ The name of the module that this module is dependant upon.
+
+
+
+ A collection of .
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ An array of with initial list of dependencies.
+
+
+
+ Creates a new .
+
+ A .
+
+
+
+ Gets the element key for a specified configuration element when overridden in a derived class.
+
+ The to return the key for.
+
+ An that acts as the key for the specified .
+
+
+
+
+ Gets the type of the .
+
+
+ The of this collection.
+
+
+
+
+ Gets the name used to identify this collection of elements in the configuration file when overridden in a derived class.
+
+
+ The name of the collection; otherwise, an empty string.
+
+
+
+
+ Gets the located at the specified index in the collection.
+
+ The index of the element in the collection.
+ A .
+
+
+
+ A for module dependencies.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ A module name.
+
+
+
+ Gets or sets the name of a module antoher module depends on.
+
+ The name of a module antoher module depends on.
+
+
+
+ Used by to get the load sequence
+ for the modules to load according to their dependencies.
+
+
+
+
+ Adds a module to the solver.
+
+ The name that uniquely identifies the module.
+
+
+
+ Adds a module dependency between the modules specified by dependingModule and
+ dependentModule.
+
+ The name of the module with the dependency.
+ The name of the module dependingModule
+ depends on.
+
+
+
+ Calculates an ordered vector according to the defined dependencies.
+ Non-dependant modules appears at the beginning of the resulting array.
+
+ The resulting ordered list of modules.
+ This exception is thrown
+ when a cycle is found in the defined depedency graph.
+
+
+
+ Gets the number of modules added to the solver.
+
+ The number of modules.
+
+
+
+ Specifies on which stage the Module group will be initialized.
+
+
+
+
+ The module will be initialized when it is available on application start-up.
+
+
+
+
+ The module will be initialized when requested, and not automatically on application start-up.
+
+
+
+
+ Represents a group of instances that are usually deployed together. s
+ are also used by the to prevent common deployment problems such as having a module that's required
+ at startup that depends on modules that will only be downloaded on demand.
+
+ The group also forwards and values to the s that it
+ contains.
+
+
+
+
+ Adds an moduleInfo to the .
+
+ The to the .
+
+
+
+ Forwards and properties from this
+ to .
+
+ The module info to forward values to.
+ An is thrown if is .
+
+
+
+ Removes all s from the .
+
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than 0.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+
+ The to add to the .
+ Must be of type
+
+
+ The position into which the new element was inserted.
+
+
+
+
+ Determines whether the contains a specific value.
+
+
+ The to locate in the .
+ Must be of type
+
+
+ true if the is found in the ; otherwise, false.
+
+
+
+
+ Determines the index of a specific item in the .
+
+
+ The to locate in the .
+ Must be of type
+
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+
+ The to insert into the .
+ Must be of type
+
+
+ is not a valid index in the .
+
+
+ If is null.
+
+
+ If is not of type
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+
+ The to remove from the .
+ Must be of type
+
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+
+
+ The is read-only.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than zero.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+ The type of the source cannot be cast automatically to the type of the destination .
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+
+
+
+
+ Gets or sets the for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+
+ The initialization mode.
+
+
+
+ Gets or sets the value for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+ The ref value will also be used by the to determine which to use.
+ For example, if the ref property can be converted to an URL, it the XapModuleTypeLoader will be used
+ (Only available in the Silverlight version of CAL).
+ For example, using an "file://" prefix with a valid URL will cause the FileModuleTypeLoader to be used
+ (Only available in the desktop version of CAL).
+
+
+ The ref value that will be used.
+
+
+
+ Gets the number of elements contained in the .
+
+
+
+ The number of elements contained in the .
+
+
+
+
+ Gets a value indicating whether the is read-only.
+
+
+ false, because the is not Read-Only.
+
+
+
+
+ Gets a value indicating whether the has a fixed size.
+
+ false, because the does not have a fixed length.
+
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Gets a value indicating whether access to the is synchronized (thread safe).
+
+
+ true if access to the is synchronized (thread safe); otherwise, false.
+
+
+
+
+ Gets an object that can be used to synchronize access to the .
+
+
+
+ An object that can be used to synchronize access to the .
+
+
+
+
+ Gets or sets the at the specified index.
+
+ The at the specified index
+
+
+
+ Implements the interface. Handles loading of a module based on a type.
+
+
+
+
+ Initializes a new instance of .
+
+ The container that will be used to resolve the modules by specifying its type.
+ The logger to use.
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Handles any exception ocurred in the module Initialization process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The assembly name.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The module to create.
+ A new instance of the module specified by .
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The type name to resolve. This type must implement .
+ A new instance of .
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to retrieve.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance with a specified error message
+ and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ A for module configuration.
+
+
+
+
+ Gets or sets the collection of modules configuration.
+
+ A of .
+
+
+
+ Defines the states a can be in, with regards to the module loading and initialization process.
+
+
+
+
+ Initial state for s. The is defined,
+ but it has not been loaded, retrieved or initialized yet.
+
+
+
+
+ The assembly that contains the type of the module is currently being loaded by an instance of a
+ .
+
+
+
+
+ The assembly that holds the Module is present. This means the type of the can be instantiated and initialized.
+
+
+
+
+ The module is currently Initializing, by the
+
+
+
+
+ The module is initialized and ready to be used.
+
+
+
+
+ Class that wraps an object, so that other classes can notify for Change events. Typically, this class is set as
+ a Dependency Property on DependencyObjects, and allows other classes to observe any changes in the Value.
+
+
+ This class is required, because in Silverlight, it's not possible to receive Change notifications for Dependency properties that you do not own.
+
+ The type of the property that's wrapped in the Observable object
+
+
+
+ Identifies the Value property of the ObservableObject
+
+
+
+
+ Event that gets invoked when the Value property changes.
+
+
+
+
+ The value that's wrapped inside the ObservableObject.
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to The object must be of type '{0}' in order to use the current region adapter..
+
+
+
+
+ Looks up a localized string similar to Cannot change the region name once is set. The current region name is '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot create navigation target '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to Type '{0}' does not implement from IRegionBehavior..
+
+
+
+
+ Looks up a localized string similar to The ConfigurationStore cannot contain a null value. .
+
+
+
+
+ Looks up a localized string similar to ContentControl's Content property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's Content property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to At least one cyclic dependency has been found in the module catalog. Cycles in the module dependencies must be avoided..
+
+
+
+
+ Looks up a localized string similar to Deactivation is not possible in this type of region..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to Cannot add dependency for unknown module {0}.
+
+
+
+
+ Looks up a localized string similar to A module declared a dependency on another module which is not declared to be loaded. Missing module(s): {0}.
+
+
+
+
+ Looks up a localized string similar to Directory {0} was not found..
+
+
+
+
+ Looks up a localized string similar to A duplicated module with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to A duplicated module group with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to Unable to retrieve the module type {0} from the loaded assemblies. You may need to specify a more fully-qualified type name..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {2}
+ - The Assembly that the module was trying to be loaded from was:{1}
+ Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.
+ .
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {1}
+ Check the InnerException property of the exception for more information. If the exception occurred
+ while creating an object in a DI container, you can exception.GetRootException() to help locate the
+ root cause of the problem. .
+
+
+
+
+ Looks up a localized string similar to Failed to load type for module {0}.
+
+ If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies.
+
+ Error was: {1}..
+
+
+
+
+ Looks up a localized string similar to HostControl cannot have null value when behavior attaches. .
+
+
+
+
+ Looks up a localized string similar to The HostControl property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to HostControl type must be a TabControl..
+
+
+
+
+ Looks up a localized string similar to The IModuleEnumerator interface is no longer used and has been replaced by ModuleCatalog..
+
+
+
+
+ Looks up a localized string similar to The argument must be a valid absolute Uri to an assembly file..
+
+
+
+
+ Looks up a localized string similar to The Target of the IDelegateReference should be of type {0}..
+
+
+
+
+ Looks up a localized string similar to ItemsControl's ItemsSource property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's ItemSource property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to Mapping with the given type is already registered: {0}..
+
+
+
+
+ Looks up a localized string similar to Module {0} depends on other modules that don't belong to the same group..
+
+
+
+
+ Looks up a localized string similar to Module {0} was not found in the catalog..
+
+
+
+
+ Looks up a localized string similar to The ModulePath cannot contain a null value or be empty.
+
+
+
+
+ Looks up a localized string similar to Failed to load type '{0}' from assembly '{1}'..
+
+
+
+
+ Looks up a localized string similar to Navigation is already in progress on region with name '{0}'..
+
+
+
+
+ Looks up a localized string similar to Navigation cannot proceed until a region is set for the RegionNavigationService..
+
+
+
+
+ Looks up a localized string similar to The IRegionAdapter for the type {0} is not registered in the region adapter mappings. You can register an IRegionAdapter for this control by overriding the ConfigureRegionAdapterMappings method in the bootstrapper..
+
+
+
+
+ Looks up a localized string similar to There is currently no moduleTypeLoader in the ModuleManager that can retrieve the specified module..
+
+
+
+
+ Looks up a localized string similar to An exception has occurred while trying to add a view to region '{0}'.
+ - The most likely causing exception was was: '{1}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
+ Looks up a localized string similar to The Attach method cannot be called when Region property is null..
+
+
+
+
+ Looks up a localized string similar to The Region property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while creating a region with name '{0}'. The exception was: {1}. .
+
+
+
+
+ Looks up a localized string similar to The region being added already has a name of '{0}' and cannot be added to the region manager with a different name ('{1}')..
+
+
+
+
+ Looks up a localized string similar to The region name cannot be null or empty..
+
+
+
+
+ Looks up a localized string similar to Region with the given name is already registered: {0}.
+
+
+
+
+ Looks up a localized string similar to This RegionManager does not contain a Region with the name '{0}'..
+
+
+
+
+ Looks up a localized string similar to The region manager does not contain the {0} region..
+
+
+
+
+ Looks up a localized string similar to View already exists in region..
+
+
+
+
+ Looks up a localized string similar to View with name '{0}' already exists in the region..
+
+
+
+
+ Looks up a localized string similar to Module {0} is marked for automatic initialization when the application starts, but it depends on modules that are marked as OnDemand initialization. To fix this error, mark the dependency modules for InitializationMode=WhenAvailable, or remove this validation by extending the ModuleCatalog class..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to No BehaviorType with key '{0}' was registered..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while trying to create region objects.
+ - The most likely causing exception was: '{0}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The value must be of type ModuleInfo..
+
+
+
+
+ Looks up a localized string similar to {0} not found..
+
+
+
+
+ Looks up a localized string similar to The region does not contain the specified view..
+
+
+
+
+ Region that keeps all the views in it as active. Deactivation of views is not allowed.
+
+
+
+
+ Implementation of that allows multiple active views.
+
+
+
+
+ Defines a model that can be used to compose views.
+
+
+
+
+ Provides methods to perform navigation.
+
+
+ Convenience overloads for the methods in this interface can be found as extension methods on the
+ class.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+ Convenience overloads for this method can be found as extension methods on the
+ class.
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets the navigation service.
+
+ The navigation service.
+
+
+
+ Initializes a new instance of .
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ The default sort algorithm.
+
+ The first view to compare.
+ The second view to compare.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the navigation service.
+
+ The navigation service.
+
+
+
+ Gets the collection with all the views along with their metadata.
+
+ An of with all the added views.
+
+
+
+ Deactive is not valid in this Region. This method will always throw .
+
+ The view to deactivate.
+ Every time this method is called.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region. These are all the added views.
+
+ An of all the active views.
+
+
+
+ Populates the target region with the views registered to it in the .
+
+
+
+
+ Provides a base class for region's behaviors.
+
+
+
+
+ Interface for allowing extensible behavior on regions.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ The region that this behavior is extending.
+
+
+
+
+ Attaches the behavior to the region.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Returns if the behavior is attached to a region, otherwise.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Creates a new instance of the AutoPopulateRegionBehavior
+ associated with the received.
+
+ that the behavior will monitor for views to populate the region.
+
+
+
+ Attaches the AutoPopulateRegionBehavior to the Region.
+
+
+
+
+ Returns a collection of views that will be added to the
+ View collection.
+
+
+
+
+
+ Adds a view into the views collection of this region.
+
+
+
+
+
+ Handler of the event that fires when a new viewtype is registered to the registry.
+
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+
+
+
+
+ Defines a behavior that forwards the
+ to the views in the region.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Behavior that removes the RegionManager attached property of all the views in a region once the RegionManager property of a region becomes null.
+ This is useful when removing views with nested regions, to ensure these nested regions get removed from the RegionManager as well.
+
+ This behavior does not apply by default.
+ In order to activate it, the ClearChildViews attached property must be set to True in the view containing the affected child regions.
+
+
+
+
+
+ The behavior key.
+
+
+
+
+ This attached property can be defined on a view to indicate that regions defined in it must be removed from the region manager when the parent view gets removed from a region.
+
+
+
+
+ Gets the ClearChildViews attached property from a DependencyObject.
+
+ The object from which to get the value.
+ The value of the ClearChildViews attached property in the target specified.
+
+
+
+ Sets the ClearChildViews attached property in a DependencyObject.
+
+ The object in which to set the value.
+ The value of to set in the target object's ClearChildViews attached property.
+
+
+
+ Subscribes to the 's PropertyChanged method to monitor its RegionManager property.
+
+
+
+
+ Behavior that creates a new , when the control that will host the (see )
+ is added to the VisualTree. This behavior will use the class to find the right type of adapter to create
+ the region. After the region is created, this behavior will detach.
+
+
+ Attached property value inheritance is not available in Silverlight, so the current approach walks up the visual tree when requesting a region from a region manager.
+ The is now responsible for walking up the Tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The region adapter mappings, that are used to find the correct adapter for
+ a given controltype. The controltype is determined by the value.
+
+
+
+
+ Start monitoring the and the to detect when the becomes
+ part of the Visual Tree. When that happens, the Region will be created and the behavior will .
+
+
+
+
+ Stop monitoring the and the , so that this behavior can be garbage collected.
+
+
+
+
+ Called when the is updating it's collection.
+
+
+ This method has to be public, because it has to be callable using weak references in silverlight and other partial trust environments.
+
+ The .
+ The instance containing the event data.
+
+
+
+ Method that will create the region, by calling the right .
+
+ The target element that will host the .
+ Name of the region.
+ The created
+
+
+
+ Sets a class that interfaces between the 's static properties/events and this behavior,
+ so this behavior can be tested in isolation.
+
+ The region manager accessor.
+
+
+
+ The element that will host the Region.
+
+ The target element.
+
+
+
+ Defines a that not allows extensible behaviors on regions which also interact
+ with the target element that the is attached to.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Behavior that monitors a object and
+ changes the value for the property when
+ an object that implements gets added or removed
+ from the collection.
+
+
+ This class can also sync the active state for any scoped regions directly on the view based on the .
+ If you use the method with the createRegionManagerScope option, the scoped manager will be attached to the view.
+
+
+
+
+ Name that identifies the behavior in a collection of .
+
+
+
+
+ Attaches the behavior to the specified region
+
+
+
+
+ Detaches the behavior from the .
+
+
+
+
+ The region that this behavior is extending
+
+
+
+
+ Represents errors that occured during region creation.
+
+
+
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ The RegionMemberLifetimeBehavior determines if items should be removed from the
+ when they are deactivated.
+
+
+ The monitors the
+ collection to discover items that transition into a deactivated state.
+
+ The behavior checks the removed items for either the
+ or the (in that order) to determine if it should be kept
+ alive on removal.
+
+ If the item in the collection is a , it will
+ also check it's DataContext for or the .
+
+ The order of checks are:
+
+ - Region Item's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's DataContext's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's RegionMemberLifetimeAttribute.KeepAlive value.
+ - Region Item's DataContext's RegionMemberLifetimeAttribute.KeepAlive value.
+
+
+
+
+
+ The key for this behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Subscribes to a static event from the in order to register the target
+ in a when one is available on the host control by walking up the tree and finding
+ a control whose property is not .
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ When the has a name assigned, the behavior will start monitoring the ancestor controls in the element tree
+ to look for an where to register the region in.
+
+
+
+
+ This event handler gets called when a RegionManager is requering the instances of a region to be registered if they are not already.
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+ The sender.
+ The arguments.
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+ When this member is set after the method has being called.
+
+
+
+ Defines the attached behavior that keeps the items of the host control in synchronization with the .
+
+ This behavior also makes sure that, if you activate a view in a region, the SelectedItem is set. If you set the SelectedItem or SelectedItems (ListBox)
+ then this behavior will also call Activate on the selected items.
+
+ When calling Activate on a view, you can only select a single active view at a time. By setting the SelectedItems property of a listbox, you can set
+ multiple views to active.
+
+
+
+
+
+ Name that identifies the SelectorItemsSourceSyncBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Starts to monitor the to keep it in synch with the items of the .
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+
+ For this behavior, the host control must always be a or an inherited class.
+
+
+
+ Behavior that synchronizes the property of a with
+ the control that hosts the Region. It does this by setting the
+ Dependency Property on the host control.
+
+ This behavior allows the usage of two way databinding of the RegionContext from XAML.
+
+
+
+
+ Name that identifies the SyncRegionContextWithHostBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+
+ Adapter that creates a new and monitors its
+ active view to set it on the adapted .
+
+
+
+
+ Base class to facilitate the creation of implementations.
+
+ Type of object to adapt.
+
+
+
+ Defines an interfaces to adapt an object and bind it to a new .
+
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+ This methods performs validation to check that
+ is of type .
+ When is .
+ When is not of type .
+
+
+
+ This method adds the default behaviors by using the object.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to adapt the object to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Template method to create a new instance of
+ that will be used to adapt the object.
+
+ A new instance of .
+
+
+
+ Gets or sets the factory used to create the region behaviors to attach to the created regions.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Provides a way for objects involved in navigation to be notified of navigation activities.
+
+
+
+
+ Called when the implementer has been navigated to.
+
+ The navigation context.
+
+
+
+ Called to determine if this instance can handle the navigation request.
+
+ The navigation context.
+
+ if this instance accepts the navigation request; otherwise, .
+
+
+
+
+ Called when the implementer is being navigated away from.
+
+ The navigation context.
+
+
+
+ When implemented, allows an instance placed in a
+ that uses a to indicate
+ it should be removed when it transitions from an activated to deactived state.
+
+
+
+
+ Gets a value indicating whether this instance should be kept-alive upon deactivation.
+
+
+
+
+ Identifies the view in a region that is the target of a navigation request.
+
+
+
+
+ Gets the content to which the navigation request represented by applies.
+
+
+ If none of the items in the region match the target of the navigation request, a new item
+ will be created and added to the region.
+
+ The region.
+ The context representing the navigation request.
+ The item to be the target of the navigation request.
+ when a new item cannot be created for the navigation request.
+
+
+
+ Interface for RegionBehaviorFactories. This factory allows the registration of the default set of RegionBehaviors, that will
+ be added to the s of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. the string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add. .
+
+
+
+ Determines whether a behavior with the specified key already exists
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Creates an instance of the Behaviortype that's registered using the specified key.
+
+ The key that's used to register a behavior type.
+ The created behavior.
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+
+ true if the journal can go back; otherwise, false.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets or sets the target that implements INavigateAsync.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Gets or sets the region owning this service.
+
+ A Region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines a class that wraps an item and adds metadata for it.
+
+
+
+
+ The name of the wrapped item.
+
+
+
+
+ Value indicating whether the wrapped item is considered active.
+
+
+
+
+ Initializes a new instance of .
+
+ The item to wrap.
+
+
+
+ Explicitly invokes to notify listeners.
+
+
+
+
+ Gets the wrapped item.
+
+ The wrapped item.
+
+
+
+ Gets or sets a name for the wrapped item.
+
+ The name of the wrapped item.
+
+
+
+ Gets or sets a value indicating whether the wrapped item is considered active.
+
+ if the item should be considered active; otherwise .
+
+
+
+ Occurs when metadata on the item changes.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Provides a way for objects involved in navigation to determine if a navigation request should continue.
+
+
+
+
+ Determines whether this instance accepts being navigated away from.
+
+ The navigation context.
+ The callback to indicate when navigation can proceed.
+
+ Implementors of this method do not need to invoke the callback before this method is completed,
+ but they must ensure the callback is eventually invoked.
+
+
+
+
+ Provides additional methods to the interface.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ When is applied to class provides data
+ the can use to determine if the instance should
+ be removed when it is deactivated.
+
+
+
+
+ Instantiates an instance of
+
+
+
+
+ Determines if the region member should be kept-alive
+ when deactivated.
+
+
+
+
+ Implementation of that relies on a
+ to create new views when necessary.
+
+
+
+
+ Initializes a new instance of the class with a service locator.
+
+ The service locator.
+
+
+
+ Gets the view to which the navigation request represented by applies.
+
+ The region.
+ The context representing the navigation request.
+
+ The view to be the target of the navigation request.
+
+
+ If none of the views in the region can be the target of the navigation request, a new view
+ is created and added to the region.
+
+ when a new view cannot be created for the navigation request.
+
+
+
+ Provides a new item for the region based on the supplied candidate target contract name.
+
+ The target contract to build.
+ An instance of an item to put into the .
+
+
+
+ Returns the candidate TargetContract based on the .
+
+ The navigation contract.
+ The candidate contract to seek within the and to use, if not found, when resolving from the container.
+
+
+
+ Returns the set of candidates that may satisfiy this navigation request.
+
+ The region containing items that may satisfy the navigation request.
+ The candidate navigation target as determined by
+ An enumerable of candidate objects from the
+
+
+
+ Encapsulates information about a navigation request.
+
+
+
+
+ Initializes a new instance of the class for a region name and a
+ .
+
+ The navigation service.
+ The Uri.
+
+
+
+ Gets the region navigation service.
+
+ The navigation service.
+
+
+
+ Gets the navigation URI.
+
+ The navigation URI.
+
+
+
+ Gets the extracted from the URI.
+
+ The URI query.
+
+
+
+ Represents the result of navigating to a URI.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The result.
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The error.
+
+
+
+ Gets the result.
+
+ The result.
+
+
+
+ Gets an exception that occurred while navigating.
+
+ The exception.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ This class maps with .
+
+
+
+
+ Registers the mapping between a type and an adapter.
+
+ The type of the control.
+ The adapter to use with the type.
+ When any of or are .
+ If a mapping for already exists.
+
+
+
+ Returns the adapter associated with the type provided.
+
+ The type to obtain the mapped.
+ The mapped to the .
+ This class will look for a registered type for and if there is not any,
+ it will look for a registered type for any of its ancestors in the class hierarchy.
+ If there is no registered type for or any of its ancestors,
+ an exception will be thrown.
+ When there is no registered type for or any of its ancestors.
+
+
+
+ A collection of instances, that are stored and retrieved by Key.
+
+
+
+
+ Defines the interface for a collection of classes on a Region.
+
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+
+ The key that specifies the type of that's added.
+
+ The to add.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Gets the with the specified key.
+
+ The registered
+
+
+
+ Initializes a new instance of the class and associates it with a region.
+
+ The region to associate the behavior collection with.
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+ The key that specifies the type of that's added.
+ The to add.
+
+ Thrown is the parameter is Null,
+ or if the parameter is Null.
+
+ Thrown if a behavior with the specified Key parameter already exists.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+ The RegionBehavior that's registered with the key.
+
+
+
+ Defines a factory that allows the registration of the default set of , that will
+ be added to the of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Initializes a new instance of .
+
+ used to create the instance of the behavior from its .
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. The string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add.
+
+
+
+ Creates an instance of the behavior that is registered using the specified key.
+
+ The key that is used to register a behavior type.
+ A new instance of the behavior.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+ 1
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+ 2
+
+
+
+ Determines whether a behavior with the specified key already exists.
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Class that holds methods to Set and Get the RegionContext from a DependencyObject.
+
+ RegionContext allows sharing of contextual information between the view that's hosting a
+ and any views that are inside the Region.
+
+
+
+
+ Returns an wrapper around the RegionContext value. The RegionContext
+ will be set on any views (dependency objects) that are inside the collection by
+ the Behavior.
+ The RegionContext will also be set to the control that hosts the Region, by the Behavior.
+
+ If the wrapper does not already exist, an empty one will be created. This way, an observer can
+ notify when the value is set for the first time.
+
+ Any view that hold the RegionContext value.
+ Wrapper around the Regioncontext value.
+
+
+
+ This class is responsible for maintaining a collection of regions and attaching regions to controls.
+
+
+ This class supplies the attached properties that can be used for simple region creation from XAML.
+
+
+
+
+ Defines an interface to manage a set of regions and to attach regions to objects (typically controls).
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+
+
+
+ Identifies the RegionName attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Sets the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region to register.
+
+
+
+ Gets the value for the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ is also set in this element.
+
+
+
+ Returns an wrapper that can hold an . Using this wrapper
+ you can detect when an has been created by the .
+
+ If the wrapper does not yet exist, a new wrapper will be created. When the region
+ gets created and assigned to the wrapper, you can use the event
+ to get notified of that change.
+
+ The view that will host the region.
+ Wrapper that can hold an value and can notify when the value changes.
+
+
+
+ Identifies the RegionManager attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Identifies the RegionContext attached property.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The region context to pass to the contained views.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Notifies attached behaviors to update the region managers appropriatelly if needed to.
+
+
+ This method is normally called internally, and there is usually no need to call this from user code.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+ A with all the registered regions.
+
+
+
+ Defines a collection of uniquely identified by their Name.
+
+
+
+
+ Adds a to the collection.
+
+ Region to be added to the collection.
+
+
+
+ Removes a from the collection.
+
+ Name of the region to be removed.
+ if the region was removed from the collection, otherwise .
+
+
+
+ Checks if the collection contains a with the name received as parameter.
+
+ The name of the region to look for.
+ if the region is contained in the collection, otherwise .
+
+
+
+ Gets the IRegion with the name received as index.
+
+ Name of the region to be retrieved.
+ The identified with the requested name.
+
+
+
+ EventArgs used with the Navigated event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ EventArgs used with the NavigationFailed event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+ The error.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the error.
+
+ The , or if the failure was not caused by an exception.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets or sets the target that implements INavigate.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+ true if the journal can go back; otherwise, false.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Defines a registry for the content of the regions used on View Discovery composition.
+
+
+
+
+ Defines the interface for the registry of region's content.
+
+
+
+
+ Returns the contents associated with a region name.
+
+ Region name for which contents are requested.
+ Collection of contents associated with the .
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Event triggered when a content is registered to a region name.
+
+
+ This event uses weak references to the event handler to prevent this service (typically a singleton) of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+
+ Creates a new instance of the class.
+
+ used to create the instance of the views from its .
+
+
+
+ Returns the contents registered for a region.
+
+ Name of the region which content is being requested.
+ Collection of contents registered for the region.
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Creates an instance of a registered view .
+
+ Type of the registered view.
+ Instance of the registered view.
+
+
+
+ Occurs whenever a new view is registered.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+ It also keeps the and the selected items
+ of the in sync.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also listens for changes in the
+ activity of the region or the control selection and keeps the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Region that allows a maximum of one active view at a time.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+ If there is an active view before calling this method,
+ that view will be deactivated automatically.
+
+
+
+ Defines that a view is synchronized with its parent view's Active state.
+
+
+
+
+ Represents errors that occured during the regions' update.
+
+
+ Represents errors that occured during the regions' update.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Argument class used by the event when a new content is registered.
+
+
+
+
+ Initializes the ViewRegisteredEventArgs class.
+
+ The region name to which the content was registered.
+ The content which was registered.
+
+
+
+ Gets the region name to which the content was registered.
+
+
+
+
+ Gets the content which was registered.
+
+
+
+
+ Defines a view of a collection.
+
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Class that creates a fluent interface for the class, with respect to
+ adding views to regions (View Injection pattern), registering view types to regions (View Discovery pattern)
+
+
+
+
+ Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to add a view to
+ The view to add to the views collection
+ The RegionManager, to easily add several views.
+
+
+
+ Associate a view with a region, by registering a type. When the region get's displayed
+ this type will be resolved using the ServiceLocator into a concrete instance. The instance
+ will be added to the Views collection of the region
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The type of the view to register with the
+ The regionmanager, for adding several views easily
+
+
+
+ Associate a view with a region, using a delegate to resolve a concreate instance of the view.
+ When the region get's displayed, this delelgate will be called and the result will be added to the
+ views collection of the region.
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The delegate used to resolve a concreate instance of the view.
+ The regionmanager, for adding several views easily
+
+
+
+ Adds a region to the regionmanager with the name received as argument.
+
+ The regionmanager's collection of regions.
+ The name to be given to the region.
+ The region to be added to the regionmanager.
+ Thrown if or is .
+ Thrown if and 's name do not match and the is not .
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with serialized data.
+
+ The that holds the serialized
+ object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Implementation of that takes an of
+ and filters it to display an collection of
+ elements (the items which the wraps).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The list to wrap and filter.
+ A predicate to filter the collection.
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Used to invoked the event.
+
+
+
+
+
+ Removes all monitoring of underlying MetadataItems and re-adds them.
+
+
+
+
+ Adds all underlying MetadataItems to the list from the subjectCollection
+
+
+
+
+ Removes all monitored items from our monitoring list.
+
+
+
+
+ Adds handler to monitor the MetadatItem and adds it to our monitoring list.
+
+
+
+
+
+
+ Unhooks from the MetadataItem change event and removes from our monitoring list.
+
+
+
+
+
+ Invoked when any of the underlying ItemMetadata items we're monitoring changes.
+
+
+
+
+
+
+ The event handler due to changes in the underlying collection.
+
+
+
+
+
+
+ Occurs when the collection changes.
+
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Provides a hint from a view to a region on how to sort the view.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The hint to use for sorting.
+
+
+
+ Gets the hint.
+
+ The hint to use for sorting.
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Locator to use in resolving.
+ Type to resolve.
+ T or null
+ Thrown when is .
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Type to resolve.
+ Locator to use in resolving.
+ T or null
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Helper class for parsing instances.
+
+
+
+
+ Gets the query part of .
+
+ The Uri.
+
+
+
+ Gets the AbsolutePath part of .
+
+ The Uri.
+
+
+
+ Parses the query of into a dictionary.
+
+ The URI.
+
+
+
+ Represents a query in a Uri.
+
+
+ This class can be used to parse a query string to access
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a query string.
+
+ The query string.
+
+
+
+ Gets the enumerator.
+
+
+
+
+
+ Adds the specified key and value.
+
+ The name.
+ The value.
+
+
+
+ Returns a that represents this instance as a query string.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets the with the specified key.
+
+ The value for the specified key, or if the query does not contain such a key.
+
+
+
+ Base class for items that support property notification.
+
+
+ This class provides basic support for implementing the interface and for
+ marshalling execution to the UI thread.
+
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The property that has a new value.
+
+
+
+ Raises this object's PropertyChanged event for each of the properties.
+
+ The properties that have a new value.
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Raised when a property on this object has a new value.
+
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Class that provides extension methods to Collection
+
+
+
+
+ Add a range of items to a collection.
+
+ Type of objects within the collection.
+ The collection to add items to.
+ The items to add to the collection.
+ The collection.
+ An is thrown if or is .
+
+
+
+ Class that provides extension methods for the Exception class. These extension methods provide
+ a mechanism for developers to get more easily to the root cause of an exception, especially in combination with
+ DI-containers such as Unity.
+
+
+
+
+ Register the type of an Exception that is thrown by the framework. The method uses
+ this list of Exception types to find out if something has gone wrong.
+
+ The type of exception to register.
+
+
+
+ Determines whether the exception type is already registered using the
+ method
+
+ The type of framework exception to find.
+
+ true if the exception type is already registered; otherwise, false.
+
+
+
+
+ Looks at all the inner exceptions of the parameter to find the
+ most likely root cause of the exception. This works by skipping all registered exception types.
+
+
+ This method is not 100% accurate and should only be used to point a developer into the most likely direction.
+ It should not be used to replace the Inner Exception stack of an exception, because this might hide required exception
+ information.
+
+ The exception that will provide the list of inner exeptions to examine.
+
+ The exception that most likely caused the exception to occur. If it can't find the root exception, it will return the
+ value itself.
+
+
+
+
+ A catalog built from a configuration file.
+
+
+
+
+ Builds an instance of ConfigurationModuleCatalog with a as the default store.
+
+
+
+
+ Loads the catalog from the configuration.
+
+
+
+
+ Gets or sets the store where the configuration is kept.
+
+
+
+
+ Represets a catalog created from a directory on disk.
+
+
+ The directory catalog will scan the contents of a directory, locating classes that implement
+ and add them to the catalog based on contents in their associated .
+ Assemblies are loaded into a new application domain with ReflectionOnlyLoad. The application domain is destroyed
+ once the assemblies have been discovered.
+
+ The diretory catalog does not continue to monitor the directory after it has created the initialze catalog.
+
+
+
+
+ Drives the main logic of building the child domain and searching for the assemblies.
+
+
+
+
+ Creates a new child domain and copies the evidence from a parent domain.
+
+ The parent domain.
+ The new child domain.
+
+ Grabs the evidence and uses it to construct the new
+ because in a ClickOnce execution environment, creating an
+ will by default pick up the partial trust environment of
+ the AppLaunch.exe, which was the root executable. The AppLaunch.exe does a
+ create domain and applies the evidence from the ClickOnce manifests to
+ create the domain that the application is actually executing in. This will
+ need to be Full Trust for Composite Application Library applications.
+
+ An is thrown if is null.
+
+
+
+ Directory containing modules to search for.
+
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to load.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception
+ that happened.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Exception that's thrown when there is no registered in
+ that can handle this particular type of module.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes a new instance with serialized data.
+
+ The that holds the serialized object data about the exception being thrown.
+ The that contains contextual information about the source or destination.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+ The navigation target handler.
+ The journal.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ Gets or sets the region.
+
+ The region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.Interactivity.xml b/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.Interactivity.xml
new file mode 100644
index 0000000..1a6e8a0
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.Interactivity.xml
@@ -0,0 +1,232 @@
+
+
+
+ Microsoft.Practices.Prism.Interactivity
+
+
+
+
+ Represents an interaction request used for confirmations.
+
+
+
+
+ Represents an interaction request used for notifications.
+
+
+
+
+ Gets or sets the title to use for the notification.
+
+
+
+
+ Gets or sets the content of the notification.
+
+
+
+
+ Gets or sets a value indicating that the confirmation is confirmed.
+
+
+
+
+ Represents a request from user interaction.
+
+
+ View models can expose interaction request objects through properties and raise them when user interaction
+ is required so views associated with the view models can materialize the user interaction using an appropriate
+ mechanism.
+
+
+
+
+ Fired when the interaction is needed.
+
+
+
+
+ Implementation of the interface.
+
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+ The callback to execute when the interaction is completed.
+
+
+
+ Fired when interaction is needed.
+
+
+
+
+ Event args for the event.
+
+
+
+
+ Constructs a new instance of
+
+
+
+
+
+
+ Gets the context for a requested interaction.
+
+
+
+
+ Gets the callback to execute when an interaction is completed.
+
+
+
+
+ Custom event trigger for using with objects.
+
+
+ The standard class can be used instead, as long as the 'Raised' event
+ name is specified.
+
+
+
+
+ Specifies the name of the Event this EventTriggerBase is listening for.
+
+ This implementation always returns the Raised event name for ease of connection with .
+
+
+
+ A basic confirmation child window that can host content and provides OK and Cancel buttons.
+
+
+
+
+ The content template to use when showing data.
+
+
+
+
+ Creates a new instance of ConfirmationChildWindow.
+
+
+
+
+ InitializeComponent
+
+
+
+
+ The content template to use when showing data.
+
+
+
+
+ The notification to use when displaying messages.
+
+
+
+
+ The to apply when displaying data.
+
+
+
+
+ Creates a new instance of
+
+
+
+
+ InitializeComponent
+
+
+
+
+ The to apply when displaying data.
+
+
+
+
+ Concrete class that pops up a specified child window or a default child window configured with a data template.
+
+
+
+
+ Base class for trigger actions that handle an interaction request by popping up a child window.
+
+
+
+
+ Displays the child window and collects results for .
+
+ The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.
+
+
+
+ Returns the child window to display as part of the trigger action.
+
+ The notification to display in the child window.
+
+
+
+
+ The child window to display as part of the popup.
+
+
+
+
+ The to apply to the popup content.
+
+
+
+
+ Returns the child window to display as part of the trigger action.
+
+ The notification to display in the child window.
+
+
+
+
+ Gets or sets the child window to pop up.
+
+
+ If not specified, a default child window is used instead.
+
+
+
+
+ Gets or sets the content template for a default child window.
+
+
+
+
+ Custom behavior that updates the source of a binding on a text box as the text changes.
+
+
+
+
+ Called after the behavior is attached to an AssociatedObject.
+
+
+ Override this to hook up functionality to the AssociatedObject.
+
+
+
+
+ Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
+
+
+ Override this to unhook functionality from the AssociatedObject.
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.xml b/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.xml
new file mode 100644
index 0000000..dc2a295
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/SL4/Microsoft.Practices.Prism.xml
@@ -0,0 +1,5528 @@
+
+
+
+ Microsoft.Practices.Prism
+
+
+
+
+ Base class that provides a basic bootstrapping sequence and hooks
+ that specific implementations can override
+
+
+ This class must be overriden to provide application specific configuration.
+
+
+
+
+ Create the used by the bootstrapper.
+
+
+ The base implementation returns a new TextLogger.
+
+
+
+
+ Runs the bootstrapper process.
+
+
+
+
+ Creates the used by Prism.
+
+
+ The base implementation returns a new ModuleCatalog.
+
+
+
+
+ Configures the used by Prism.
+
+
+
+
+ Registers the s of the Exceptions that are not considered
+ root exceptions by the .
+
+
+
+
+ Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
+
+
+
+
+ Configures the default region adapter mappings to use in the application, in order
+ to adapt UI controls defined in XAML to use a region and register it automatically.
+ May be overwritten in a derived class to add specific mappings required by the application.
+
+ The instance containing all the mappings.
+
+
+
+ Configures the .
+ This will be the list of default behaviors that will be added to a region.
+
+
+
+
+ Initializes the shell.
+
+
+
+
+ Run the bootstrapper process.
+
+ If , registers default
+ Composite Application Library services in the container. This is the default behavior.
+
+
+
+ Creates the shell or main window of the application.
+
+ The shell of the application.
+
+ If the returned instance is a , the
+ will attach the default of
+ the application in its attached property
+ in order to be able to add regions by using the
+ attached property from XAML.
+
+
+
+
+ Configures the LocatorProvider for the .
+
+
+
+
+ Gets the for the application.
+
+ A instance.
+
+
+
+ Gets the default for the application.
+
+ The default instance.
+
+
+
+ Gets the shell user interface
+
+ The shell user interface.
+
+
+
+ Class that provides extension methods to Collection
+
+
+
+
+ Add a range of items to a collection.
+
+ Type of objects within the collection.
+ The collection to add items to.
+ The items to add to the collection.
+ The collection.
+ An is thrown if or is .
+
+
+
+ Behavior that allows controls that derrive from to hook up with objects.
+
+
+ This Behavior is required in Silverlight, because Silverlight does not have Commanding support.
+
+
+
+
+ Base behavior to handle connecting a to a Command.
+
+ The target object must derive from Control
+
+ CommandBehaviorBase can be used to provide new behaviors similar to .
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Updates the target object's IsEnabled property based on the commands ability to execute.
+
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
+ Corresponding command to be execute and monitored for
+
+
+
+
+ The parameter to supply the command during execution
+
+
+
+
+ Object to which this behavior is attached.
+
+
+
+
+ Initializes a new instance of the class and hooks up the Click event of
+ to the ExecuteCommand() method.
+
+ The clickable object.
+
+
+
+ Static Class that holds all Dependency Properties and Static methods to allow
+ the Click event of the ButtonBase class to be attached to a Command.
+
+
+ This class is required, because Silverlight doesn't have native support for Commands.
+
+
+
+
+ Command to execute on click event.
+
+
+
+
+ Command parameter to supply on command execution.
+
+
+
+
+ Sets the to execute on the click event.
+
+ ButtonBase dependency object to attach command
+ Command to attach
+
+
+
+ Retrieves the attached to the .
+
+ ButtonBase containing the Command dependency property
+ The value of the command attached
+
+
+
+ Sets the value for the CommandParameter attached property on the provided .
+
+ ButtonBase to attach CommandParameter
+ Parameter value to attach
+
+
+
+ Gets the value in CommandParameter attached property on the provided
+
+ ButtonBase that has the CommandParameter
+ The value of the property
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is useful when registering this command in a that monitors command's activity.
+
+ Parameter type.
+
+ The constructor deliberately prevent the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is
+ useful when registering this command in a
+ that monitors command's activity.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Createse a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Raises on the UI thread so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoing the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute,otherwise returns .
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overriden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ CompositePresentationEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Gets the that is bound to the UI elements.
+
+ The to use when subscribing using .
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Composite Application Library.
+
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The dispatcher to use when executing the delegate.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines the interface for invoking methods through a Dispatcher Facade
+
+
+
+
+ Dispatches an invocation to the method received as parameter.
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Class that provides extension methods for the Exception class. These extension methods provide
+ a mechanism for developers to get more easily to the root cause of an exception, especially in combination with
+ DI-containers such as Unity.
+
+
+
+
+ Register the type of an Exception that is thrown by the framework. The method uses
+ this list of Exception types to find out if something has gone wrong.
+
+ The type of exception to register.
+
+
+
+ Determines whether the exception type is already registered using the
+ method
+
+ The type of framework exception to find.
+
+ true if the exception type is already registered; otherwise, false.
+
+
+
+
+ Looks at all the inner exceptions of the parameter to find the
+ most likely root cause of the exception. This works by skipping all registered exception types.
+
+
+ This method is not 100% accurate and should only be used to point a developer into the most likely direction.
+ It should not be used to replace the Inner Exception stack of an exception, because this might hide required exception
+ information.
+
+ The exception that will provide the list of inner exeptions to examine.
+
+ The exception that most likely caused the exception to occur. If it can't find the root exception, it will return the
+ value itself.
+
+
+
+
+ A dictionary of lists.
+
+ The key to use for lists.
+ The type of the value held by lists.
+
+
+
+ If a list does not already exist, it will be created automatically.
+
+ The key of the list that will hold the value.
+
+
+
+ Adds a value to a list with the given key. If a list does not already exist,
+ it will be created automatically.
+
+ The key of the list that will hold the value.
+ The value to add to the list under the given key.
+
+
+
+ Removes all entries in the dictionary.
+
+
+
+
+ Determines whether the dictionary contains the specified value.
+
+ The value to locate.
+ true if the dictionary contains the value in any list; otherwise, false.
+
+
+
+ Determines whether the dictionary contains the given key.
+
+ The key to locate.
+ true if the dictionary contains the given key; otherwise, false.
+
+
+
+ Retrieves the all the elements from the list which have a key that matches the condition
+ defined by the specified predicate.
+
+ The filter with the condition to use to filter lists by their key.
+ The elements that have a key that matches the condition defined by the specified predicate.
+
+
+
+ Retrieves all the elements that match the condition defined by the specified predicate.
+
+ The filter with the condition to use to filter values.
+ The elements that match the condition defined by the specified predicate.
+
+
+
+ Removes a list by key.
+
+ The key of the list to remove.
+ if the element was removed.
+
+
+
+ Removes a value from the list with the given key.
+
+ The key of the list where the value exists.
+ The value to remove.
+
+
+
+ Removes a value from all lists where it may be found.
+
+ The value to remove.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Gets a shallow copy of all values in all lists.
+
+ List of values.
+
+
+
+ Gets the list of keys in the dictionary.
+
+ Collection of keys.
+
+
+
+ Gets or sets the list associated with the given key. The
+ access always succeeds, eventually returning an empty list.
+
+ The key of the list to access.
+ The list associated with the key.
+
+
+
+ Gets the number of lists in the dictionary.
+
+ Value indicating the values count.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ Defines a simple logger façade to be used by the Composite Application Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of that logs into a .
+
+
+
+
+ Initializes a new instance of that writes to
+ the console output.
+
+
+
+
+ Initializes a new instance of .
+
+ The writer to use for writing log entries.
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Disposes the associated .
+
+ When , disposes the associated .
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Represents the exception that is thrown when there is a circular dependency
+ between modules during the module loading process.
+
+
+
+
+ Base class for exceptions that are thrown because of a problem with modules.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Gets or sets the name of the module that this exception refers to.
+
+ The name of the module.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class
+ with the specified error message and inner exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Exception thrown when a module is declared twice in the same catalog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The name of the module.
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Defines the contract for the modules deployed in the application.
+
+
+
+
+ Notifies the module that it has be initialized.
+
+
+
+
+ This is the expected catalog definition for the ModuleManager.
+ The ModuleCatalog holds information about the modules that can be used by the
+ application. Each module is described in a ModuleInfo class, that records the
+ name, type and location of the module.
+
+
+
+
+ Return the list of s that depends on.
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns the collection of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A collection of that contains both all s in
+ and also all the they depend on.
+
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Gets all the classes that are in the .
+
+
+
+
+ Marker interface that allows both s and s to be
+ added to the from code and XAML.
+
+
+
+
+ Declares a service which initializes the modules into the application.
+
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Defines the interface for the service that will retrieve and initialize the application's modules.
+
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Defines the interface for moduleTypeLoaders
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+ This event is raised once per ModuleInfo instance requested in .
+
+
+
+
+ Specifies on which stage the Module group will be initialized.
+
+
+
+
+ The module will be initialized when it is available on application start-up.
+
+
+
+
+ The module will be initialized when requested, and not automatically on application start-up.
+
+
+
+
+ Provides completion information after a module is loaded, or fails to load.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ Any error that occurred during the call.
+
+
+
+ Gets the module info.
+
+ The module info.
+
+
+
+ Gets any error that occurred
+
+ The exception if an error occurred; otherwise null.
+
+
+
+ Gets or sets a value indicating whether the error has been handled by the event subscriber.
+
+ trueif the error is handled; otherwise, false.
+
+ If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.
+
+
+
+
+ The holds information about the modules that can be used by the
+ application. Each module is described in a class, that records the
+ name, type and location of the module.
+
+ It also verifies that the is internally valid. That means that
+ it does not have:
+
+ - Circular dependencies
+ - Missing dependencies
+ -
+ Invalid dependencies, such as a Module that's loaded at startup that depends on a module
+ that might need to be retrieved.
+
+
+ The also serves as a baseclass for more specialized Catalogs .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class while providing an
+ initial list of s.
+
+ The initial list of modules.
+
+
+
+ Creates a from XAML.
+
+ that contains the XAML declaration of the catalog.
+ An instance of built from the XAML.
+
+
+
+ Creates a from a XAML included as an Application Resource.
+
+ Relative that identifies the XAML included as an Application Resource.
+ An instance of build from the XAML.
+
+
+
+ Loads the catalog if necessary.
+
+
+
+
+ Return the list of s that depends on.
+
+
+ If the was not yet validated, this method will call .
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns a list of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A list of that contains both all s in
+ but also all the they depend on.
+
+
+
+
+ Validates the .
+
+ When validation of the fails.
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Reference to the location of the module to be added assembly.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+ When validation of the fails, because this method calls .
+
+
+
+ Creates and adds a to the catalog.
+
+ Stage on which the module group to be added will be initialized.
+ Reference to the location of the module group to be added.
+ Collection of included in the group.
+ with the added module group.
+
+
+
+ Checks for cyclic dependencies, by calling the dependencysolver.
+
+ the.
+
+
+
+
+ Ensures that all the dependencies within refer to s
+ within that list.
+
+ The modules to validate modules for.
+
+ Throws if a in depends on a module that's
+ not in .
+
+ Throws if is .
+
+
+
+ Does the actual work of loading the catalog. The base implementation does nothing.
+
+
+
+
+ Sorts a list of s. This method is called by
+ to return a sorted list.
+
+ The s to sort.
+ Sorted list of s
+
+
+
+ Makes sure all modules have an Unique name.
+
+
+ Thrown if the names of one or more modules are not unique.
+
+
+
+
+ Ensures that there are no cyclic dependencies.
+
+
+
+
+ Ensures that there are no dependencies between modules on different groups.
+
+
+ A groupless module can only depend on other groupless modules.
+ A module within a group can depend on other modules within the same group and/or on groupless modules.
+
+
+
+
+ Ensures that there are no modules marked to be loaded
+ depending on modules loaded
+
+
+
+
+ Returns the on which the received module dependens on.
+
+ Module whose dependant modules are requested.
+ Collection of dependants of .
+
+
+
+ Ensures that the catalog is validated.
+
+
+
+
+ Gets the items in the . This property is mainly used to add s or
+ s through XAML.
+
+ The items in the catalog.
+
+
+
+ Gets all the classes that are in the , regardless
+ if they are within a or not.
+
+ The modules.
+
+
+
+ Gets the s that have been added to the .
+
+ The groups.
+
+
+
+ Gets or sets a value that remembers whether the has been validated already.
+
+
+
+
+ Returns the list of s that are not contained within any .
+
+ The groupless modules.
+
+
+
+ Used by to get the load sequence
+ for the modules to load according to their dependencies.
+
+
+
+
+ Adds a module to the solver.
+
+ The name that uniquely identifies the module.
+
+
+
+ Adds a module dependency between the modules specified by dependingModule and
+ dependentModule.
+
+ The name of the module with the dependency.
+ The name of the module dependingModule
+ depends on.
+
+
+
+ Calculates an ordered vector according to the defined dependencies.
+ Non-dependant modules appears at the beginning of the resulting array.
+
+ The resulting ordered list of modules.
+ This exception is thrown
+ when a cycle is found in the defined depedency graph.
+
+
+
+ Gets the number of modules added to the solver.
+
+ The number of modules.
+
+
+
+ Provides progress information as a module downloads.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ The bytes received.
+ The total bytes to receive.
+
+
+
+ Getsthe module info.
+
+ The module info.
+
+
+
+ Gets the bytes received.
+
+ The bytes received.
+
+
+
+ Gets the total bytes to receive.
+
+ The total bytes to receive.
+
+
+
+ Defines the metadata that describes a module.
+
+
+
+
+ Initializes a new empty instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module 's AssemblyQualifiedName.
+ The modules this instance depends on.
+ An is thrown if is .
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module's type.
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets the module 's AssemblyQualifiedName.
+
+ The type of the module.
+
+
+
+ Gets or sets the list of modules that this module depends upon.
+
+ The list of modules that this module depends upon.
+
+
+
+ Specifies on which stage the Module will be initialized.
+
+
+
+
+ Reference to the location of the module assembly.
+ The following are examples of valid values:
+ http://myDomain/ClientBin/MyModules.xap for remote module in Silverlight
+ file://c:/MyProject/Modules/MyModule.dll for a loose DLL in WPF.
+
+
+
+
+
+ Gets or sets the state of the with regards to the module loading and initialization process.
+
+
+
+
+ Represents a group of instances that are usually deployed together. s
+ are also used by the to prevent common deployment problems such as having a module that's required
+ at startup that depends on modules that will only be downloaded on demand.
+
+ The group also forwards and values to the s that it
+ contains.
+
+
+
+
+ Adds an moduleInfo to the .
+
+ The to the .
+
+
+
+ Forwards and properties from this
+ to .
+
+ The module info to forward values to.
+ An is thrown if is .
+
+
+
+ Removes all s from the .
+
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than 0.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+
+ The to add to the .
+ Must be of type
+
+
+ The position into which the new element was inserted.
+
+
+
+
+ Determines whether the contains a specific value.
+
+
+ The to locate in the .
+ Must be of type
+
+
+ true if the is found in the ; otherwise, false.
+
+
+
+
+ Determines the index of a specific item in the .
+
+
+ The to locate in the .
+ Must be of type
+
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+
+ The to insert into the .
+ Must be of type
+
+
+ is not a valid index in the .
+
+
+ If is null.
+
+
+ If is not of type
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+
+ The to remove from the .
+ Must be of type
+
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+
+
+ The is read-only.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than zero.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+ The type of the source cannot be cast automatically to the type of the destination .
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+
+
+
+
+ Gets or sets the for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+
+ The initialization mode.
+
+
+
+ Gets or sets the value for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+ The ref value will also be used by the to determine which to use.
+ For example, if the ref property can be converted to an URL, it the XapModuleTypeLoader will be used
+ (Only available in the Silverlight version of CAL).
+ For example, using an "file://" prefix with a valid URL will cause the FileModuleTypeLoader to be used
+ (Only available in the desktop version of CAL).
+
+
+ The ref value that will be used.
+
+
+
+ Gets the number of elements contained in the .
+
+
+
+ The number of elements contained in the .
+
+
+
+
+ Gets a value indicating whether the is read-only.
+
+
+ false, because the is not Read-Only.
+
+
+
+
+ Gets a value indicating whether the has a fixed size.
+
+ false, because the does not have a fixed length.
+
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Gets a value indicating whether access to the is synchronized (thread safe).
+
+
+ true if access to the is synchronized (thread safe); otherwise, false.
+
+
+
+
+ Gets an object that can be used to synchronize access to the .
+
+
+
+ An object that can be used to synchronize access to the .
+
+
+
+
+ Gets or sets the at the specified index.
+
+ The at the specified index
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The name for the module.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+ The name of the module will be the type name.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to load.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception
+ that happened.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Implements the interface. Handles loading of a module based on a type.
+
+
+
+
+ Initializes a new instance of .
+
+ The container that will be used to resolve the modules by specifying its type.
+ The logger to use.
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Handles any exception ocurred in the module Initialization process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The assembly name.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The module to create.
+ A new instance of the module specified by .
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The type name to resolve. This type must implement .
+ A new instance of .
+
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+
+
+ Initializes an instance of the class.
+
+ Service used for initialization of modules.
+ Catalog that enumerates the modules to be loaded and initialized.
+ Logger used during the load and initialization of modules.
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Checks if the module needs to be retrieved before it's initialized.
+
+ Module that is being checked if needs retrieval.
+
+
+
+
+ Loads the modules that are not intialized and have their dependencies loaded.
+
+
+
+
+ Handles any exception ocurred in the module typeloading process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated s.
+
+ When , it is being called from the Dispose method.
+
+
+
+ The module catalog specified in the constructor.
+
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Returns the list of registered instances that will be
+ used to load the types of modules.
+
+ The module type loaders.
+
+
+
+ Exception thrown when a requested was not found.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
+
+
+
+ Defines the states a can be in, with regards to the module loading and initialization process.
+
+
+
+
+ Initial state for s. The is defined,
+ but it has not been loaded, retrieved or initialized yet.
+
+
+
+
+ The assembly that contains the type of the module is currently being loaded by an instance of a
+ .
+
+
+
+
+ The assembly that holds the Module is present. This means the type of the can be instantiated and initialized.
+
+
+
+
+ The module is currently Initializing, by the
+
+
+
+
+ The module is initialized and ready to be used.
+
+
+
+
+ Exception that's thrown when there is no registered in
+ that can handle this particular type of module.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to retrieve.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance with a specified error message
+ and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Class that wraps an object, so that other classes can notify for Change events. Typically, this class is set as
+ a Dependency Property on DependencyObjects, and allows other classes to observe any changes in the Value.
+
+
+ This class is required, because in Silverlight, it's not possible to receive Change notifications for Dependency properties that you do not own.
+
+ The type of the property that's wrapped in the Observable object
+
+
+
+ Identifies the Value property of the ObservableObject
+
+
+
+
+ Event that gets invoked when the Value property changes.
+
+
+
+
+ The value that's wrapped inside the ObservableObject.
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to The object must be of type '{0}' in order to use the current region adapter..
+
+
+
+
+ Looks up a localized string similar to Cannot change the region name once is set. The current region name is '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot create navigation target '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to Type '{0}' does not implement from IRegionBehavior..
+
+
+
+
+ Looks up a localized string similar to The ConfigurationStore cannot contain a null value. .
+
+
+
+
+ Looks up a localized string similar to ContentControl's Content property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's Content property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to At least one cyclic dependency has been found in the module catalog. Cycles in the module dependencies must be avoided..
+
+
+
+
+ Looks up a localized string similar to Deactivation is not possible in this type of region..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to Cannot add dependency for unknown module {0}.
+
+
+
+
+ Looks up a localized string similar to A module declared a dependency on another module which is not declared to be loaded. Missing module(s): {0}.
+
+
+
+
+ Looks up a localized string similar to Directory {0} was not found..
+
+
+
+
+ Looks up a localized string similar to A duplicated module with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to A duplicated module group with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to Unable to retrieve the module type {0} from the loaded assemblies. You may need to specify a more fully-qualified type name..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {2}
+ - The Assembly that the module was trying to be loaded from was:{1}
+ Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.
+ .
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {1}
+ Check the InnerException property of the exception for more information. If the exception occurred
+ while creating an object in a DI container, you can exception.GetRootException() to help locate the
+ root cause of the problem. .
+
+
+
+
+ Looks up a localized string similar to Failed to load type for module {0}.
+
+ If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies.
+
+ Error was: {1}..
+
+
+
+
+ Looks up a localized string similar to HostControl cannot have null value when behavior attaches. .
+
+
+
+
+ Looks up a localized string similar to The HostControl property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to HostControl type must be a TabControl..
+
+
+
+
+ Looks up a localized string similar to The IModuleEnumerator interface is no longer used and has been replaced by ModuleCatalog..
+
+
+
+
+ Looks up a localized string similar to The argument must be a valid absolute Uri to an assembly file..
+
+
+
+
+ Looks up a localized string similar to The Target of the IDelegateReference should be of type {0}..
+
+
+
+
+ Looks up a localized string similar to ItemsControl's ItemsSource property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's ItemSource property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to Mapping with the given type is already registered: {0}..
+
+
+
+
+ Looks up a localized string similar to Module {0} depends on other modules that don't belong to the same group..
+
+
+
+
+ Looks up a localized string similar to Module {0} was not found in the catalog..
+
+
+
+
+ Looks up a localized string similar to The ModulePath cannot contain a null value or be empty.
+
+
+
+
+ Looks up a localized string similar to Failed to load type '{0}' from assembly '{1}'..
+
+
+
+
+ Looks up a localized string similar to Navigation is already in progress on region with name '{0}'..
+
+
+
+
+ Looks up a localized string similar to Navigation cannot proceed until a region is set for the RegionNavigationService..
+
+
+
+
+ Looks up a localized string similar to There is currently no moduleTypeLoader in the ModuleManager that can retrieve the specified module..
+
+
+
+
+ Looks up a localized string similar to An exception has occurred while trying to add a view to region '{0}'.
+ - The most likely causing exception was was: '{1}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
+ Looks up a localized string similar to The Attach method cannot be called when Region property is null..
+
+
+
+
+ Looks up a localized string similar to The Region property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while creating a region with name '{0}'. The exception was: {1}. .
+
+
+
+
+ Looks up a localized string similar to The region being added already has a name of '{0}' and cannot be added to the region manager with a different name ('{1}')..
+
+
+
+
+ Looks up a localized string similar to The region name cannot be null or empty..
+
+
+
+
+ Looks up a localized string similar to Region with the given name is already registered: {0}.
+
+
+
+
+ Looks up a localized string similar to This RegionManager does not contain a Region with the name '{0}'..
+
+
+
+
+ Looks up a localized string similar to The region manager does not contain the {0} region..
+
+
+
+
+ Looks up a localized string similar to View already exists in region..
+
+
+
+
+ Looks up a localized string similar to View with name '{0}' already exists in the region..
+
+
+
+
+ Looks up a localized string similar to Module {0} is marked for automatic initialization when the application starts, but it depends on modules that are marked as OnDemand initialization. To fix this error, mark the dependency modules for InitializationMode=WhenAvailable, or remove this validation by extending the ModuleCatalog class..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to No BehaviorType with key '{0}' was registered..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while trying to create region objects.
+ - The most likely causing exception was: '{0}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The value must be of type ModuleInfo..
+
+
+
+
+ Looks up a localized string similar to {0} not found..
+
+
+
+
+ Looks up a localized string similar to The region does not contain the specified view..
+
+
+
+
+ Region that keeps all the views in it as active. Deactivation of views is not allowed.
+
+
+
+
+ Implementation of that allows multiple active views.
+
+
+
+
+ Defines a model that can be used to compose views.
+
+
+
+
+ Provides methods to perform navigation.
+
+
+ Convenience overloads for the methods in this interface can be found as extension methods on the
+ class.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+ Convenience overloads for this method can be found as extension methods on the
+ class.
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets the navigation service.
+
+ The navigation service.
+
+
+
+ Initializes a new instance of .
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ The default sort algorithm.
+
+ The first view to compare.
+ The second view to compare.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the navigation service.
+
+ The navigation service.
+
+
+
+ Gets the collection with all the views along with their metadata.
+
+ An of with all the added views.
+
+
+
+ Deactive is not valid in this Region. This method will always throw .
+
+ The view to deactivate.
+ Every time this method is called.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region. These are all the added views.
+
+ An of all the active views.
+
+
+
+ Populates the target region with the views registered to it in the .
+
+
+
+
+ Provides a base class for region's behaviors.
+
+
+
+
+ Interface for allowing extensible behavior on regions.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ The region that this behavior is extending.
+
+
+
+
+ Attaches the behavior to the region.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Returns if the behavior is attached to a region, otherwise.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Creates a new instance of the AutoPopulateRegionBehavior
+ associated with the received.
+
+ that the behavior will monitor for views to populate the region.
+
+
+
+ Attaches the AutoPopulateRegionBehavior to the Region.
+
+
+
+
+ Returns a collection of views that will be added to the
+ View collection.
+
+
+
+
+
+ Adds a view into the views collection of this region.
+
+
+
+
+
+ Handler of the event that fires when a new viewtype is registered to the registry.
+
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+
+
+
+
+ Defines a behavior that forwards the
+ to the views in the region.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Behavior that creates a new , when the control that will host the (see )
+ is added to the VisualTree. This behavior will use the class to find the right type of adapter to create
+ the region. After the region is created, this behavior will detach.
+
+
+ Attached property value inheritance is not available in Silverlight, so the current approach walks up the visual tree when requesting a region from a region manager.
+ The is now responsible for walking up the Tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The region adapter mappings, that are used to find the correct adapter for
+ a given controltype. The controltype is determined by the value.
+
+
+
+
+ Start monitoring the and the to detect when the becomes
+ part of the Visual Tree. When that happens, the Region will be created and the behavior will .
+
+
+
+
+ Stop monitoring the and the , so that this behavior can be garbage collected.
+
+
+
+
+ Called when the is updating it's collection.
+
+
+ This method has to be public, because it has to be callable using weak references in silverlight and other partial trust environments.
+
+ The .
+ The instance containing the event data.
+
+
+
+ Method that will create the region, by calling the right .
+
+ The target element that will host the .
+ Name of the region.
+ The created
+
+
+
+ Sets a class that interfaces between the 's static properties/events and this behavior,
+ so this behavior can be tested in isolation.
+
+ The region manager accessor.
+
+
+
+ The element that will host the Region.
+
+ The target element.
+
+
+
+ Defines a that not allows extensible behaviors on regions which also interact
+ with the target element that the is attached to.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Behavior that monitors a object and
+ changes the value for the property when
+ an object that implements gets added or removed
+ from the collection.
+
+
+
+
+ Name that identifies the behavior in a collection of .
+
+
+
+
+ Attaches the behavior to the specified region
+
+
+
+
+ Detaches the behavior from the .
+
+
+
+
+ The region that this behavior is extending
+
+
+
+
+ Represents errors that occured during region creation.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Subscribes to a static event from the in order to register the target
+ in a when one is available on the host control by walking up the tree and finding
+ a control whose property is not .
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ When the has a name assigned, the behavior will start monitoring the ancestor controls in the element tree
+ to look for an where to register the region in.
+
+
+
+
+ This event handler gets called when a RegionManager is requering the instances of a region to be registered if they are not already.
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+ The sender.
+ The arguments.
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+ When this member is set after the method has being called.
+
+
+
+ The RegionMemberLifetimeBehavior determines if items should be removed from the
+ when they are deactivated.
+
+
+ The monitors the
+ collection to discover items that transition into a deactivated state.
+
+ The behavior checks the removed items for either the
+ or the (in that order) to determine if it should be kept
+ alive on removal.
+
+ If the item in the collection is a , it will
+ also check it's DataContext for or the .
+
+ The order of checks are:
+
+ - Region Item's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's DataContext's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's RegionMemberLifetimeAttribute.KeepAlive value.
+ - Region Item's DataContext's RegionMemberLifetimeAttribute.KeepAlive value.
+
+
+
+
+
+ The key for this behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Defines the attached behavior that keeps the items of the host control in synchronization with the .
+
+ This behavior also makes sure that, if you activate a view in a region, the SelectedItem is set. If you set the SelectedItem or SelectedItems (ListBox)
+ then this behavior will also call Activate on the selected items.
+
+ When calling Activate on a view, you can only select a single active view at a time. By setting the SelectedItems property of a listbox, you can set
+ multiple views to active.
+
+
+
+
+
+ Name that identifies the SelectorItemsSourceSyncBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Starts to monitor the to keep it in synch with the items of the .
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+
+ For this behavior, the host control must always be a or an inherited class.
+
+
+
+ Behavior that synchronizes the property of a with
+ the control that hosts the Region. It does this by setting the
+ Dependency Property on the host control.
+
+ This behavior allows the usage of two way databinding of the RegionContext from XAML.
+
+
+
+
+ Name that identifies the SyncRegionContextWithHostBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+
+ Adapter that creates a new and monitors its
+ active view to set it on the adapted .
+
+
+
+
+ Base class to facilitate the creation of implementations.
+
+ Type of object to adapt.
+
+
+
+ Defines an interfaces to adapt an object and bind it to a new .
+
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+ This methods performs validation to check that
+ is of type .
+ When is .
+ When is not of type .
+
+
+
+ This method adds the default behaviors by using the object.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to adapt the object to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Template method to create a new instance of
+ that will be used to adapt the object.
+
+ A new instance of .
+
+
+
+ Gets or sets the factory used to create the region behaviors to attach to the created regions.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Provides a way for objects involved in navigation to determine if a navigation request should continue.
+
+
+
+
+ Provides a way for objects involved in navigation to be notified of navigation activities.
+
+
+
+
+ Called when the implementer has been navigated to.
+
+ The navigation context.
+
+
+
+ Called to determine if this instance can handle the navigation request.
+
+ The navigation context.
+
+ if this instance accepts the navigation request; otherwise, .
+
+
+
+
+ Called when the implementer is being navigated away from.
+
+ The navigation context.
+
+
+
+ Determines whether this instance accepts being navigated away from.
+
+ The navigation context.
+ The callback to indicate when navigation can proceed.
+
+ Implementors of this method do not need to invoke the callback before this method is completed,
+ but they must ensure the callback is eventually invoked.
+
+
+
+
+ Defines the interface for a collection of classes on a Region.
+
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+
+ The key that specifies the type of that's added.
+
+ The to add.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Gets the with the specified key.
+
+ The registered
+
+
+
+ Interface for RegionBehaviorFactories. This factory allows the registration of the default set of RegionBehaviors, that will
+ be added to the s of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. the string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add. .
+
+
+
+ Determines whether a behavior with the specified key already exists
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Creates an instance of the Behaviortype that's registered using the specified key.
+
+ The key that's used to register a behavior type.
+ The created behavior.
+
+
+
+ Defines a collection of uniquely identified by their Name.
+
+
+
+
+ Adds a to the collection.
+
+ Region to be added to the collection.
+
+
+
+ Removes a from the collection.
+
+ Name of the region to be removed.
+ if the region was removed from the collection, otherwise .
+
+
+
+ Checks if the collection contains a with the name received as parameter.
+
+ The name of the region to look for.
+ if the region is contained in the collection, otherwise .
+
+
+
+ Gets the IRegion with the name received as index.
+
+ Name of the region to be retrieved.
+ The identified with the requested name.
+
+
+
+ Defines an interface to manage a set of regions and to attach regions to objects (typically controls).
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+
+
+
+ When implemented, allows an instance placed in a
+ that uses a to indicate
+ it should be removed when it transitions from an activated to deactived state.
+
+
+
+
+ Gets a value indicating whether this instance should be kept-alive upon deactivation.
+
+
+
+
+ Identifies the view in a region that is the target of a navigation request.
+
+
+
+
+ Gets the content to which the navigation request represented by applies.
+
+
+ If none of the items in the region match the target of the navigation request, a new item
+ will be created and added to the region.
+
+ The region.
+ The context representing the navigation request.
+ The item to be the target of the navigation request.
+ when a new item cannot be created for the navigation request.
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+
+ true if the journal can go back; otherwise, false.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets or sets the target that implements INavigateAsync.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Gets or sets the region owning this service.
+
+ A Region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines the interface for the registry of region's content.
+
+
+
+
+ Returns the contents associated with a region name.
+
+ Region name for which contents are requested.
+ Collection of contents associated with the .
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Event triggered when a content is registered to a region name.
+
+
+ This event uses weak references to the event handler to prevent this service (typically a singleton) of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+
+ Defines a class that wraps an item and adds metadata for it.
+
+
+
+
+ The name of the wrapped item.
+
+
+
+
+ Value indicating whether the wrapped item is considered active.
+
+
+
+
+ Initializes a new instance of .
+
+ The item to wrap.
+
+
+
+ Explicitly invokes to notify listeners.
+
+
+
+
+ Gets the wrapped item.
+
+ The wrapped item.
+
+
+
+ Gets or sets a name for the wrapped item.
+
+ The name of the wrapped item.
+
+
+
+ Gets or sets a value indicating whether the wrapped item is considered active.
+
+ if the item should be considered active; otherwise .
+
+
+
+ Occurs when metadata on the item changes.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Defines a view of a collection.
+
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Provides additional methods to the interface.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Encapsulates information about a navigation request.
+
+
+
+
+ Initializes a new instance of the class for a region name and a
+ .
+
+ The navigation service.
+ The Uri.
+
+
+
+ Gets the region navigation service.
+
+ The navigation service.
+
+
+
+ Gets the navigation URI.
+
+ The navigation URI.
+
+
+
+ Gets the extracted from the URI.
+
+ The URI query.
+
+
+
+ Represents the result of navigating to a URI.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The result.
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The error.
+
+
+
+ Gets the result.
+
+ The result.
+
+
+
+ Gets an exception that occurred while navigating.
+
+ The exception.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ This class maps with .
+
+
+
+
+ Registers the mapping between a type and an adapter.
+
+ The type of the control.
+ The adapter to use with the type.
+ When any of or are .
+ If a mapping for already exists.
+
+
+
+ Returns the adapter associated with the type provided.
+
+ The type to obtain the mapped.
+ The mapped to the .
+ This class will look for a registered type for and if there is not any,
+ it will look for a registered type for any of its ancestors in the class hierarchy.
+ If there is no registered type for or any of its ancestors,
+ an exception will be thrown.
+ When there is no registered type for or any of its ancestors.
+
+
+
+ A collection of instances, that are stored and retrieved by Key.
+
+
+
+
+ Initializes a new instance of the class and associates it with a region.
+
+ The region to associate the behavior collection with.
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+ The key that specifies the type of that's added.
+ The to add.
+
+ Thrown is the parameter is Null,
+ or if the parameter is Null.
+
+ Thrown if a behavior with the specified Key parameter already exists.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+ The RegionBehavior that's registered with the key.
+
+
+
+ Defines a factory that allows the registration of the default set of , that will
+ be added to the of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Initializes a new instance of .
+
+ used to create the instance of the behavior from its .
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. The string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add.
+
+
+
+ Creates an instance of the behavior that is registered using the specified key.
+
+ The key that is used to register a behavior type.
+ A new instance of the behavior.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+ 1
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+ 2
+
+
+
+ Determines whether a behavior with the specified key already exists.
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Class that holds methods to Set and Get the RegionContext from a DependencyObject.
+
+ RegionContext allows sharing of contextual information between the view that's hosting a
+ and any views that are inside the Region.
+
+
+
+
+ Returns an wrapper around the RegionContext value. The RegionContext
+ will be set on any views (dependency objects) that are inside the collection by
+ the Behavior.
+ The RegionContext will also be set to the control that hosts the Region, by the Behavior.
+
+ If the wrapper does not already exist, an empty one will be created. This way, an observer can
+ notify when the value is set for the first time.
+
+ Any view that hold the RegionContext value.
+ Wrapper around the Regioncontext value.
+
+
+
+ This class is responsible for maintaining a collection of regions and attaching regions to controls.
+
+
+ This class supplies the attached properties that can be used for simple region creation from XAML.
+
+
+
+
+ Identifies the RegionName attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Sets the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region to register.
+
+
+
+ Gets the value for the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ is also set in this element.
+
+
+
+ Returns an wrapper that can hold an . Using this wrapper
+ you can detect when an has been created by the .
+
+ If the wrapper does not yet exist, a new wrapper will be created. When the region
+ gets created and assigned to the wrapper, you can use the event
+ to get notified of that change.
+
+ The view that will host the region.
+ Wrapper that can hold an value and can notify when the value changes.
+
+
+
+ Identifies the RegionManager attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Identifies the RegionContext attached property.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The region context to pass to the contained views.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Notifies attached behaviors to update the region managers appropriatelly if needed to.
+
+
+ This method is normally called internally, and there is usually no need to call this from user code.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+ A with all the registered regions.
+
+
+
+ Class that creates a fluent interface for the class, with respect to
+ adding views to regions (View Injection pattern), registering view types to regions (View Discovery pattern)
+
+
+
+
+ Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to add a view to
+ The view to add to the views collection
+ The RegionManager, to easily add several views.
+
+
+
+ Associate a view with a region, by registering a type. When the region get's displayed
+ this type will be resolved using the ServiceLocator into a concrete instance. The instance
+ will be added to the Views collection of the region
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The type of the view to register with the
+ The regionmanager, for adding several views easily
+
+
+
+ Associate a view with a region, using a delegate to resolve a concreate instance of the view.
+ When the region get's displayed, this delelgate will be called and the result will be added to the
+ views collection of the region.
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The delegate used to resolve a concreate instance of the view.
+ The regionmanager, for adding several views easily
+
+
+
+ Adds a region to the regionmanager with the name received as argument.
+
+ The regionmanager's collection of regions.
+ The name to be given to the region.
+ The region to be added to the regionmanager.
+ Thrown if or is .
+ Thrown if and 's name do not match and the is not .
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ When is applied to class provides data
+ the can use to determine if the instance should
+ be removed when it is deactivated.
+
+
+
+
+ Instantiates an instance of
+
+
+
+
+ Determines if the region member should be kept-alive
+ when deactivated.
+
+
+
+
+ Implementation of that relies on a
+ to create new views when necessary.
+
+
+
+
+ Initializes a new instance of the class with a service locator.
+
+ The service locator.
+
+
+
+ Gets the view to which the navigation request represented by applies.
+
+ The region.
+ The context representing the navigation request.
+
+ The view to be the target of the navigation request.
+
+
+ If none of the views in the region can be the target of the navigation request, a new view
+ is created and added to the region.
+
+ when a new view cannot be created for the navigation request.
+
+
+
+ Provides a new item for the region based on the supplied candidate target contract name.
+
+ The target contract to build.
+ An instance of an item to put into the .
+
+
+
+ Returns the candidate TargetContract based on the .
+
+ The navigation contract.
+ The candidate contract to seek within the and to use, if not found, when resolving from the container.
+
+
+
+ Returns the set of candidates that may satisfiy this navigation request.
+
+ The region containing items that may satisfy the navigation request.
+ The candidate navigation target as determined by
+ An enumerable of candidate objects from the
+
+
+
+ EventArgs used with the Navigated event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ EventArgs used with the NavigationFailed event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+ The error.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the error.
+
+ The , or if the failure was not caused by an exception.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets or sets the target that implements INavigate.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+ true if the journal can go back; otherwise, false.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+ The navigation target handler.
+ The journal.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ Gets or sets the region.
+
+ The region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines a registry for the content of the regions used on View Discovery composition.
+
+
+
+
+ Creates a new instance of the class.
+
+ used to create the instance of the views from its .
+
+
+
+ Returns the contents registered for a region.
+
+ Name of the region which content is being requested.
+ Collection of contents registered for the region.
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Creates an instance of a registered view .
+
+ Type of the registered view.
+ Instance of the registered view.
+
+
+
+ Occurs whenever a new view is registered.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+ It also keeps the and the selected items
+ of the in sync.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also listens for changes in the
+ activity of the region or the control selection and keeps the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Region that allows a maximum of one active view at a time.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+ If there is an active view before calling this method,
+ that view will be deactivated automatically.
+
+
+
+ Represents errors that occured during the regions' update.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Argument class used by the event when a new content is registered.
+
+
+
+
+ Initializes the ViewRegisteredEventArgs class.
+
+ The region name to which the content was registered.
+ The content which was registered.
+
+
+
+ Gets the region name to which the content was registered.
+
+
+
+
+ Gets the content which was registered.
+
+
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Implementation of that takes an of
+ and filters it to display an collection of
+ elements (the items which the wraps).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The list to wrap and filter.
+ A predicate to filter the collection.
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Used to invoked the event.
+
+
+
+
+
+ Removes all monitoring of underlying MetadataItems and re-adds them.
+
+
+
+
+ Adds all underlying MetadataItems to the list from the subjectCollection
+
+
+
+
+ Removes all monitored items from our monitoring list.
+
+
+
+
+ Adds handler to monitor the MetadatItem and adds it to our monitoring list.
+
+
+
+
+
+
+ Unhooks from the MetadataItem change event and removes from our monitoring list.
+
+
+
+
+
+ Invoked when any of the underlying ItemMetadata items we're monitoring changes.
+
+
+
+
+
+
+ The event handler due to changes in the underlying collection.
+
+
+
+
+
+
+ Occurs when the collection changes.
+
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Provides a hint from a view to a region on how to sort the view.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The hint to use for sorting.
+
+
+
+ Gets the hint.
+
+ The hint to use for sorting.
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Locator to use in resolving.
+ Type to resolve.
+ T or null
+ Thrown when is .
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Type to resolve.
+ Locator to use in resolving.
+ T or null
+
+
+
+ Helper class for parsing instances.
+
+
+
+
+ Gets the query part of .
+
+ The Uri.
+
+
+
+ Gets the AbsolutePath part of .
+
+ The Uri.
+
+
+
+ Parses the query of into a dictionary.
+
+ The URI.
+
+
+
+ Represents a query in a Uri.
+
+
+ This class can be used to parse a query string to access
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a query string.
+
+ The query string.
+
+
+
+ Gets the enumerator.
+
+
+
+
+
+ Adds the specified key and value.
+
+ The name.
+ The value.
+
+
+
+ Returns a that represents this instance as a query string.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets the with the specified key.
+
+ The value for the specified key, or if the query does not contain such a key.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Base class for items that support property notification.
+
+
+ This class provides basic support for implementing the interface and for
+ marshalling execution to the UI thread.
+
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The property that has a new value.
+
+
+
+ Raises this object's PropertyChanged event for each of the properties.
+
+ The properties that have a new value.
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Raised when a property on this object has a new value.
+
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Wraps the Deployment Dispatcher.
+
+
+
+
+ Forwards the BeginInvoke to the current deployment's .
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Defines extension methods on the class.
+
+
+
+
+ Removes the all the elements that match the conditions defined by the specified predicate.
+
+ of the List's items.
+ .
+ The delegate that defines the conditions of the elements to remove.
+
+
+
+ Provides data for the event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The downloaded .
+ Any error that occurred during the asynchronous operation.
+ A value that indicates whether the asynchronous operation was canceled.
+ The optional user-supplied state object that is used to identify the task that raised the MethodNameCompleted event.
+
+
+
+ Gets the downloaded .
+
+
+
+
+ Defines the component used to download files.
+
+ This is mainly a wrapper for the class that implements .
+
+
+
+ Defines a contract for the object used to download files asynchronously.
+
+
+
+
+ Starts downloading asynchronously a file from .
+
+ The location of the file to be downloaded.
+ Provides a user-specified identifier for the asynchronous task.
+
+
+
+ Raised whenever the download progress changes.
+
+
+
+
+ Raised download is complete.
+
+
+
+
+ Starts downloading asynchronously a file from .
+
+ The location of the file to be downloaded.
+ Provides a user-specified identifier for the asynchronous task.
+
+
+
+ Raised whenever the download progress changes.
+
+
+
+
+ Raised download is complete.
+
+
+
+
+ Component responsible for downloading remote modules
+ and load their into the current application domain.
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Creates the used to retrieve the remote modules.
+
+ The used to retrieve the remote modules.
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Behavior that generates containers for the added items
+ and also keeps the and the in sync.
+
+
+
+
+ The behavior key for this region sync behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Gets the item contained in the .
+
+ The container item.
+ The item contained in the if it was generated automatically by the behavior; otherwise .
+
+
+
+ Override to change how TabItem's are prepared for items.
+
+ The item to wrap in a TabItem
+ The parent
+ A tab item that wraps the supplied
+
+
+
+ Undoes the effects of the method.
+
+ The container element for the item.
+
+
+
+ Creates or identifies the element that is used to display the given item.
+
+ The item to get the container for.
+ The parent's .
+ The element that is used to display the given item.
+
+
+
+ Return the appropriate data context. If the item is a FrameworkElement it cannot be a data context in Silverlight, so we use its data context.
+ Otherwise, we just us the item as the data context.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+ This adapter is needed on Silverlight because the doesn't
+ automatically create s when new items are added to
+ the collection.
+
+
+
+
+ to set to the created .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Gets the property value.
+
+ Target object of the attached property.
+ Value of the property.
+
+
+
+ Sets the property value.
+
+ Target object of the attached property.
+ Value to be set on the property.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also keeps the
+ and the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ This custom ContentControl changes its ContentTemplate based on the content it is presenting.
+
+
+ In order to determine the template it must use for the new content, this control retrieves it from its
+ resources using the name for the type of the new content as the key.
+
+
+
+
+ Called when the value of the property changes.
+
+ The old value of the property.The new value of the property.
+
+ Will attempt to discover the from the by matching the type name of .
+
+
+
+
+ Returns the default content template to use if not other content template can be located.
+
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.Interactivity.xml b/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.Interactivity.xml
new file mode 100644
index 0000000..abbad11
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.Interactivity.xml
@@ -0,0 +1,298 @@
+
+
+
+ Microsoft.Practices.Prism.Interactivity
+
+
+
+
+ Represents an interaction request used for confirmations.
+
+
+
+
+ Represents an interaction request used for notifications.
+
+
+
+
+ Gets or sets the title to use for the notification.
+
+
+
+
+ Gets or sets the content of the notification.
+
+
+
+
+ Gets or sets a value indicating that the confirmation is confirmed.
+
+
+
+
+ Represents a request from user interaction.
+
+
+ View models can expose interaction request objects through properties and raise them when user interaction
+ is required so views associated with the view models can materialize the user interaction using an appropriate
+ mechanism.
+
+
+
+
+ Fired when the interaction is needed.
+
+
+
+
+ Implementation of the interface.
+
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+
+
+
+ Fires the Raised event.
+
+ The context for the interaction request.
+ The callback to execute when the interaction is completed.
+
+
+
+ Fired when interaction is needed.
+
+
+
+
+ Event args for the event.
+
+
+
+
+ Constructs a new instance of
+
+
+
+
+
+
+ Gets the context for a requested interaction.
+
+
+
+
+ Gets the callback to execute when an interaction is completed.
+
+
+
+
+ Custom event trigger for using with objects.
+
+
+ The standard class can be used instead, as long as the 'Raised' event
+ name is specified.
+
+
+
+
+ Specifies the name of the Event this EventTriggerBase is listening for.
+
+ This implementation always returns the Raised event name for ease of connection with .
+
+
+
+ Trigger action that executes a command when invoked.
+ It also maintains the Enabled state of the target control based on the CanExecute method of the command.
+
+
+
+
+ Dependency property identifying the command to execute when invoked.
+
+
+
+
+ Dependency property identifying the command parameter to supply on command execution.
+
+
+
+
+ Public wrapper of the Invoke method. No parameter is passed here, as the parameter in the Invoke method is ignored in this class.
+
+
+
+
+ Executes the command
+
+ This parameter is ignored; the CommandParameter specified in the CommandParameterProperty is used for command invocation.
+
+
+
+ Sets the Command and CommandParameter properties to null.
+
+
+
+
+ This method is called after the behavior is attached.
+ It updates the command behavior's Command and CommandParameter properties if necessary.
+
+
+
+
+ Gets or sets the command to execute when invoked.
+
+
+
+
+ Gets or sets the command parameter to supply on command execution.
+
+
+
+
+ A CommandBehavior that exposes a public ExecuteCommand method. It provides the functionality to invoke commands and update Enabled state of the target control.
+ It is not possible to make the inherit from , since the
+ must already inherit from , so we chose to follow the aggregation approach.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
+ A basic confirmation child window that can host content and provides OK and Cancel buttons.
+
+
+
+
+ The content template to use when showing data.
+
+
+
+
+ Creates a new instance of ConfirmationChildWindow.
+
+
+
+
+ InitializeComponent
+
+
+
+
+ The content template to use when showing data.
+
+
+
+
+ The notification to use when displaying messages.
+
+
+
+
+ The to apply when displaying data.
+
+
+
+
+ Creates a new instance of
+
+
+
+
+ InitializeComponent
+
+
+
+
+ The to apply when displaying data.
+
+
+
+
+ Concrete class that pops up a specified child window or a default child window configured with a data template.
+
+
+
+
+ Base class for trigger actions that handle an interaction request by popping up a child window.
+
+
+
+
+ Displays the child window and collects results for .
+
+ The parameter to the action. If the action does not require a parameter, the parameter may be set to a null reference.
+
+
+
+ Returns the child window to display as part of the trigger action.
+
+ The notification to display in the child window.
+
+
+
+
+ The child window to display as part of the popup.
+
+
+
+
+ The to apply to the popup content.
+
+
+
+
+ Returns the child window to display as part of the trigger action.
+
+ The notification to display in the child window.
+
+
+
+
+ Gets or sets the child window to pop up.
+
+
+ If not specified, a default child window is used instead.
+
+
+
+
+ Gets or sets the content template for a default child window.
+
+
+
+
+ Custom behavior that updates the source of a binding on a text box as the text changes.
+
+
+
+
+ Called after the behavior is attached to an AssociatedObject.
+
+
+ Override this to hook up functionality to the AssociatedObject.
+
+
+
+
+ Called when the behavior is being detached from its AssociatedObject, but before it has actually occurred.
+
+
+ Override this to unhook functionality from the AssociatedObject.
+
+
+
+
diff --git a/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.xml b/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.xml
new file mode 100644
index 0000000..54f5ed7
--- /dev/null
+++ b/src/packages/Prism.4.1.0.0/lib/SL5/Microsoft.Practices.Prism.xml
@@ -0,0 +1,5586 @@
+
+
+
+ Microsoft.Practices.Prism
+
+
+
+
+ Base class that provides a basic bootstrapping sequence and hooks
+ that specific implementations can override
+
+
+ This class must be overriden to provide application specific configuration.
+
+
+
+
+ Create the used by the bootstrapper.
+
+
+ The base implementation returns a new TextLogger.
+
+
+
+
+ Runs the bootstrapper process.
+
+
+
+
+ Creates the used by Prism.
+
+
+ The base implementation returns a new ModuleCatalog.
+
+
+
+
+ Configures the used by Prism.
+
+
+
+
+ Registers the s of the Exceptions that are not considered
+ root exceptions by the .
+
+
+
+
+ Initializes the modules. May be overwritten in a derived class to use a custom Modules Catalog
+
+
+
+
+ Configures the default region adapter mappings to use in the application, in order
+ to adapt UI controls defined in XAML to use a region and register it automatically.
+ May be overwritten in a derived class to add specific mappings required by the application.
+
+ The instance containing all the mappings.
+
+
+
+ Configures the .
+ This will be the list of default behaviors that will be added to a region.
+
+
+
+
+ Initializes the shell.
+
+
+
+
+ Run the bootstrapper process.
+
+ If , registers default
+ Composite Application Library services in the container. This is the default behavior.
+
+
+
+ Creates the shell or main window of the application.
+
+ The shell of the application.
+
+ If the returned instance is a , the
+ will attach the default of
+ the application in its attached property
+ in order to be able to add regions by using the
+ attached property from XAML.
+
+
+
+
+ Configures the LocatorProvider for the .
+
+
+
+
+ Gets the for the application.
+
+ A instance.
+
+
+
+ Gets the default for the application.
+
+ The default instance.
+
+
+
+ Gets the shell user interface
+
+ The shell user interface.
+
+
+
+ Class that provides extension methods to Collection
+
+
+
+
+ Add a range of items to a collection.
+
+ Type of objects within the collection.
+ The collection to add items to.
+ The items to add to the collection.
+ The collection.
+ An is thrown if or is .
+
+
+
+ Behavior that allows controls that derrive from to hook up with objects.
+
+
+ This Behavior is required in Silverlight, because Silverlight does not have Commanding support.
+
+
+
+
+ Base behavior to handle connecting a to a Command.
+
+ The target object must derive from Control
+
+ CommandBehaviorBase can be used to provide new behaviors for commands.
+
+
+
+
+ Constructor specifying the target object.
+
+ The target object the behavior is attached to.
+
+
+
+ Updates the target object's IsEnabled property based on the commands ability to execute.
+
+
+
+
+ Executes the command, if it's set, providing the
+
+
+
+
+ Corresponding command to be execute and monitored for
+
+
+
+
+ The parameter to supply the command during execution
+
+
+
+
+ Object to which this behavior is attached.
+
+
+
+
+ Initializes a new instance of the class and hooks up the Click event of
+ to the ExecuteCommand() method.
+
+ The clickable object.
+
+
+
+ Static Class that holds all Dependency Properties and Static methods to allow
+ the Click event of the ButtonBase class to be attached to a Command.
+
+
+ This class is required, because Silverlight doesn't have native support for Commands.
+
+
+
+
+ Command to execute on click event.
+
+
+
+
+ Command parameter to supply on command execution.
+
+
+
+
+ Sets the to execute on the click event.
+
+ ButtonBase dependency object to attach command
+ Command to attach
+
+
+
+ Retrieves the attached to the .
+
+ ButtonBase containing the Command dependency property
+ The value of the command attached
+
+
+
+ Sets the value for the CommandParameter attached property on the provided .
+
+ ButtonBase to attach CommandParameter
+ Parameter value to attach
+
+
+
+ Gets the value in CommandParameter attached property on the provided
+
+ ButtonBase that has the CommandParameter
+ The value of the property
+
+
+
+ The CompositeCommand composes one or more ICommands.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ Indicates when the command activity is going to be monitored.
+
+
+
+ Adds a command to the collection and signs up for the event of it.
+
+
+ If this command is set to monitor command activity, and
+ implements the interface, this method will subscribe to its
+ event.
+
+ The command to register.
+
+
+
+ Removes a command from the collection and removes itself from the event of it.
+
+ The command to unregister.
+
+
+
+ Forwards to the registered commands and returns
+ if all of the commands return .
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+ if all of the commands return ; otherwise, .
+
+
+
+ Forwards to the registered commands.
+
+ Data used by the command.
+ If the command does not require data to be passed, this object can be set to .
+
+
+
+
+ Evaluates if a command should execute.
+
+ The command to evaluate.
+ A value indicating whether the command should be used
+ when evaluating and .
+
+ If this command is set to monitor command activity, and
+ implements the interface,
+ this method will return if the command's
+ property is ; otherwise it always returns .
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Handler for IsActiveChanged events of registered commands.
+
+ The sender.
+ EventArgs to pass to the event.
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Gets the list of all the registered commands.
+
+ A list of registered commands.
+ This returns a copy of the commands subscribed to the CompositeCommand.
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is useful when registering this command in a that monitors command's activity.
+
+ Parameter type.
+
+ The constructor deliberately prevent the use of value types.
+ Because ICommand takes an object, having a value type for T would cause unexpected behavior when CanExecute(null) is called during XAML initialization for command bindings.
+ Using default(T) was considered and rejected as a solution because the implementor would not be able to distinguish between a valid and defaulted values.
+
+ Instead, callers should support a value type by using a nullable value type and checking the HasValue property before using the Value property.
+
+
+ public MyClass()
+ {
+ this.submitCommand = new DelegateCommand<int?>(this.Submit, this.CanSubmit);
+ }
+
+ private bool CanSubmit(int? customerId)
+ {
+ return (customerId.HasValue && customers.Contains(customerId.Value));
+ }
+
+
+
+
+
+
+ An whose delegates can be attached for and .
+ It also implements the interface, which is
+ useful when registering this command in a
+ that monitors command's activity.
+
+
+
+
+ Interface that defines if the object instance is active
+ and notifies when the activity changes.
+
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Notifies that the value for property has changed.
+
+
+
+
+ Createse a new instance of a , specifying both the execute action and the can execute function.
+
+ The to execute when is invoked.
+ The to invoked when is invoked.
+
+
+
+ Raises on the UI thread so every
+ command invoker can requery to check if the
+ can execute.
+
+
+
+
+ Raises on the UI thread so every command invoker
+ can requery to check if the command can execute.
+ Note that this will trigger the execution of once for each invoker.
+
+
+
+
+ This raises the event.
+
+
+
+
+ Executes the command with the provided parameter by invoking the supplied during construction.
+
+
+
+
+
+ Determines if the command can execute with the provided parameter by invoing the supplied during construction.
+
+ The parameter to use when determining if this command can execute.
+ Returns if the command can execute. otherwise.
+
+
+
+ Gets or sets a value indicating whether the object is active.
+
+ if the object is active; otherwise .
+
+
+
+ Fired if the property changes.
+
+
+
+
+ Occurs when changes occur that affect whether or not the command should execute.
+
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ will always return true.
+
+
+
+ Initializes a new instance of .
+
+ Delegate to execute when Execute is called on the command. This can be null to just hook up a CanExecute delegate.
+ Delegate to execute when CanExecute is called on the command. This can be null.
+ When both and ar .
+
+
+
+ Determines if the command can execute by invoked the provided during construction.
+
+ Data used by the command to determine if it can execute.
+
+ if this command can be executed; otherwise, .
+
+
+
+
+ Executes the command and invokes the provided during construction.
+
+ Data used by the command.
+
+
+
+ An whose delegates do not take any parameters for and .
+
+
+
+
+
+
+ Creates a new instance of with the to invoke on execution.
+
+ The to invoke when is called.
+
+
+
+ Creates a new instance of with the to invoke on execution
+ and a to query for determining if the command can execute.
+
+ The to invoke when is called.
+ The to invoke when is called
+
+
+
+ Executes the command.
+
+
+
+
+ Determines if the command can be executed.
+
+ Returns if the command can execute,otherwise returns .
+
+
+
+ Extends to invoke the delegate in a background thread.
+
+ The type to use for the generic and types.
+
+
+
+ Provides a way to retrieve a to execute an action depending
+ on the value of a second filter predicate that returns true if the action should execute.
+
+ The type to use for the generic and types.
+
+
+
+ Defines a contract for an event subscription to be used by .
+
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Gets the execution strategy to publish this event.
+
+ An with the execution strategy, or if the is no longer valid.
+
+ If or are no longer valid because they were
+ garbage collected, this method will return .
+ Otherwise it will return a delegate that evaluates the and if it
+ returns will then call . The returned
+ delegate holds hard references to the and target
+ delegates. As long as the returned delegate is not garbage collected,
+ the and references delegates won't get collected either.
+
+
+
+
+ Invokes the specified synchronously when not overriden.
+
+ The action to execute.
+ The payload to pass while invoking it.
+ An is thrown if is null.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets the target that is referenced by the .
+
+ An or if the referenced target is not alive.
+
+
+
+ Gets or sets a that identifies this .
+
+ A token that identifies this .
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified in an asynchronous thread by using a .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Defines a class that manages publication and subscription to events.
+
+ The type of message that will be passed to the subscribers.
+
+
+
+ Defines a base class to publish and subscribe to events.
+
+
+
+
+ Adds the specified to the subscribers' collection.
+
+ The subscriber.
+ The that uniquely identifies every subscriber.
+
+ Adds the subscription to the internal list and assigns it a new .
+
+
+
+
+ Calls all the execution strategies exposed by the list of .
+
+ The arguments that will be passed to the listeners.
+ Before executing the strategies, this class will prune all the subscribers from the
+ list that return a when calling the
+ method.
+
+
+
+ Removes the subscriber matching the .
+
+ The returned by while subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The returned by while subscribing to the event.
+ if there is a that matches; otherwise .
+
+
+
+ Gets the list of current subscriptions.
+
+ The current subscribers.
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+ will maintain a to the target of the supplied delegate.
+
+ The delegate that gets executed when the event is published.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+ CompositePresentationEvent will maintain a to the Target of the supplied delegate.
+
+ The delegate that gets executed when the event is raised.
+ Specifies on which thread to receive the delegate callback.
+ A that uniquely identifies the added subscription.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event that will be published on the .
+
+ The delegate that gets executed when the event is published.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Subscribes a delegate to an event.
+
+ The delegate that gets executed when the event is published.
+ Specifies on which thread to receive the delegate callback.
+ When , the keeps a reference to the subscriber so it does not get garbage collected.
+ Filter to evaluate if the subscriber should receive the event.
+ A that uniquely identifies the added subscription.
+
+ If is set to , will maintain a to the Target of the supplied delegate.
+ If not using a WeakReference ( is ), the user must explicitly call Unsubscribe for the event when disposing the subscriber in order to avoid memory leaks or unexepcted behavior.
+
+ The CompositePresentationEvent collection is thread-safe.
+
+
+
+
+ Publishes the .
+
+ Message to pass to the subscribers.
+
+
+
+ Removes the first subscriber matching from the subscribers' list.
+
+ The used when subscribing to the event.
+
+
+
+ Returns if there is a subscriber matching .
+
+ The used when subscribing to the event.
+ if there is an that matches; otherwise .
+
+
+
+ Gets the that is bound to the UI elements.
+
+ The to use when subscribing using .
+
+
+
+ Generic arguments class to pass to event handlers that need to receive data.
+
+ The type of data to pass.
+
+
+
+ Initializes the DataEventArgs class.
+
+ Information related to the event.
+
+
+
+ Gets the information related to the event.
+
+ Information related to the event.
+
+
+
+ Represents a reference to a that may contain a
+ to the target. This class is used
+ internally by the Composite Application Library.
+
+
+
+
+ Represents a reference to a .
+
+
+
+
+ Gets the referenced object.
+
+ A instance if the target is valid; otherwise .
+
+
+
+ Initializes a new instance of .
+
+ The original to create a reference for.
+ If the class will create a weak reference to the delegate, allowing it to be garbage collected. Otherwise it will keep a strong reference to the target.
+ If the passed is not assignable to .
+
+
+
+ Gets the (the target) referenced by the current object.
+
+ if the object referenced by the current object has been garbage collected; otherwise, a reference to the referenced by the current object.
+
+
+
+ Extends to invoke the delegate
+ in a specific .
+
+ The type to use for the generic and types.
+
+
+
+ Creates a new instance of .
+
+ A reference to a delegate of type .
+ A reference to a delegate of type .
+ The dispatcher to use when executing the delegate.
+ When or are .
+ When the target of is not of type ,
+ or the target of is not of type .
+
+
+
+ Invokes the specified asynchronously in the specified .
+
+ The action to execute.
+ The payload to pass while invoking it.
+
+
+
+ Implements .
+
+
+
+
+ Defines an interface to get instances of an event type.
+
+
+
+
+ Gets an instance of an event type.
+
+ The type of event to get.
+ An instance of an event object of type .
+
+
+
+ Gets the single instance of the event managed by this EventAggregator. Multiple calls to this method with the same returns the same event instance.
+
+ The type of event to get. This must inherit from .
+ A singleton instance of an event object of type .
+
+
+
+ Defines the interface for invoking methods through a Dispatcher Facade
+
+
+
+
+ Dispatches an invocation to the method received as parameter.
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Subscription token returned from on subscribe.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Indicates whether the current object is equal to another object of the same type.
+
+
+ if the current object is equal to the parameter; otherwise, .
+
+ An object to compare with this object.
+
+
+
+ Determines whether the specified is equal to the current .
+
+
+ true if the specified is equal to the current ; otherwise, false.
+
+ The to compare with the current .
+ The parameter is null.2
+
+
+
+ Serves as a hash function for a particular type.
+
+
+ A hash code for the current .
+
+ 2
+
+
+
+ Disposes the SubscriptionToken, removing the subscription from the corresponding .
+
+
+
+
+ Specifies on which thread a subscriber will be called.
+
+
+
+
+ The call is done on the same thread on which the was published.
+
+
+
+
+ The call is done on the UI thread.
+
+
+
+
+ The call is done asynchronously on a background thread.
+
+
+
+
+ Class that provides extension methods for the Exception class. These extension methods provide
+ a mechanism for developers to get more easily to the root cause of an exception, especially in combination with
+ DI-containers such as Unity.
+
+
+
+
+ Register the type of an Exception that is thrown by the framework. The method uses
+ this list of Exception types to find out if something has gone wrong.
+
+ The type of exception to register.
+
+
+
+ Determines whether the exception type is already registered using the
+ method
+
+ The type of framework exception to find.
+
+ true if the exception type is already registered; otherwise, false.
+
+
+
+
+ Looks at all the inner exceptions of the parameter to find the
+ most likely root cause of the exception. This works by skipping all registered exception types.
+
+
+ This method is not 100% accurate and should only be used to point a developer into the most likely direction.
+ It should not be used to replace the Inner Exception stack of an exception, because this might hide required exception
+ information.
+
+ The exception that will provide the list of inner exeptions to examine.
+
+ The exception that most likely caused the exception to occur. If it can't find the root exception, it will return the
+ value itself.
+
+
+
+
+ A dictionary of lists.
+
+ The key to use for lists.
+ The type of the value held by lists.
+
+
+
+ If a list does not already exist, it will be created automatically.
+
+ The key of the list that will hold the value.
+
+
+
+ Adds a value to a list with the given key. If a list does not already exist,
+ it will be created automatically.
+
+ The key of the list that will hold the value.
+ The value to add to the list under the given key.
+
+
+
+ Removes all entries in the dictionary.
+
+
+
+
+ Determines whether the dictionary contains the specified value.
+
+ The value to locate.
+ true if the dictionary contains the value in any list; otherwise, false.
+
+
+
+ Determines whether the dictionary contains the given key.
+
+ The key to locate.
+ true if the dictionary contains the given key; otherwise, false.
+
+
+
+ Retrieves the all the elements from the list which have a key that matches the condition
+ defined by the specified predicate.
+
+ The filter with the condition to use to filter lists by their key.
+ The elements that have a key that matches the condition defined by the specified predicate.
+
+
+
+ Retrieves all the elements that match the condition defined by the specified predicate.
+
+ The filter with the condition to use to filter values.
+ The elements that match the condition defined by the specified predicate.
+
+
+
+ Removes a list by key.
+
+ The key of the list to remove.
+ if the element was removed.
+
+
+
+ Removes a value from the list with the given key.
+
+ The key of the list where the value exists.
+ The value to remove.
+
+
+
+ Removes a value from all lists where it may be found.
+
+ The value to remove.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Gets a shallow copy of all values in all lists.
+
+ List of values.
+
+
+
+ Gets the list of keys in the dictionary.
+
+ Collection of keys.
+
+
+
+ Gets or sets the list associated with the given key. The
+ access always succeeds, eventually returning an empty list.
+
+ The key of the list to access.
+ The list associated with the key.
+
+
+
+ Gets the number of lists in the dictionary.
+
+ Value indicating the values count.
+
+
+
+ See for more information.
+
+
+
+
+ See for more information.
+
+
+
+
+ Defines values for the categories used by .
+
+
+
+
+ Debug category.
+
+
+
+
+ Exception category.
+
+
+
+
+ Informational category.
+
+
+
+
+ Warning category.
+
+
+
+
+ Implementation of that does nothing. This
+ implementation is useful when the application does not need logging
+ but there are infrastructure pieces that assume there is a logger.
+
+
+
+
+ Defines a simple logger façade to be used by the Composite Application Library.
+
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ This method does nothing.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Defines values for the priorities used by .
+
+
+
+
+ No priority specified.
+
+
+
+
+ High priority entry.
+
+
+
+
+ Medium priority entry.
+
+
+
+
+ Low priority entry.
+
+
+
+
+ Implementation of that logs into a .
+
+
+
+
+ Initializes a new instance of that writes to
+ the console output.
+
+
+
+
+ Initializes a new instance of .
+
+ The writer to use for writing log entries.
+
+
+
+ Write a new log entry with the specified category and priority.
+
+ Message body to log.
+ Category of the entry.
+ The priority of the entry.
+
+
+
+ Disposes the associated .
+
+ When , disposes the associated .
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Represents the exception that is thrown when there is a circular dependency
+ between modules during the module loading process.
+
+
+
+
+ Base class for exceptions that are thrown because of a problem with modules.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Gets or sets the name of the module that this exception refers to.
+
+ The name of the module.
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class
+ with the specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class
+ with the specified error message and inner exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Exception thrown when a module is declared twice in the same catalog.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The name of the module.
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Defines the contract for the modules deployed in the application.
+
+
+
+
+ Notifies the module that it has be initialized.
+
+
+
+
+ This is the expected catalog definition for the ModuleManager.
+ The ModuleCatalog holds information about the modules that can be used by the
+ application. Each module is described in a ModuleInfo class, that records the
+ name, type and location of the module.
+
+
+
+
+ Return the list of s that depends on.
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns the collection of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A collection of that contains both all s in
+ and also all the they depend on.
+
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Gets all the classes that are in the .
+
+
+
+
+ Marker interface that allows both s and s to be
+ added to the from code and XAML.
+
+
+
+
+ Declares a service which initializes the modules into the application.
+
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Defines the interface for the service that will retrieve and initialize the application's modules.
+
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Defines the interface for moduleTypeLoaders
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Raised repeatedly to provide progress as modules are downloaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+ This event is raised once per ModuleInfo instance requested in .
+
+
+
+
+ Specifies on which stage the Module group will be initialized.
+
+
+
+
+ The module will be initialized when it is available on application start-up.
+
+
+
+
+ The module will be initialized when requested, and not automatically on application start-up.
+
+
+
+
+ Provides completion information after a module is loaded, or fails to load.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ Any error that occurred during the call.
+
+
+
+ Gets the module info.
+
+ The module info.
+
+
+
+ Gets any error that occurred
+
+ The exception if an error occurred; otherwise null.
+
+
+
+ Gets or sets a value indicating whether the error has been handled by the event subscriber.
+
+ trueif the error is handled; otherwise, false.
+
+ If there is an error on this event and no event subscriber sets this to true, an exception will be thrown by the event publisher.
+
+
+
+
+ The holds information about the modules that can be used by the
+ application. Each module is described in a class, that records the
+ name, type and location of the module.
+
+ It also verifies that the is internally valid. That means that
+ it does not have:
+
+ - Circular dependencies
+ - Missing dependencies
+ -
+ Invalid dependencies, such as a Module that's loaded at startup that depends on a module
+ that might need to be retrieved.
+
+
+ The also serves as a baseclass for more specialized Catalogs .
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class while providing an
+ initial list of s.
+
+ The initial list of modules.
+
+
+
+ Creates a from XAML.
+
+ that contains the XAML declaration of the catalog.
+ An instance of built from the XAML.
+
+
+
+ Creates a from a XAML included as an Application Resource.
+
+ Relative that identifies the XAML included as an Application Resource.
+ An instance of build from the XAML.
+
+
+
+ Loads the catalog if necessary.
+
+
+
+
+ Return the list of s that depends on.
+
+
+ If the was not yet validated, this method will call .
+
+ The to get the
+ An enumeration of that depends on.
+
+
+
+ Returns a list of s that contain both the s in
+ , but also all the modules they depend on.
+
+ The modules to get the dependencies for.
+
+ A list of that contains both all s in
+ but also all the they depend on.
+
+
+
+
+ Validates the .
+
+ When validation of the fails.
+
+
+
+ Adds a to the .
+
+ The to add.
+ The for easily adding multiple modules.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Adds a groupless to the catalog.
+
+ Name of the module to be added.
+ of the module to be added.
+ Reference to the location of the module to be added assembly.
+ Stage on which the module to be added will be initialized.
+ Collection of module names () of the modules on which the module to be added logically depends on.
+ The same instance with the added module.
+
+
+
+ Initializes the catalog, which may load and validate the modules.
+
+ When validation of the fails, because this method calls .
+
+
+
+ Creates and adds a to the catalog.
+
+ Stage on which the module group to be added will be initialized.
+ Reference to the location of the module group to be added.
+ Collection of included in the group.
+ with the added module group.
+
+
+
+ Checks for cyclic dependencies, by calling the dependencysolver.
+
+ the.
+
+
+
+
+ Ensures that all the dependencies within refer to s
+ within that list.
+
+ The modules to validate modules for.
+
+ Throws if a in depends on a module that's
+ not in .
+
+ Throws if is .
+
+
+
+ Does the actual work of loading the catalog. The base implementation does nothing.
+
+
+
+
+ Sorts a list of s. This method is called by
+ to return a sorted list.
+
+ The s to sort.
+ Sorted list of s
+
+
+
+ Makes sure all modules have an Unique name.
+
+
+ Thrown if the names of one or more modules are not unique.
+
+
+
+
+ Ensures that there are no cyclic dependencies.
+
+
+
+
+ Ensures that there are no dependencies between modules on different groups.
+
+
+ A groupless module can only depend on other groupless modules.
+ A module within a group can depend on other modules within the same group and/or on groupless modules.
+
+
+
+
+ Ensures that there are no modules marked to be loaded
+ depending on modules loaded
+
+
+
+
+ Returns the on which the received module dependens on.
+
+ Module whose dependant modules are requested.
+ Collection of dependants of .
+
+
+
+ Ensures that the catalog is validated.
+
+
+
+
+ Gets the items in the . This property is mainly used to add s or
+ s through XAML.
+
+ The items in the catalog.
+
+
+
+ Gets all the classes that are in the , regardless
+ if they are within a or not.
+
+ The modules.
+
+
+
+ Gets the s that have been added to the .
+
+ The groups.
+
+
+
+ Gets or sets a value that remembers whether the has been validated already.
+
+
+
+
+ Returns the list of s that are not contained within any .
+
+ The groupless modules.
+
+
+
+ Used by to get the load sequence
+ for the modules to load according to their dependencies.
+
+
+
+
+ Adds a module to the solver.
+
+ The name that uniquely identifies the module.
+
+
+
+ Adds a module dependency between the modules specified by dependingModule and
+ dependentModule.
+
+ The name of the module with the dependency.
+ The name of the module dependingModule
+ depends on.
+
+
+
+ Calculates an ordered vector according to the defined dependencies.
+ Non-dependant modules appears at the beginning of the resulting array.
+
+ The resulting ordered list of modules.
+ This exception is thrown
+ when a cycle is found in the defined depedency graph.
+
+
+
+ Gets the number of modules added to the solver.
+
+ The number of modules.
+
+
+
+ Provides progress information as a module downloads.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The module info.
+ The bytes received.
+ The total bytes to receive.
+
+
+
+ Getsthe module info.
+
+ The module info.
+
+
+
+ Gets the bytes received.
+
+ The bytes received.
+
+
+
+ Gets the total bytes to receive.
+
+ The total bytes to receive.
+
+
+
+ Defines the metadata that describes a module.
+
+
+
+
+ Initializes a new empty instance of .
+
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module 's AssemblyQualifiedName.
+ The modules this instance depends on.
+ An is thrown if is .
+
+
+
+ Initializes a new instance of .
+
+ The module's name.
+ The module's type.
+
+
+
+ Gets or sets the name of the module.
+
+ The name of the module.
+
+
+
+ Gets or sets the module 's AssemblyQualifiedName.
+
+ The type of the module.
+
+
+
+ Gets or sets the list of modules that this module depends upon.
+
+ The list of modules that this module depends upon.
+
+
+
+ Specifies on which stage the Module will be initialized.
+
+
+
+
+ Reference to the location of the module assembly.
+ The following are examples of valid values:
+ http://myDomain/ClientBin/MyModules.xap for remote module in Silverlight
+ file://c:/MyProject/Modules/MyModule.dll for a loose DLL in WPF.
+
+
+
+
+
+ Gets or sets the state of the with regards to the module loading and initialization process.
+
+
+
+
+ Represents a group of instances that are usually deployed together. s
+ are also used by the to prevent common deployment problems such as having a module that's required
+ at startup that depends on modules that will only be downloaded on demand.
+
+ The group also forwards and values to the s that it
+ contains.
+
+
+
+
+ Adds an moduleInfo to the .
+
+ The to the .
+
+
+
+ Forwards and properties from this
+ to .
+
+ The module info to forward values to.
+ An is thrown if is .
+
+
+
+ Removes all s from the .
+
+
+
+
+ Determines whether the contains a specific value.
+
+ The object to locate in the .
+
+ true if is found in the ; otherwise, false.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than 0.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+ The object to remove from the .
+
+ true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Adds an item to the .
+
+
+ The to add to the .
+ Must be of type
+
+
+ The position into which the new element was inserted.
+
+
+
+
+ Determines whether the contains a specific value.
+
+
+ The to locate in the .
+ Must be of type
+
+
+ true if the is found in the ; otherwise, false.
+
+
+
+
+ Determines the index of a specific item in the .
+
+
+ The to locate in the .
+ Must be of type
+
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+
+ The to insert into the .
+ Must be of type
+
+
+ is not a valid index in the .
+
+
+ If is null.
+
+
+ If is not of type
+
+
+
+
+ Removes the first occurrence of a specific object from the .
+
+
+ The to remove from the .
+ Must be of type
+
+
+
+
+ Removes the item at the specified index.
+
+ The zero-based index of the item to remove.
+
+ is not a valid index in the .
+
+
+ The is read-only.
+
+
+
+
+ Copies the elements of the to an , starting at a particular index.
+
+ The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing.
+ The zero-based index in at which copying begins.
+
+ is null.
+
+
+ is less than zero.
+
+
+ is multidimensional.
+ -or-
+ is equal to or greater than the length of .
+ -or-
+ The number of elements in the source is greater than the available space from to the end of the destination .
+
+
+ The type of the source cannot be cast automatically to the type of the destination .
+
+
+
+
+ Determines the index of a specific item in the .
+
+ The object to locate in the .
+
+ The index of if found in the list; otherwise, -1.
+
+
+
+
+ Inserts an item to the at the specified index.
+
+ The zero-based index at which should be inserted.
+ The object to insert into the .
+
+ is not a valid index in the .
+
+
+
+
+ Gets or sets the for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+
+ The initialization mode.
+
+
+
+ Gets or sets the value for the whole group. Any classes that are
+ added after setting this value will also get this .
+
+ The ref value will also be used by the to determine which to use.
+ For example, if the ref property can be converted to an URL, it the XapModuleTypeLoader will be used
+ (Only available in the Silverlight version of CAL).
+ For example, using an "file://" prefix with a valid URL will cause the FileModuleTypeLoader to be used
+ (Only available in the desktop version of CAL).
+
+
+ The ref value that will be used.
+
+
+
+ Gets the number of elements contained in the .
+
+
+
+ The number of elements contained in the .
+
+
+
+
+ Gets a value indicating whether the is read-only.
+
+
+ false, because the is not Read-Only.
+
+
+
+
+ Gets a value indicating whether the has a fixed size.
+
+ false, because the does not have a fixed length.
+
+
+
+
+ Gets or sets the at the specified index.
+
+
+
+
+
+ Gets a value indicating whether access to the is synchronized (thread safe).
+
+
+ true if access to the is synchronized (thread safe); otherwise, false.
+
+
+
+
+ Gets an object that can be used to synchronize access to the .
+
+
+
+ An object that can be used to synchronize access to the .
+
+
+
+
+ Gets or sets the at the specified index.
+
+ The at the specified index
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The name for the module.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+
+
+
+ Adds a new module that is statically referenced to the specified module info group.
+
+ The group where to add the module info in.
+ The type for the module. This type should be a descendant of .
+ The names for the modules that this module depends on.
+ Returns the instance of the passed in module info group, to provide a fluid interface.
+ The name of the module will be the type name.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to load.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception
+ that happened.
+
+ The name of the module.
+ The assembly where the module is located.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Implements the interface. Handles loading of a module based on a type.
+
+
+
+
+ Initializes a new instance of .
+
+ The container that will be used to resolve the modules by specifying its type.
+ The logger to use.
+
+
+
+ Initializes the specified module.
+
+ The module to initialize
+
+
+
+ Handles any exception ocurred in the module Initialization process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The assembly name.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The module to create.
+ A new instance of the module specified by .
+
+
+
+ Uses the container to resolve a new by specifying its .
+
+ The type name to resolve. This type must implement .
+ A new instance of .
+
+
+
+ Component responsible for coordinating the modules' type loading and module initialization process.
+
+
+
+
+ Initializes an instance of the class.
+
+ Service used for initialization of modules.
+ Catalog that enumerates the modules to be loaded and initialized.
+ Logger used during the load and initialization of modules.
+
+
+
+ Initializes the modules marked as on the .
+
+
+
+
+ Loads and initializes the module on the with the name .
+
+ Name of the module requested for initialization.
+
+
+
+ Checks if the module needs to be retrieved before it's initialized.
+
+ Module that is being checked if needs retrieval.
+
+
+
+
+ Loads the modules that are not intialized and have their dependencies loaded.
+
+
+
+
+ Handles any exception ocurred in the module typeloading process,
+ logs the error using the and throws a .
+ This method can be overriden to provide a different behavior.
+
+ The module metadata where the error happenened.
+ The exception thrown that is the cause of the current error.
+
+
+
+
+ Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
+
+ Calls .
+ 2
+
+
+
+ Disposes the associated s.
+
+ When , it is being called from the Dispose method.
+
+
+
+ The module catalog specified in the constructor.
+
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Returns the list of registered instances that will be
+ used to load the types of modules.
+
+ The module type loaders.
+
+
+
+ Exception thrown when a requested was not found.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference to the inner exception that is the cause of this exception.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference if no inner exception is specified.
+
+
+
+ Defines the states a can be in, with regards to the module loading and initialization process.
+
+
+
+
+ Initial state for s. The is defined,
+ but it has not been loaded, retrieved or initialized yet.
+
+
+
+
+ The assembly that contains the type of the module is currently being loaded by an instance of a
+ .
+
+
+
+
+ The assembly that holds the Module is present. This means the type of the can be instantiated and initialized.
+
+
+
+
+ The module is currently Initializing, by the
+
+
+
+
+ The module is initialized and ready to be used.
+
+
+
+
+ Exception that's thrown when there is no registered in
+ that can handle this particular type of module.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+
+ The message that describes the error.
+
+ The inner exception
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Exception thrown by implementations whenever
+ a module fails to retrieve.
+
+
+
+
+ Initializes a new instance.
+
+
+
+
+ Initializes a new instance with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance with a specified error message
+ and a reference to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Initializes the exception with a particular module and error message.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+
+
+
+ Initializes the exception with a particular module, error message and inner exception that happened.
+
+ The name of the module.
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception,
+ or a reference if no inner exception is specified.
+
+
+
+ Class that wraps an object, so that other classes can notify for Change events. Typically, this class is set as
+ a Dependency Property on DependencyObjects, and allows other classes to observe any changes in the Value.
+
+
+ This class is required, because in Silverlight, it's not possible to receive Change notifications for Dependency properties that you do not own.
+
+ The type of the property that's wrapped in the Observable object
+
+
+
+ Identifies the Value property of the ObservableObject
+
+
+
+
+ Event that gets invoked when the Value property changes.
+
+
+
+
+ The value that's wrapped inside the ObservableObject.
+
+
+
+
+ A strongly-typed resource class, for looking up localized strings, etc.
+
+
+
+
+ Returns the cached ResourceManager instance used by this class.
+
+
+
+
+ Overrides the current thread's CurrentUICulture property for all
+ resource lookups using this strongly typed resource class.
+
+
+
+
+ Looks up a localized string similar to The object must be of type '{0}' in order to use the current region adapter..
+
+
+
+
+ Looks up a localized string similar to Cannot change the region name once is set. The current region name is '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot create navigation target '{0}'..
+
+
+
+
+ Looks up a localized string similar to Cannot register a CompositeCommand in itself..
+
+
+
+
+ Looks up a localized string similar to Cannot register the same command twice in the same CompositeCommand..
+
+
+
+
+ Looks up a localized string similar to Type '{0}' does not implement from IRegionBehavior..
+
+
+
+
+ Looks up a localized string similar to The ConfigurationStore cannot contain a null value. .
+
+
+
+
+ Looks up a localized string similar to ContentControl's Content property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's Content property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to At least one cyclic dependency has been found in the module catalog. Cycles in the module dependencies must be avoided..
+
+
+
+
+ Looks up a localized string similar to Deactivation is not possible in this type of region..
+
+
+
+
+ Looks up a localized string similar to {1}: {2}. Priority: {3}. Timestamp:{0:u}..
+
+
+
+
+ Looks up a localized string similar to Neither the executeMethod nor the canExecuteMethod delegates can be null..
+
+
+
+
+ Looks up a localized string similar to T for DelegateCommand<T> is not an object nor Nullable..
+
+
+
+
+ Looks up a localized string similar to Cannot add dependency for unknown module {0}.
+
+
+
+
+ Looks up a localized string similar to A module declared a dependency on another module which is not declared to be loaded. Missing module(s): {0}.
+
+
+
+
+ Looks up a localized string similar to Directory {0} was not found..
+
+
+
+
+ Looks up a localized string similar to A duplicated module with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to A duplicated module group with name {0} has been found by the loader..
+
+
+
+
+ Looks up a localized string similar to Unable to retrieve the module type {0} from the loaded assemblies. You may need to specify a more fully-qualified type name..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {2}
+ - The Assembly that the module was trying to be loaded from was:{1}
+ Check the InnerException property of the exception for more information. If the exception occurred while creating an object in a DI container, you can exception.GetRootException() to help locate the root cause of the problem.
+ .
+
+
+
+
+ Looks up a localized string similar to An exception occurred while initializing module '{0}'.
+ - The exception message was: {1}
+ Check the InnerException property of the exception for more information. If the exception occurred
+ while creating an object in a DI container, you can exception.GetRootException() to help locate the
+ root cause of the problem. .
+
+
+
+
+ Looks up a localized string similar to Failed to load type for module {0}.
+
+ If this error occurred when using MEF in a Silverlight application, please ensure that the CopyLocal property of the reference to the MefExtensions assembly is set to true in the main application/shell and false in all other assemblies.
+
+ Error was: {1}..
+
+
+
+
+ Looks up a localized string similar to HostControl cannot have null value when behavior attaches. .
+
+
+
+
+ Looks up a localized string similar to The HostControl property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to HostControl type must be a TabControl..
+
+
+
+
+ Looks up a localized string similar to The IModuleEnumerator interface is no longer used and has been replaced by ModuleCatalog..
+
+
+
+
+ Looks up a localized string similar to The argument must be a valid absolute Uri to an assembly file..
+
+
+
+
+ Looks up a localized string similar to The Target of the IDelegateReference should be of type {0}..
+
+
+
+
+ Looks up a localized string similar to ItemsControl's ItemsSource property is not empty.
+ This control is being associated with a region, but the control is already bound to something else.
+ If you did not explicitly set the control's ItemSource property,
+ this exception may be caused by a change in the value of the inherited RegionManager attached property..
+
+
+
+
+ Looks up a localized string similar to Mapping with the given type is already registered: {0}..
+
+
+
+
+ Looks up a localized string similar to Module {0} depends on other modules that don't belong to the same group..
+
+
+
+
+ Looks up a localized string similar to Module {0} was not found in the catalog..
+
+
+
+
+ Looks up a localized string similar to The ModulePath cannot contain a null value or be empty.
+
+
+
+
+ Looks up a localized string similar to Failed to load type '{0}' from assembly '{1}'..
+
+
+
+
+ Looks up a localized string similar to Navigation is already in progress on region with name '{0}'..
+
+
+
+
+ Looks up a localized string similar to Navigation cannot proceed until a region is set for the RegionNavigationService..
+
+
+
+
+ Looks up a localized string similar to The IRegionAdapter for the type {0} is not registered in the region adapter mappings. You can register an IRegionAdapter for this control by overriding the ConfigureRegionAdapterMappings method in the bootstrapper..
+
+
+
+
+ Looks up a localized string similar to There is currently no moduleTypeLoader in the ModuleManager that can retrieve the specified module..
+
+
+
+
+ Looks up a localized string similar to An exception has occurred while trying to add a view to region '{0}'.
+ - The most likely causing exception was was: '{1}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The member access expression does not access a property..
+
+
+
+
+ Looks up a localized string similar to The expression is not a member access expression..
+
+
+
+
+ Looks up a localized string similar to The referenced property is a static property..
+
+
+
+
+ Looks up a localized string similar to The Attach method cannot be called when Region property is null..
+
+
+
+
+ Looks up a localized string similar to The Region property cannot be set after Attach method has been called..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while creating a region with name '{0}'. The exception was: {1}. .
+
+
+
+
+ Looks up a localized string similar to The region being added already has a name of '{0}' and cannot be added to the region manager with a different name ('{1}')..
+
+
+
+
+ Looks up a localized string similar to The region name cannot be null or empty..
+
+
+
+
+ Looks up a localized string similar to Region with the given name is already registered: {0}.
+
+
+
+
+ Looks up a localized string similar to This RegionManager does not contain a Region with the name '{0}'..
+
+
+
+
+ Looks up a localized string similar to The region manager does not contain the {0} region..
+
+
+
+
+ Looks up a localized string similar to View already exists in region..
+
+
+
+
+ Looks up a localized string similar to View with name '{0}' already exists in the region..
+
+
+
+
+ Looks up a localized string similar to Module {0} is marked for automatic initialization when the application starts, but it depends on modules that are marked as OnDemand initialization. To fix this error, mark the dependency modules for InitializationMode=WhenAvailable, or remove this validation by extending the ModuleCatalog class..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to The provided String argument {0} must not be null or empty..
+
+
+
+
+ Looks up a localized string similar to No BehaviorType with key '{0}' was registered..
+
+
+
+
+ Looks up a localized string similar to An exception occurred while trying to create region objects.
+ - The most likely causing exception was: '{0}'.
+ But also check the InnerExceptions for more detail or call .GetRootException(). .
+
+
+
+
+ Looks up a localized string similar to The value must be of type ModuleInfo..
+
+
+
+
+ Looks up a localized string similar to {0} not found..
+
+
+
+
+ Looks up a localized string similar to The region does not contain the specified view..
+
+
+
+
+ Region that keeps all the views in it as active. Deactivation of views is not allowed.
+
+
+
+
+ Implementation of that allows multiple active views.
+
+
+
+
+ Defines a model that can be used to compose views.
+
+
+
+
+ Provides methods to perform navigation.
+
+
+ Convenience overloads for the methods in this interface can be found as extension methods on the
+ class.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+ Convenience overloads for this method can be found as extension methods on the
+ class.
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets the navigation service.
+
+ The navigation service.
+
+
+
+ Initializes a new instance of .
+
+
+
+ Adds a new view to the region.
+
+ Adds a new view to the region.
+
+ The view to add.
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ The that is set on the view if it is a . It will be the current region manager when using this overload.
+
+
+
+ Adds a new view to the region.
+
+ The view to add.
+ The name of the view. This can be used to retrieve it later by calling .
+ When , the added view will receive a new instance of , otherwise it will use the current region manager for this region.
+ The that is set on the view if it is a .
+
+
+
+ Removes the specified view from the region.
+
+ The view to remove.
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+
+
+
+ Marks the specified view as inactive.
+
+ The view to deactivate.
+
+
+
+ Returns the view instance that was added to the region using a specific name.
+
+ The name used when adding the view to the region.
+ Returns the named view or if the view with does not exist in the current region.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ The default sort algorithm.
+
+ The first view to compare.
+ The second view to compare.
+
+
+
+
+ Occurs when a property value changes.
+
+
+
+
+ Gets the collection of s that can extend the behavior of regions.
+
+
+
+
+ Gets or sets a context for the region. This value can be used by the user to share context with the views.
+
+ The context value to be shared.
+
+
+
+ Gets the name of the region that uniequely identifies the region within a .
+
+ The name of the region.
+
+
+
+ Gets a readonly view of the collection of views in the region.
+
+ An of all the added views.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region.
+
+ An of all the active views.
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Gets or sets the that will be passed to the views when adding them to the region, unless the view is added by specifying createRegionManagerScope as .
+
+ The where this is registered.
+ This is usually used by implementations of and should not be
+ used by the developer explicitely.
+
+
+
+ Gets the navigation service.
+
+ The navigation service.
+
+
+
+ Gets the collection with all the views along with their metadata.
+
+ An of with all the added views.
+
+
+
+ Deactive is not valid in this Region. This method will always throw .
+
+ The view to deactivate.
+ Every time this method is called.
+
+
+
+ Gets a readonly view of the collection of all the active views in the region. These are all the added views.
+
+ An of all the active views.
+
+
+
+ Populates the target region with the views registered to it in the .
+
+
+
+
+ Provides a base class for region's behaviors.
+
+
+
+
+ Interface for allowing extensible behavior on regions.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ The region that this behavior is extending.
+
+
+
+
+ Attaches the behavior to the region.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Returns if the behavior is attached to a region, otherwise.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Creates a new instance of the AutoPopulateRegionBehavior
+ associated with the received.
+
+ that the behavior will monitor for views to populate the region.
+
+
+
+ Attaches the AutoPopulateRegionBehavior to the Region.
+
+
+
+
+ Returns a collection of views that will be added to the
+ View collection.
+
+
+
+
+
+ Adds a view into the views collection of this region.
+
+
+
+
+
+ Handler of the event that fires when a new viewtype is registered to the registry.
+
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+
+
+
+
+ Defines a behavior that forwards the
+ to the views in the region.
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Attaches the behavior to the specified region.
+
+
+
+
+ Behavior's attached region.
+
+
+
+
+ Behavior that removes the RegionManager attached property of all the views in a region once the RegionManager property of a region becomes null.
+ This is useful when removing views with nested regions, to ensure these nested regions get removed from the RegionManager as well.
+
+ This behavior does not apply by default.
+ In order to activate it, the ClearChildViews attached property must be set to True in the view containing the affected child regions.
+
+
+
+
+
+ The behavior key.
+
+
+
+
+ This attached property can be defined on a view to indicate that regions defined in it must be removed from the region manager when the parent view gets removed from a region.
+
+
+
+
+ Gets the ClearChildViews attached property from a DependencyObject.
+
+ The object from which to get the value.
+ The value of the ClearChildViews attached property in the target specified.
+
+
+
+ Sets the ClearChildViews attached property in a DependencyObject.
+
+ The object in which to set the value.
+ The value of to set in the target object's ClearChildViews attached property.
+
+
+
+ Subscribes to the 's PropertyChanged method to monitor its RegionManager property.
+
+
+
+
+ Behavior that creates a new , when the control that will host the (see )
+ is added to the VisualTree. This behavior will use the class to find the right type of adapter to create
+ the region. After the region is created, this behavior will detach.
+
+
+ Attached property value inheritance is not available in Silverlight, so the current approach walks up the visual tree when requesting a region from a region manager.
+ The is now responsible for walking up the Tree.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+ The region adapter mappings, that are used to find the correct adapter for
+ a given controltype. The controltype is determined by the value.
+
+
+
+
+ Start monitoring the and the to detect when the becomes
+ part of the Visual Tree. When that happens, the Region will be created and the behavior will .
+
+
+
+
+ Stop monitoring the and the , so that this behavior can be garbage collected.
+
+
+
+
+ Called when the is updating it's collection.
+
+
+ This method has to be public, because it has to be callable using weak references in silverlight and other partial trust environments.
+
+ The .
+ The instance containing the event data.
+
+
+
+ Method that will create the region, by calling the right .
+
+ The target element that will host the .
+ Name of the region.
+ The created
+
+
+
+ Sets a class that interfaces between the 's static properties/events and this behavior,
+ so this behavior can be tested in isolation.
+
+ The region manager accessor.
+
+
+
+ The element that will host the Region.
+
+ The target element.
+
+
+
+ Defines a that not allows extensible behaviors on regions which also interact
+ with the target element that the is attached to.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Behavior that monitors a object and
+ changes the value for the property when
+ an object that implements gets added or removed
+ from the collection.
+
+
+ This class can also sync the active state for any scoped regions directly on the view based on the .
+ If you use the method with the createRegionManagerScope option, the scoped manager will be attached to the view.
+
+
+
+
+ Name that identifies the behavior in a collection of .
+
+
+
+
+ Attaches the behavior to the specified region
+
+
+
+
+ Detaches the behavior from the .
+
+
+
+
+ The region that this behavior is extending
+
+
+
+
+ Represents errors that occured during region creation.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Subscribes to a static event from the in order to register the target
+ in a when one is available on the host control by walking up the tree and finding
+ a control whose property is not .
+
+
+
+
+ The key of this behavior.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ When the has a name assigned, the behavior will start monitoring the ancestor controls in the element tree
+ to look for an where to register the region in.
+
+
+
+
+ This event handler gets called when a RegionManager is requering the instances of a region to be registered if they are not already.
+ Although this is a public method to support Weak Delegates in Silverlight, it should not be called by the user.
+
+ The sender.
+ The arguments.
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+ When this member is set after the method has being called.
+
+
+
+ The RegionMemberLifetimeBehavior determines if items should be removed from the
+ when they are deactivated.
+
+
+ The monitors the
+ collection to discover items that transition into a deactivated state.
+
+ The behavior checks the removed items for either the
+ or the (in that order) to determine if it should be kept
+ alive on removal.
+
+ If the item in the collection is a , it will
+ also check it's DataContext for or the .
+
+ The order of checks are:
+
+ - Region Item's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's DataContext's IRegionMemberLifetime.KeepAlive value.
+ - Region Item's RegionMemberLifetimeAttribute.KeepAlive value.
+ - Region Item's DataContext's RegionMemberLifetimeAttribute.KeepAlive value.
+
+
+
+
+
+ The key for this behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Defines the attached behavior that keeps the items of the host control in synchronization with the .
+
+ This behavior also makes sure that, if you activate a view in a region, the SelectedItem is set. If you set the SelectedItem or SelectedItems (ListBox)
+ then this behavior will also call Activate on the selected items.
+
+ When calling Activate on a view, you can only select a single active view at a time. By setting the SelectedItems property of a listbox, you can set
+ multiple views to active.
+
+
+
+
+
+ Name that identifies the SelectorItemsSourceSyncBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Starts to monitor the to keep it in synch with the items of the .
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+
+ For this behavior, the host control must always be a or an inherited class.
+
+
+
+ Behavior that synchronizes the property of a with
+ the control that hosts the Region. It does this by setting the
+ Dependency Property on the host control.
+
+ This behavior allows the usage of two way databinding of the RegionContext from XAML.
+
+
+
+
+ Name that identifies the SyncRegionContextWithHostBehavior behavior in a collection of RegionsBehaviors.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+
+ Adapter that creates a new and monitors its
+ active view to set it on the adapted .
+
+
+
+
+ Base class to facilitate the creation of implementations.
+
+ Type of object to adapt.
+
+
+
+ Defines an interfaces to adapt an object and bind it to a new .
+
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+
+
+
+ Adapts an object and binds it to a new .
+
+ The object to adapt.
+ The name of the region to be created.
+ The new instance of that the is bound to.
+ This methods performs validation to check that
+ is of type .
+ When is .
+ When is not of type .
+
+
+
+ This method adds the default behaviors by using the object.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+
+
+ Template method to adapt the object to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Template method to create a new instance of
+ that will be used to adapt the object.
+
+ A new instance of .
+
+
+
+ Gets or sets the factory used to create the region behaviors to attach to the created regions.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Provides an abstraction on top of the RegionManager static members.
+
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets the value for the RegionName attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ the RegionManager is also set in this element.
+
+
+
+ Gets the value of the RegionName attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Provides a way for objects involved in navigation to determine if a navigation request should continue.
+
+
+
+
+ Provides a way for objects involved in navigation to be notified of navigation activities.
+
+
+
+
+ Called when the implementer has been navigated to.
+
+ The navigation context.
+
+
+
+ Called to determine if this instance can handle the navigation request.
+
+ The navigation context.
+
+ if this instance accepts the navigation request; otherwise, .
+
+
+
+
+ Called when the implementer is being navigated away from.
+
+ The navigation context.
+
+
+
+ Determines whether this instance accepts being navigated away from.
+
+ The navigation context.
+ The callback to indicate when navigation can proceed.
+
+ Implementors of this method do not need to invoke the callback before this method is completed,
+ but they must ensure the callback is eventually invoked.
+
+
+
+
+ Defines the interface for a collection of classes on a Region.
+
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+
+ The key that specifies the type of that's added.
+
+ The to add.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Gets the with the specified key.
+
+ The registered
+
+
+
+ Interface for RegionBehaviorFactories. This factory allows the registration of the default set of RegionBehaviors, that will
+ be added to the s of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. the string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add. .
+
+
+
+ Determines whether a behavior with the specified key already exists
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Creates an instance of the Behaviortype that's registered using the specified key.
+
+ The key that's used to register a behavior type.
+ The created behavior.
+
+
+
+ Defines a collection of uniquely identified by their Name.
+
+
+
+
+ Adds a to the collection.
+
+ Region to be added to the collection.
+
+
+
+ Removes a from the collection.
+
+ Name of the region to be removed.
+ if the region was removed from the collection, otherwise .
+
+
+
+ Checks if the collection contains a with the name received as parameter.
+
+ The name of the region to look for.
+ if the region is contained in the collection, otherwise .
+
+
+
+ Gets the IRegion with the name received as index.
+
+ Name of the region to be retrieved.
+ The identified with the requested name.
+
+
+
+ Defines an interface to manage a set of regions and to attach regions to objects (typically controls).
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+
+
+
+ When implemented, allows an instance placed in a
+ that uses a to indicate
+ it should be removed when it transitions from an activated to deactived state.
+
+
+
+
+ Gets a value indicating whether this instance should be kept-alive upon deactivation.
+
+
+
+
+ Identifies the view in a region that is the target of a navigation request.
+
+
+
+
+ Gets the content to which the navigation request represented by applies.
+
+
+ If none of the items in the region match the target of the navigation request, a new item
+ will be created and added to the region.
+
+ The region.
+ The context representing the navigation request.
+ The item to be the target of the navigation request.
+ when a new item cannot be created for the navigation request.
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+
+ true if the journal can go back; otherwise, false.
+
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets or sets the target that implements INavigateAsync.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Gets or sets the region owning this service.
+
+ A Region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines the interface for the registry of region's content.
+
+
+
+
+ Returns the contents associated with a region name.
+
+ Region name for which contents are requested.
+ Collection of contents associated with the .
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Event triggered when a content is registered to a region name.
+
+
+ This event uses weak references to the event handler to prevent this service (typically a singleton) of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+
+ Defines a class that wraps an item and adds metadata for it.
+
+
+
+
+ The name of the wrapped item.
+
+
+
+
+ Value indicating whether the wrapped item is considered active.
+
+
+
+
+ Initializes a new instance of .
+
+ The item to wrap.
+
+
+
+ Explicitly invokes to notify listeners.
+
+
+
+
+ Gets the wrapped item.
+
+ The wrapped item.
+
+
+
+ Gets or sets a name for the wrapped item.
+
+ The name of the wrapped item.
+
+
+
+ Gets or sets a value indicating whether the wrapped item is considered active.
+
+ if the item should be considered active; otherwise .
+
+
+
+ Occurs when metadata on the item changes.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Defines a view of a collection.
+
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Provides additional methods to the interface.
+
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+ The callback executed when the navigation request is completed.
+
+
+
+ Initiates navigation to the target specified by the .
+
+ The navigation object.
+ The navigation target
+
+
+
+ Encapsulates information about a navigation request.
+
+
+
+
+ Initializes a new instance of the class for a region name and a
+ .
+
+ The navigation service.
+ The Uri.
+
+
+
+ Gets the region navigation service.
+
+ The navigation service.
+
+
+
+ Gets the navigation URI.
+
+ The navigation URI.
+
+
+
+ Gets the extracted from the URI.
+
+ The URI query.
+
+
+
+ Represents the result of navigating to a URI.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The result.
+
+
+
+ Initializes a new instance of the class.
+
+ The context.
+ The error.
+
+
+
+ Gets the result.
+
+ The result.
+
+
+
+ Gets an exception that occurred while navigating.
+
+ The exception.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ This class maps with .
+
+
+
+
+ Registers the mapping between a type and an adapter.
+
+ The type of the control.
+ The adapter to use with the type.
+ When any of or are .
+ If a mapping for already exists.
+
+
+
+ Returns the adapter associated with the type provided.
+
+ The type to obtain the mapped.
+ The mapped to the .
+ This class will look for a registered type for and if there is not any,
+ it will look for a registered type for any of its ancestors in the class hierarchy.
+ If there is no registered type for or any of its ancestors,
+ an exception will be thrown.
+ When there is no registered type for or any of its ancestors.
+
+
+
+ A collection of instances, that are stored and retrieved by Key.
+
+
+
+
+ Initializes a new instance of the class and associates it with a region.
+
+ The region to associate the behavior collection with.
+
+
+
+ Adds a to the collection, using the specified key as an indexer.
+
+ The key that specifies the type of that's added.
+ The to add.
+
+ Thrown is the parameter is Null,
+ or if the parameter is Null.
+
+ Thrown if a behavior with the specified Key parameter already exists.
+
+
+
+ Checks if a with the specified key is already present.
+
+ The key to use to find a particular .
+
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Gets the with the specified key.
+
+ The RegionBehavior that's registered with the key.
+
+
+
+ Defines a factory that allows the registration of the default set of , that will
+ be added to the of all s, unless overridden on a 'per-region' basis.
+
+
+
+
+ Initializes a new instance of .
+
+ used to create the instance of the behavior from its .
+
+
+
+ Adds a particular type of RegionBehavior if it was not already registered. The string is used to check if the behavior is already present
+
+ The behavior key that's used to find if a certain behavior is already added.
+ Type of the behavior to add.
+
+
+
+ Creates an instance of the behavior that is registered using the specified key.
+
+ The key that is used to register a behavior type.
+ A new instance of the behavior.
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+ 1
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+ 2
+
+
+
+ Determines whether a behavior with the specified key already exists.
+
+ The behavior key.
+
+ if a behavior with the specified key is present; otherwise, .
+
+
+
+
+ Class that holds methods to Set and Get the RegionContext from a DependencyObject.
+
+ RegionContext allows sharing of contextual information between the view that's hosting a
+ and any views that are inside the Region.
+
+
+
+
+ Returns an wrapper around the RegionContext value. The RegionContext
+ will be set on any views (dependency objects) that are inside the collection by
+ the Behavior.
+ The RegionContext will also be set to the control that hosts the Region, by the Behavior.
+
+ If the wrapper does not already exist, an empty one will be created. This way, an observer can
+ notify when the value is set for the first time.
+
+ Any view that hold the RegionContext value.
+ Wrapper around the Regioncontext value.
+
+
+
+ This class is responsible for maintaining a collection of regions and attaching regions to controls.
+
+
+ This class supplies the attached properties that can be used for simple region creation from XAML.
+
+
+
+
+ Identifies the RegionName attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Sets the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region to register.
+
+
+
+ Gets the value for the attached property.
+
+ The object to adapt. This is typically a container (i.e a control).
+ The name of the region that should be created when
+ is also set in this element.
+
+
+
+ Returns an wrapper that can hold an . Using this wrapper
+ you can detect when an has been created by the .
+
+ If the wrapper does not yet exist, a new wrapper will be created. When the region
+ gets created and assigned to the wrapper, you can use the event
+ to get notified of that change.
+
+ The view that will host the region.
+ Wrapper that can hold an value and can notify when the value changes.
+
+
+
+ Identifies the RegionManager attached property.
+
+
+ When a control has both the and
+ attached properties set to
+ a value different than and there is a
+ mapping registered for the control, it
+ will create and adapt a new region for that control, and register it
+ in the with the specified region name.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The attached to the element.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Identifies the RegionContext attached property.
+
+
+
+
+ Gets the value of the attached property.
+
+ The target element.
+ The region context to pass to the contained views.
+
+
+
+ Sets the attached property.
+
+ The target element.
+ The value.
+
+
+
+ Notifies attached behaviors to update the region managers appropriatelly if needed to.
+
+
+ This method is normally called internally, and there is usually no need to call this from user code.
+
+
+
+
+ Initializes a new instance of .
+
+
+
+
+ Creates a new region manager.
+
+ A new region manager that can be used as a different scope from the current region manager.
+
+
+
+ Notification used by attached behaviors to update the region managers appropriatelly if needed to.
+
+ This event uses weak references to the event handler to prevent this static event of keeping the
+ target element longer than expected. For security reasons, to use weak delegates in Silverlight you must provide
+ a delegate that is available in the public API of the class (no private or anonymous delegates allowed).
+
+
+
+ Gets a collection of that identify each region by name. You can use this collection to add or remove regions to the current region manager.
+
+ A with all the registered regions.
+
+
+
+ Class that creates a fluent interface for the class, with respect to
+ adding views to regions (View Injection pattern), registering view types to regions (View Discovery pattern)
+
+
+
+
+ Add a view to the Views collection of a Region. Note that the region must already exist in this regionmanager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to add a view to
+ The view to add to the views collection
+ The RegionManager, to easily add several views.
+
+
+
+ Associate a view with a region, by registering a type. When the region get's displayed
+ this type will be resolved using the ServiceLocator into a concrete instance. The instance
+ will be added to the Views collection of the region
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The type of the view to register with the
+ The regionmanager, for adding several views easily
+
+
+
+ Associate a view with a region, using a delegate to resolve a concreate instance of the view.
+ When the region get's displayed, this delelgate will be called and the result will be added to the
+ views collection of the region.
+
+ The regionmanager that this extension method effects.
+ The name of the region to associate the view with.
+ The delegate used to resolve a concreate instance of the view.
+ The regionmanager, for adding several views easily
+
+
+
+ Adds a region to the regionmanager with the name received as argument.
+
+ The regionmanager's collection of regions.
+ The name to be given to the region.
+ The region to be added to the regionmanager.
+ Thrown if or is .
+ Thrown if and 's name do not match and the is not .
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+ The navigation callback.
+
+
+
+ Navigates the specified region manager.
+
+ The regionmanager that this extension method effects.
+ The name of the region to call Navigate on.
+ The URI of the content to display.
+
+
+
+ When is applied to class provides data
+ the can use to determine if the instance should
+ be removed when it is deactivated.
+
+
+
+
+ Instantiates an instance of
+
+
+
+
+ Determines if the region member should be kept-alive
+ when deactivated.
+
+
+
+
+ Implementation of that relies on a
+ to create new views when necessary.
+
+
+
+
+ Initializes a new instance of the class with a service locator.
+
+ The service locator.
+
+
+
+ Gets the view to which the navigation request represented by applies.
+
+ The region.
+ The context representing the navigation request.
+
+ The view to be the target of the navigation request.
+
+
+ If none of the views in the region can be the target of the navigation request, a new view
+ is created and added to the region.
+
+ when a new view cannot be created for the navigation request.
+
+
+
+ Provides a new item for the region based on the supplied candidate target contract name.
+
+ The target contract to build.
+ An instance of an item to put into the .
+
+
+
+ Returns the candidate TargetContract based on the .
+
+ The navigation contract.
+ The candidate contract to seek within the and to use, if not found, when resolving from the container.
+
+
+
+ Returns the set of candidates that may satisfiy this navigation request.
+
+ The region containing items that may satisfy the navigation request.
+ The candidate navigation target as determined by
+ An enumerable of candidate objects from the
+
+
+
+ EventArgs used with the Navigated event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ EventArgs used with the NavigationFailed event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+
+
+
+ Initializes a new instance of the class.
+
+ The navigation context.
+ The error.
+
+
+
+ Gets the navigation context.
+
+ The navigation context.
+
+
+
+ Gets the error.
+
+ The , or if the failure was not caused by an exception.
+
+
+
+ Gets the navigation URI
+
+ The URI.
+
+ This is a convenience accessor around NavigationContext.Uri.
+
+
+
+
+ Provides journaling of current, back, and forward navigation within regions.
+
+
+
+
+ Navigates to the most recent entry in the back navigation history, or does nothing if no entry exists in back navigation.
+
+
+
+
+ Navigates to the most recent entry in the forward navigation history, or does nothing if no entry exists in forward navigation.
+
+
+
+
+ Records the navigation to the entry..
+
+ The entry to record.
+
+
+
+ Clears the journal of current, back, and forward navigation histories.
+
+
+
+
+ Gets or sets the target that implements INavigate.
+
+ The INavigate implementation.
+
+ This is set by the owner of this journal.
+
+
+
+
+ Gets the current navigation entry of the content that is currently displayed.
+
+ The current entry.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the back navigation history.
+
+ true if the journal can go back; otherwise, false.
+
+
+
+ Gets a value that indicates whether there is at least one entry in the forward navigation history.
+
+
+ true if this instance can go forward; otherwise, false.
+
+
+
+
+ An entry in an IRegionNavigationJournal representing the URI navigated to.
+
+
+
+
+ Returns a that represents this instance.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets or sets the URI.
+
+ The URI.
+
+
+
+ Provides navigation for regions.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The service locator.
+ The navigation target handler.
+ The journal.
+
+
+
+ Initiates navigation to the specified target.
+
+ The target.
+ A callback to execute when the navigation request is completed.
+
+
+
+ Gets or sets the region.
+
+ The region.
+
+
+
+ Gets the journal.
+
+ The journal.
+
+
+
+ Raised when the region is about to be navigated to content.
+
+
+
+
+ Raised when the region is navigated to content.
+
+
+
+
+ Raised when a navigation request fails.
+
+
+
+
+ Defines a registry for the content of the regions used on View Discovery composition.
+
+
+
+
+ Creates a new instance of the class.
+
+ used to create the instance of the views from its .
+
+
+
+ Returns the contents registered for a region.
+
+ Name of the region which content is being requested.
+ Collection of contents registered for the region.
+
+
+
+ Registers a content type with a region name.
+
+ Region name to which the will be registered.
+ Content type to be registered for the .
+
+
+
+ Registers a delegate that can be used to retrieve the content associated with a region name.
+
+ Region name to which the will be registered.
+ Delegate used to retrieve the content associated with the .
+
+
+
+ Creates an instance of a registered view .
+
+ Type of the registered view.
+ Instance of the registered view.
+
+
+
+ Occurs whenever a new view is registered.
+
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+ It also keeps the and the selected items
+ of the in sync.
+
+
+
+
+ Initializes a new instance of .
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Adapts an to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also listens for changes in the
+ activity of the region or the control selection and keeps the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ Region that allows a maximum of one active view at a time.
+
+
+
+
+ Marks the specified view as active.
+
+ The view to activate.
+ If there is an active view before calling this method,
+ that view will be deactivated automatically.
+
+
+
+ Defines that a view is synchronized with its parent view's Active state.
+
+
+
+
+ Represents errors that occured during the regions' update.
+
+
+
+
+ Initializes a new instance of the
+
+
+
+
+ Initializes a new instance of the class with a specified error message.
+
+ The message that describes the error.
+
+
+
+ Initializes a new instance of the class with a specified error message and a reference
+ to the inner exception that is the cause of this exception.
+
+ The error message that explains the reason for the exception.
+ The exception that is the cause of the current exception, or a null reference
+ (Nothing in Visual Basic) if no inner exception is specified.
+
+
+
+ Argument class used by the event when a new content is registered.
+
+
+
+
+ Initializes the ViewRegisteredEventArgs class.
+
+ The region name to which the content was registered.
+ The content which was registered.
+
+
+
+ Gets the region name to which the content was registered.
+
+
+
+
+ Gets the content which was registered.
+
+
+
+
+ Exception that's thrown when something goes wrong while Registering a View with a region name in the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+
+
+
+ Initializes a new instance of the class.
+
+ The exception message.
+ The inner exception.
+
+
+
+ Implementation of that takes an of
+ and filters it to display an collection of
+ elements (the items which the wraps).
+
+
+
+
+ Initializes a new instance of the class.
+
+ The list to wrap and filter.
+ A predicate to filter the collection.
+
+
+
+ Determines whether the collection contains a specific value.
+
+ The object to locate in the collection.
+ if is found in the collection; otherwise, .
+
+
+
+ Returns an enumerator that iterates through the collection.
+
+
+ A that can be used to iterate through the collection.
+
+
+
+
+ Returns an enumerator that iterates through a collection.
+
+
+ An object that can be used to iterate through the collection.
+
+
+
+
+ Used to invoked the event.
+
+
+
+
+
+ Removes all monitoring of underlying MetadataItems and re-adds them.
+
+
+
+
+ Adds all underlying MetadataItems to the list from the subjectCollection
+
+
+
+
+ Removes all monitored items from our monitoring list.
+
+
+
+
+ Adds handler to monitor the MetadatItem and adds it to our monitoring list.
+
+
+
+
+
+
+ Unhooks from the MetadataItem change event and removes from our monitoring list.
+
+
+
+
+
+ Invoked when any of the underlying ItemMetadata items we're monitoring changes.
+
+
+
+
+
+
+ The event handler due to changes in the underlying collection.
+
+
+
+
+
+
+ Occurs when the collection changes.
+
+
+
+
+ Gets or sets the comparison used to sort the views.
+
+ The comparison to use.
+
+
+
+ Provides a hint from a view to a region on how to sort the view.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The hint to use for sorting.
+
+
+
+ Gets the hint.
+
+ The hint to use for sorting.
+
+
+
+ Defines extension methods for the class.
+
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Locator to use in resolving.
+ Type to resolve.
+ T or null
+ Thrown when is .
+
+
+
+ Attempts to resolve specified type from the underlying .
+
+
+ This will return null on any .
+ Type to resolve.
+ Locator to use in resolving.
+ T or null
+
+
+
+ Helper class for parsing instances.
+
+
+
+
+ Gets the query part of .
+
+ The Uri.
+
+
+
+ Gets the AbsolutePath part of .
+
+ The Uri.
+
+
+
+ Parses the query of into a dictionary.
+
+ The URI.
+
+
+
+ Represents a query in a Uri.
+
+
+ This class can be used to parse a query string to access
+
+
+
+
+ Initializes a new instance of the class.
+
+
+
+
+ Initializes a new instance of the class with a query string.
+
+ The query string.
+
+
+
+ Gets the enumerator.
+
+
+
+
+
+ Adds the specified key and value.
+
+ The name.
+ The value.
+
+
+
+ Returns a that represents this instance as a query string.
+
+
+ A that represents this instance.
+
+
+
+
+ Gets the with the specified key.
+
+ The value for the specified key, or if the query does not contain such a key.
+
+
+
+ Manages validation errors for an object, notifying when the error state changes.
+
+ The type of the error object.
+
+
+
+ Initializes a new instance of the class.
+
+ The action that invoked if when errors are added for an object./>
+ event.
+
+
+
+ Gets the validation errors for a specified property.
+
+ The name of the property.
+ The validation errors of type for the property.
+
+
+
+ Clears the errors for the property indicated by the property expression.
+
+ The property type.
+ The expression indicating a property.
+
+ container.ClearErrors(()=>SomeProperty);
+
+
+
+
+ Clears the errors for a property.
+
+ The name of th property for which to clear errors.
+
+ container.ClearErrors("SomeProperty");
+
+
+
+
+ Sets the validation errors for the specified property.
+
+ The property type for which to set errors.
+ The indicating the property.
+ The list of errors to set for the property.
+
+
+
+ Sets the validation errors for the specified property.
+
+
+ If a change is detected then the errors changed event is raised.
+
+ The name of the property.
+ The new validation errors.
+
+
+
+ Gets a value indicating whether the object has validation errors.
+
+
+
+
+ Base class for items that support property notification.
+
+
+ This class provides basic support for implementing the interface and for
+ marshalling execution to the UI thread.
+
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The property that has a new value.
+
+
+
+ Raises this object's PropertyChanged event for each of the properties.
+
+ The properties that have a new value.
+
+
+
+ Raises this object's PropertyChanged event.
+
+ The type of the property that has a new value
+ A Lambda expression representing the property that has a new value.
+
+
+
+ Raised when a property on this object has a new value.
+
+
+
+
+ Provides support for extracting property information based on a property expression.
+
+
+
+
+ Extracts the property name from a property expression.
+
+ The object type containing the property specified in the expression.
+ The property expression (e.g. p => p.PropertyName)
+ The name of the property.
+ Thrown if the is null.
+ Thrown when the expression is:
+ Not a
+ The does not represent a property.
+ Or, the property is static.
+
+
+
+
+ Wraps the Deployment Dispatcher.
+
+
+
+
+ Forwards the BeginInvoke to the current deployment's .
+
+ Method to be invoked.
+ Arguments to pass to the invoked method.
+
+
+
+ Defines extension methods on the class.
+
+
+
+
+ Removes the all the elements that match the conditions defined by the specified predicate.
+
+ of the List's items.
+ .
+ The delegate that defines the conditions of the elements to remove.
+
+
+
+ Provides data for the event.
+
+
+
+
+ Initializes a new instance of the class.
+
+ The downloaded .
+ Any error that occurred during the asynchronous operation.
+ A value that indicates whether the asynchronous operation was canceled.
+ The optional user-supplied state object that is used to identify the task that raised the MethodNameCompleted event.
+
+
+
+ Gets the downloaded .
+
+
+
+
+ Defines the component used to download files.
+
+ This is mainly a wrapper for the class that implements .
+
+
+
+ Defines a contract for the object used to download files asynchronously.
+
+
+
+
+ Starts downloading asynchronously a file from .
+
+ The location of the file to be downloaded.
+ Provides a user-specified identifier for the asynchronous task.
+
+
+
+ Raised whenever the download progress changes.
+
+
+
+
+ Raised download is complete.
+
+
+
+
+ Starts downloading asynchronously a file from .
+
+ The location of the file to be downloaded.
+ Provides a user-specified identifier for the asynchronous task.
+
+
+
+ Raised whenever the download progress changes.
+
+
+
+
+ Raised download is complete.
+
+
+
+
+ Component responsible for downloading remote modules
+ and load their into the current application domain.
+
+
+
+
+ Evaluates the property to see if the current typeloader will be able to retrieve the .
+
+ Module that should have it's type loaded.
+ if the current typeloader is able to retrieve the module, otherwise .
+
+
+
+ Retrieves the .
+
+ Module that should have it's type loaded.
+
+
+
+ Creates the used to retrieve the remote modules.
+
+ The used to retrieve the remote modules.
+
+
+
+ Raised repeatedly to provide progress as modules are loaded in the background.
+
+
+
+
+ Raised when a module is loaded or fails to load.
+
+
+
+
+ Behavior that generates containers for the added items
+ and also keeps the and the in sync.
+
+
+
+
+ The behavior key for this region sync behavior.
+
+
+
+
+ Override this method to perform the logic after the behavior has been attached.
+
+
+
+
+ Gets the item contained in the .
+
+ The container item.
+ The item contained in the if it was generated automatically by the behavior; otherwise .
+
+
+
+ Override to change how TabItem's are prepared for items.
+
+ The item to wrap in a TabItem
+ The parent
+ A tab item that wraps the supplied
+
+
+
+ Undoes the effects of the method.
+
+ The container element for the item.
+
+
+
+ Creates or identifies the element that is used to display the given item.
+
+ The item to get the container for.
+ The parent's .
+ The element that is used to display the given item.
+
+
+
+ Return the appropriate data context. If the item is a FrameworkElement it cannot be a data context in Silverlight, so we use its data context.
+ Otherwise, we just us the item as the data context.
+
+
+
+
+ Gets or sets the that the is attached to.
+
+ A that the is attached to.
+ This is usually a that is part of the tree.
+
+
+
+ Adapter that creates a new and binds all
+ the views to the adapted .
+
+
+ This adapter is needed on Silverlight because the doesn't
+ automatically create s when new items are added to
+ the collection.
+
+
+
+
+ to set to the created .
+
+
+
+
+ Initializes a new instance of the class.
+
+ The factory used to create the region behaviors to attach to the created regions.
+
+
+
+ Gets the property value.
+
+ Target object of the attached property.
+ Value of the property.
+
+
+
+ Sets the property value.
+
+ Target object of the attached property.
+ Value to be set on the property.
+
+
+
+ Adapts a to an .
+
+ The new region being used.
+ The object to adapt.
+
+
+
+ Attach new behaviors.
+
+ The region being used.
+ The object to adapt.
+
+ This class attaches the base behaviors and also keeps the
+ and the in sync.
+
+
+
+
+ Creates a new instance of .
+
+ A new instance of .
+
+
+
+ This custom ContentControl changes its ContentTemplate based on the content it is presenting.
+
+
+ In order to determine the template it must use for the new content, this control retrieves it from its
+ resources using the name for the type of the new content as the key.
+
+
+
+
+ Called when the value of the property changes.
+
+ The old value of the property.The new value of the property.
+
+ Will attempt to discover the from the by matching the type name of .
+
+
+
+
+ Returns the default content template to use if not other content template can be located.
+
+
+
+
+