- rkiss.activities.dynamicsend_src.zip
- RKiss.Activities.DynamicSend
- license.rtf
- RKiss.Activities.DynamicSend.Design
- RKiss.Activities.DynamicSend
- RKiss.ActivityPack.DynamicSend.sln
- RKiss.ActivityPack.DynamicSend.suo
- Tester
- Examples
- WindowsFormsDesignerTester
- 3rdParty
- Microsoft.XmlNotepad.dll
- bin
- Debug
- Release
- Form1.cs
- Form1.Designer.cs
- Form1.resx
- obj
- Debug
- DesignTimeResolveAssemblyReferences.cache
- DesignTimeResolveAssemblyReferencesInput.cache
- Examples
- GenerateResource.read.1.tlog
- GenerateResource.write.1.tlog
- InProcessTempFiles
- ManageableServicesConsole.UserControls.WorkflowDesignerUserControl.resources
- ResolveAssemblyReference.cache
- RKiss.WindowsFormsDesignerTester.Form1.resources
- RKiss.WindowsFormsDesignerTester.Properties.Resources.resources
- TempPE
- Properties.Resources.Designer.cs.dll
- WindowsFormsDesignerTester.csproj.FileListAbsolute.txt
- WindowsFormsDesignerTester.exe
- WindowsFormsDesignerTester.pdb
- Program.cs
- Properties
- UserControls
- WindowsFormsDesignerTester.csproj
- WindowsFormsDesignerTester.csproj.user
- WorkflowConsoleServiceApplication
- WorkflowConsoleXamlTester
|
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.1
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace XamlStaticHelperNamespace {
internal class _XamlStaticHelper {
private static System.WeakReference schemaContextField;
private static System.Collections.Generic.IList<System.Reflection.Assembly> assemblyListField;
internal static System.Xaml.XamlSchemaContext SchemaContext {
get {
System.Xaml.XamlSchemaContext xsc = null;
if ((schemaContextField != null)) {
xsc = ((System.Xaml.XamlSchemaContext)(schemaContextField.Target));
if ((xsc != null)) {
return xsc;
}
}
if ((AssemblyList.Count > 0)) {
xsc = new System.Xaml.XamlSchemaContext(AssemblyList);
}
else {
xsc = new System.Xaml.XamlSchemaContext();
}
schemaContextField = new System.WeakReference(xsc);
return xsc;
}
}
internal static System.Collections.Generic.IList<System.Reflection.Assembly> AssemblyList {
get {
if ((assemblyListField == null)) {
assemblyListField = LoadAssemblies();
}
return assemblyListField;
}
}
private static System.Collections.Generic.IList<System.Reflection.Assembly> LoadAssemblies() {
System.Collections.Generic.IList<System.Reflection.Assembly> assemblyList = new System.Collections.Generic.List<System.Reflection.Assembly>();
assemblyList.Add(Load("Microsoft.CSharp, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a" +
"3a"));
assemblyList.Add(Load("mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364" +
"e35"));
assemblyList.Add(Load("System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System.Data, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System.ServiceModel.Activities, Version=4.0.0.0, Culture=neutral, PublicKeyToken=" +
"31bf3856ad364e35"));
assemblyList.Add(Load("System.ServiceModel, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c56193" +
"4e089"));
assemblyList.Add(Load("System.Xaml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"));
assemblyList.Add(Load("System.Xml.Linq, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e08" +
"9"));
assemblyList.Add(System.Reflection.Assembly.GetExecutingAssembly());
return assemblyList;
}
private static System.Reflection.Assembly Load(string assemblyNameVal) {
System.Reflection.AssemblyName assemblyName = new System.Reflection.AssemblyName(assemblyNameVal);
byte[] publicKeyToken = assemblyName.GetPublicKeyToken();
System.Reflection.Assembly asm = null;
try {
asm = System.Reflection.Assembly.Load(assemblyName.FullName);
}
catch (System.Exception ) {
System.Reflection.AssemblyName shortName = new System.Reflection.AssemblyName(assemblyName.Name);
if ((publicKeyToken != null)) {
shortName.SetPublicKeyToken(publicKeyToken);
}
asm = System.Reflection.Assembly.Load(shortName);
}
return asm;
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.