diff --git a/.gitignore b/.gitignore index 73143869e7..5374b5ebfe 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ bin +obj TestResult.xml *.VisualState.xml Drop diff --git a/doc/.gitignore b/doc/.gitignore new file mode 100644 index 0000000000..9776439015 --- /dev/null +++ b/doc/.gitignore @@ -0,0 +1,2 @@ +api +*.chm diff --git a/doc/openid-attribute-exchange-1_0.html b/doc/specs/openid-attribute-exchange-1_0.html similarity index 100% rename from doc/openid-attribute-exchange-1_0.html rename to doc/specs/openid-attribute-exchange-1_0.html diff --git a/doc/openid-authentication-1_1.html b/doc/specs/openid-authentication-1_1.html similarity index 100% rename from doc/openid-authentication-1_1.html rename to doc/specs/openid-authentication-1_1.html diff --git a/doc/openid-authentication-2_0.html b/doc/specs/openid-authentication-2_0.html similarity index 100% rename from doc/openid-authentication-2_0.html rename to doc/specs/openid-authentication-2_0.html diff --git a/doc/openid-provider-authentication-policy-extension-1_0-02.html b/doc/specs/openid-provider-authentication-policy-extension-1_0-02.html similarity index 100% rename from doc/openid-provider-authentication-policy-extension-1_0-02.html rename to doc/specs/openid-provider-authentication-policy-extension-1_0-02.html diff --git a/doc/openid-simple-registration-extension-1_0.html b/doc/specs/openid-simple-registration-extension-1_0.html similarity index 100% rename from doc/openid-simple-registration-extension-1_0.html rename to doc/specs/openid-simple-registration-extension-1_0.html diff --git a/src/Documentation/build.proj b/src/Documentation/build.proj new file mode 100644 index 0000000000..3c3c3e28d7 --- /dev/null +++ b/src/Documentation/build.proj @@ -0,0 +1,44 @@ + + + + + 2.0 + Debug + ..\.. + DotNetOpenId + $(ProjectRoot)\bin\$(Configuration) + $(ProjectRoot)\doc + $(ProjectRoot)\obj\$(Configuration) + $(OutputPath)\$(OutputAssembly).xml + + + + + + + + + + + + + + + diff --git a/src/DotNetOpenId.BuildTasks/CustomMsBuildTasks.sln b/src/DotNetOpenId.BuildTasks/CustomMsBuildTasks.sln new file mode 100644 index 0000000000..d1f0b47076 --- /dev/null +++ b/src/DotNetOpenId.BuildTasks/CustomMsBuildTasks.sln @@ -0,0 +1,20 @@ + +Microsoft Visual Studio Solution File, Format Version 10.00 +# Visual Studio 2008 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DotNetOpenId.BuildTasks", "DotNetOpenId.BuildTasks.csproj", "{AC231A51-EF60-437C-A33F-AF8ADEB8EB74}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {AC231A51-EF60-437C-A33F-AF8ADEB8EB74}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {AC231A51-EF60-437C-A33F-AF8ADEB8EB74}.Debug|Any CPU.Build.0 = Debug|Any CPU + {AC231A51-EF60-437C-A33F-AF8ADEB8EB74}.Release|Any CPU.ActiveCfg = Release|Any CPU + {AC231A51-EF60-437C-A33F-AF8ADEB8EB74}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection +EndGlobal diff --git a/src/DotNetOpenId.BuildTasks/DotNetOpenId.BuildTasks.csproj b/src/DotNetOpenId.BuildTasks/DotNetOpenId.BuildTasks.csproj new file mode 100644 index 0000000000..bb84eb243a --- /dev/null +++ b/src/DotNetOpenId.BuildTasks/DotNetOpenId.BuildTasks.csproj @@ -0,0 +1,57 @@ + + + + Debug + AnyCPU + 9.0.21022 + 2.0 + {AC231A51-EF60-437C-A33F-AF8ADEB8EB74} + Library + Properties + DotNetOpenId.BuildTasks + DotNetOpenId.BuildTasks + v3.5 + 512 + + + true + full + false + ..\..\bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + pdbonly + true + ..\..\bin\Release\ + TRACE + prompt + 4 + + + + + 3.5 + + + + 3.5 + + + + + + + + + + + \ No newline at end of file diff --git a/src/DotNetOpenId.BuildTasks/Properties/AssemblyInfo.cs b/src/DotNetOpenId.BuildTasks/Properties/AssemblyInfo.cs new file mode 100644 index 0000000000..940c1dc107 --- /dev/null +++ b/src/DotNetOpenId.BuildTasks/Properties/AssemblyInfo.cs @@ -0,0 +1,36 @@ +using System.Reflection; +using System.Runtime.CompilerServices; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("CustomMsBuildTasks")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("CustomMsBuildTasks")] +[assembly: AssemblyCopyright("Copyright © 2008")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("952e3aaa-5dc6-4b71-8c9c-6b485263be19")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/src/DotNetOpenId.BuildTasks/SetEnvironmentVariable.cs b/src/DotNetOpenId.BuildTasks/SetEnvironmentVariable.cs new file mode 100644 index 0000000000..85762680c6 --- /dev/null +++ b/src/DotNetOpenId.BuildTasks/SetEnvironmentVariable.cs @@ -0,0 +1,33 @@ +using System; +using System.Collections.Generic; +using System.Text; +using Microsoft.Build.Utilities; +using Microsoft.Build.Framework; + +namespace DotNetOpenId.BuildTasks { + public class SetEnvironmentVariable : Task { + public SetEnvironmentVariable() { + Scope = EnvironmentVariableTarget.Process; + } + + /// + /// The name of the environment variable to set or clear. + /// + [Required] + public string Name { get; set; } + /// + /// The value of the environment variable, or the empty string to clear it. + /// + [Required] + public string Value { get; set; } + /// + /// The target environment for the variable. Machine, User, or Process. + /// + public EnvironmentVariableTarget Scope { get; set; } + + public override bool Execute() { + Environment.SetEnvironmentVariable(Name, Value, Scope); + return true; + } + } +} diff --git a/tools/Sandcastle/.gitignore b/tools/Sandcastle/.gitignore new file mode 100644 index 0000000000..0b7088ec63 --- /dev/null +++ b/tools/Sandcastle/.gitignore @@ -0,0 +1 @@ +Data diff --git a/tools/Sandcastle/Presentation/Prototype/DocModel.ps1 b/tools/Sandcastle/Presentation/Prototype/DocModel.ps1 new file mode 100644 index 0000000000..ae9ffcf9bb --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/DocModel.ps1 @@ -0,0 +1,20 @@ + +# Sandcastle build script overrides for prototype doc model. + +. $DxRoot\Presentation\Shared\SharedDocModel.ps1 + +function PostProcessReflectionData($sourceFile, $targetFile) { + WriteInfo "Post processing reflection data." + &$XslTransform $sourceFile ` + /xsl:$DxRoot\ProductionTransforms\ApplyPrototypeDocModel.xsl ` + /xsl:$DxRoot\ProductionTransforms\AddGuidFilenames.xsl ` + /out:$targetFile +} + +function CreateToc { + WriteInfo "Creating TOC." + &$XslTransform $TempDir\ReflectionData\targets.xml ` + /xsl:$DxRoot\ProductionTransforms\createPrototypeToc.xsl ` + /out:$TempDir\toc.xml +} + diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config b/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config new file mode 100644 index 0000000000..07d8893707 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/conceptual.config @@ -0,0 +1,100 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle-scbuild.config b/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle-scbuild.config new file mode 100644 index 0000000000..25c2732715 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle-scbuild.config @@ -0,0 +1,113 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle.config b/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle.config new file mode 100644 index 0000000000..887109d41d --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/configuration/sandcastle.config @@ -0,0 +1,114 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Prototype/content/conceptual_content.xml b/tools/Sandcastle/Presentation/Prototype/content/conceptual_content.xml new file mode 100644 index 0000000000..762ba5cd93 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/content/conceptual_content.xml @@ -0,0 +1,38 @@ + + + + .NET Framework Developer's Guide + + + + + + + In This Section + Compiling the Code + Next Steps + Requirements + Related Sections + See Also + Syntax + Parameters + Return Value + Attributes and Elements + Attributes + Child Elements + Parent Elements + Element Information + Text Value + .NET Framework Equivalent + Prerequisites + Robust Programming + Security + External Resources + Demonstrates + Applies To + Conclusion + Background + What's New + Example + + diff --git a/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml b/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml new file mode 100644 index 0000000000..195828b39e --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/content/reference_content.xml @@ -0,0 +1,141 @@ + + + + This API is not documented. + This API is preliminary and subject to change. + + + Namespaces + {0} Namespace + {0} Class + {0} Structure + {0} Interface + {0} Delegate + {0} Enumeration + {0} Field + {0} Method {1} + {0} Constructor {1} + {0} Property {1} + {0} Event + {0} Operator + {0} Attached Property + {0} Attached Event + + + namespaces + {0} namespace + {0} class + {0} structure + {0} interface + {0} delegate + {0} enumeration + {0} field + {0} method + {0} constructor + {0} property + {0} event + {0} operator + {0} attached property + {0} attached event + + + + + + + Declaration Syntax + Usage Syntax + Generic Template Parameters + Parameters + Value + Return Value + Return Value + Value + Value + Remarks + Examples + Thread Safety + Notes For Implementers + Notes For Inheriters + Exceptions + Permissions + Namespaces + Types + Members + Inheritance Hierarchy + Implementing Types + Version Information + See Also + + + Namespace + Description + Icon + Type + Description + Icon + Member + Description + Exception + Condition + Permission + Description + + + All Types + Classes + Structures + Interfaces + Delegates + Enumerations + All Members + Constructors + Methods + Properties + Fields + Events + Public + Protected + Instance + Static + Declared + Inherited + + + Reference Library + Namespaces + Obsolete. + This API is obsolete. + A non-obsolete alternative is {0}. + (Inherited from {0}.) + (Overrides {0}.) + Assembly: {0} (Module: {1}) + HostProtectionAttribute. + This API is protected by HostProtectionAttribute. + + + Static members of this type are safe for multi-threaded operations. + Static members of this type are not safe for multi-threaded operations. + Instance members of this type are safe for multi-threaded operations. + Instance members of this type are not safe for multi-threaded operations. + + + public class + public structure + public interface + public delegate + public enumeration + public constructor + public method + public field + public property + public event + protected constructor + protected method + protected field + protected property + protected event + static member + + + diff --git a/tools/Sandcastle/Presentation/Prototype/content/shared_content.xml b/tools/Sandcastle/Presentation/Prototype/content/shared_content.xml new file mode 100644 index 0000000000..f99eb8fddf --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/content/shared_content.xml @@ -0,0 +1,52 @@ + + + + ../icons/{0} + ../scripts/{0} + ../styles/{0} + ../media/{0} + + + en-us + + + + + + Caution: + Security Note: + Note: + Important Note: + Visual Basic Note: + C# Note: + C++ Note: + J# Note: + + + C# + Visual Basic + Visual C++ + J# + JScript + C# + Visual Basic Usage + ASP.NET + + + .NET Framework + .NET Compact Framework + 1.1 + 2.0 + + + + + For more information, see + . + and + + + + 2005 Microsoft Corporation. All rights reserved. + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Prototype/content/token_content.xml b/tools/Sandcastle/Presentation/Prototype/content/token_content.xml new file mode 100644 index 0000000000..13b8cb21ab --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/content/token_content.xml @@ -0,0 +1,4 @@ + + Visual Basic 2005 + See for more information. + diff --git a/tools/Sandcastle/Presentation/Prototype/copyOutput.bat b/tools/Sandcastle/Presentation/Prototype/copyOutput.bat new file mode 100644 index 0000000000..ce7900aa45 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/copyOutput.bat @@ -0,0 +1,10 @@ +if not exist Output mkdir Output +if not exist Output\html mkdir Output\html +if not exist Output\icons mkdir Output\icons +if not exist Output\scripts mkdir Output\scripts +if not exist Output\styles mkdir Output\styles +if not exist Output\media mkdir Output\media +copy "%DXROOT%\Presentation\Prototype\icons\*" Output\icons +copy "%DXROOT%\Presentation\Prototype\scripts\*" Output\scripts +copy "%DXROOT%\Presentation\Prototype\styles\*" Output\styles +if not exist Intellisense mkdir Intellisense diff --git a/tools/Sandcastle/Presentation/Prototype/icons/CFW.gif b/tools/Sandcastle/Presentation/Prototype/icons/CFW.gif new file mode 100644 index 0000000000..cbcabf1b2d Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/CFW.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/Caution.gif b/tools/Sandcastle/Presentation/Prototype/icons/Caution.gif new file mode 100644 index 0000000000..c58e1f949f Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/Caution.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/LastChild.gif b/tools/Sandcastle/Presentation/Prototype/icons/LastChild.gif new file mode 100644 index 0000000000..0b9af7e88d Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/LastChild.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/NotLastChild.gif b/tools/Sandcastle/Presentation/Prototype/icons/NotLastChild.gif new file mode 100644 index 0000000000..cc77522d5d Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/NotLastChild.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/alert_caution.gif b/tools/Sandcastle/Presentation/Prototype/icons/alert_caution.gif new file mode 100644 index 0000000000..c58e1f949f Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/alert_caution.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/alert_note.gif b/tools/Sandcastle/Presentation/Prototype/icons/alert_note.gif new file mode 100644 index 0000000000..3393af3564 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/alert_note.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/alert_security.gif b/tools/Sandcastle/Presentation/Prototype/icons/alert_security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/alert_security.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/collapse_all.gif b/tools/Sandcastle/Presentation/Prototype/icons/collapse_all.gif new file mode 100644 index 0000000000..45f018af95 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/collapse_all.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/copycode.gif b/tools/Sandcastle/Presentation/Prototype/icons/copycode.gif new file mode 100644 index 0000000000..1678162660 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/copycode.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/expand_all.gif b/tools/Sandcastle/Presentation/Prototype/icons/expand_all.gif new file mode 100644 index 0000000000..123fda96f0 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/expand_all.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privclass.gif b/tools/Sandcastle/Presentation/Prototype/icons/privclass.gif new file mode 100644 index 0000000000..0939694ce0 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privclass.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privdelegate.gif b/tools/Sandcastle/Presentation/Prototype/icons/privdelegate.gif new file mode 100644 index 0000000000..d3aa8a65ef Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privenum.gif b/tools/Sandcastle/Presentation/Prototype/icons/privenum.gif new file mode 100644 index 0000000000..47f387ec2b Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privenum.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privevent.gif b/tools/Sandcastle/Presentation/Prototype/icons/privevent.gif new file mode 100644 index 0000000000..30db46df76 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privevent.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privfield.gif b/tools/Sandcastle/Presentation/Prototype/icons/privfield.gif new file mode 100644 index 0000000000..cbf70f7a3f Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privfield.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privinterface.gif b/tools/Sandcastle/Presentation/Prototype/icons/privinterface.gif new file mode 100644 index 0000000000..f3b7950adc Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privinterface.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privmethod.gif b/tools/Sandcastle/Presentation/Prototype/icons/privmethod.gif new file mode 100644 index 0000000000..71f8822642 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privmethod.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privproperty.gif b/tools/Sandcastle/Presentation/Prototype/icons/privproperty.gif new file mode 100644 index 0000000000..b1e8074654 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privproperty.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/privstructure.gif b/tools/Sandcastle/Presentation/Prototype/icons/privstructure.gif new file mode 100644 index 0000000000..ed6d1ef68f Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/privstructure.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protclass.gif b/tools/Sandcastle/Presentation/Prototype/icons/protclass.gif new file mode 100644 index 0000000000..0f9294292a Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protclass.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protdelegate.gif b/tools/Sandcastle/Presentation/Prototype/icons/protdelegate.gif new file mode 100644 index 0000000000..b209f2d816 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protenum.gif b/tools/Sandcastle/Presentation/Prototype/icons/protenum.gif new file mode 100644 index 0000000000..cc96bb6359 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protenum.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protevent.gif b/tools/Sandcastle/Presentation/Prototype/icons/protevent.gif new file mode 100644 index 0000000000..0e510b272c Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protevent.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protfield.gif b/tools/Sandcastle/Presentation/Prototype/icons/protfield.gif new file mode 100644 index 0000000000..9ae6833e08 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protfield.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protfield.png b/tools/Sandcastle/Presentation/Prototype/icons/protfield.png new file mode 100644 index 0000000000..d5d3fbcac7 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protfield.png differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protinterface.gif b/tools/Sandcastle/Presentation/Prototype/icons/protinterface.gif new file mode 100644 index 0000000000..a1b96d2c6a Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protinterface.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protmethod.gif b/tools/Sandcastle/Presentation/Prototype/icons/protmethod.gif new file mode 100644 index 0000000000..2bc9468734 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protmethod.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protoperator.gif b/tools/Sandcastle/Presentation/Prototype/icons/protoperator.gif new file mode 100644 index 0000000000..2cb75ab8b0 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protoperator.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protproperty.gif b/tools/Sandcastle/Presentation/Prototype/icons/protproperty.gif new file mode 100644 index 0000000000..55473d16e1 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protproperty.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/protstructure.gif b/tools/Sandcastle/Presentation/Prototype/icons/protstructure.gif new file mode 100644 index 0000000000..af356a1db0 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/protstructure.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubclass.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubclass.gif new file mode 100644 index 0000000000..1a968ab633 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubclass.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubdelegate.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubdelegate.gif new file mode 100644 index 0000000000..0a43eb261a Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubenum.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubenum.gif new file mode 100644 index 0000000000..46888adef9 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubenum.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubevent.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubevent.gif new file mode 100644 index 0000000000..b9226da8b4 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubevent.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubfield.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubfield.gif new file mode 100644 index 0000000000..3df5e527bb Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubfield.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubinterface.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubinterface.gif new file mode 100644 index 0000000000..c38a4c46a9 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubinterface.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubmethod.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubmethod.gif new file mode 100644 index 0000000000..2c72988f50 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubmethod.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/puboperator.gif b/tools/Sandcastle/Presentation/Prototype/icons/puboperator.gif new file mode 100644 index 0000000000..0ebe10a7ec Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/puboperator.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubproperty.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubproperty.gif new file mode 100644 index 0000000000..dfad7b4300 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubproperty.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/pubstructure.gif b/tools/Sandcastle/Presentation/Prototype/icons/pubstructure.gif new file mode 100644 index 0000000000..1344416abc Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/pubstructure.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/security.gif b/tools/Sandcastle/Presentation/Prototype/icons/security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/security.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/icons/static.gif b/tools/Sandcastle/Presentation/Prototype/icons/static.gif new file mode 100644 index 0000000000..14f9a7abe2 Binary files /dev/null and b/tools/Sandcastle/Presentation/Prototype/icons/static.gif differ diff --git a/tools/Sandcastle/Presentation/Prototype/scripts/CollapsibleSection.js b/tools/Sandcastle/Presentation/Prototype/scripts/CollapsibleSection.js new file mode 100644 index 0000000000..8914ccc582 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/scripts/CollapsibleSection.js @@ -0,0 +1,17 @@ + + function toggleSection(sectionElement) { + var children = sectionElement.childNodes; + if (children.length != 2) return; + + var image = children[0].getElementsByTagName('IMG')[0]; + var content = children[1]; + + if (content.style['display'] == 'none') { + content.style['display'] = 'block'; + image.src = '../icons/collapse_all.gif'; + } else { + content.style['display'] = 'none'; + image.src= '../icons/expand_all.gif'; + } + + } diff --git a/tools/Sandcastle/Presentation/Prototype/scripts/CookieDataStore.js b/tools/Sandcastle/Presentation/Prototype/scripts/CookieDataStore.js new file mode 100644 index 0000000000..d58abeeb42 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/scripts/CookieDataStore.js @@ -0,0 +1,136 @@ + + + function setCookie(name, value, expires, path, domain, secure) { + + var text = name + "=" + escape(value); + + if (expires) { + var currentDate = new Date(); + var expireDate = new Date( currentDate.getTime() + expires*24*60*60*1000 ); + text = text + ";expires=" + expireDate.toGMTString(); + } + if (path) text = text + ";path=" + path; + if (domain) text = text + ";domain=" + domain; + if (secure) text = text + ";secure"; + + document.cookie = text; + } + + function getCookie(name) { + + var text = document.cookie; + + var index = text.indexOf(name + "="); + if (index < 0) return(null); + + var start = index + name.length + 1; + + var end = text.indexOf(";", start); + if (end < 0) end = text.length; + + var value = unescape( text.substring(start, end) ); + return(value); + + } + + function removeCookie(name) { + setCookie(name, "", -1); + } + + + // cookie data store + + function CookieDataStore(name) { + this.name = name; + this.load(); + } + + CookieDataStore.prototype.load = function () { + + // create a key/value store + this.data = new Object(); + + // get cookie text + var text = getCookie(this.name); + if (text == null) return; + + // populate the store using the cookie text + var data = text.split(';'); + + for (var i=0; i 0) { + var key = datum.substring(0,index); + var value = datum.substring(index+1); + this.data[key] = value; + } + } + + } + + CookieDataStore.prototype.save = function () { + + // prepare a cookie string + var text = ""; + + // construct the string + for (var key in this.data) { + var datum = key + "=" + this.data[key]; + text = text + datum + ";"; + } + + // set it + setCookie(this.name, text); + + } + + CookieDataStore.prototype.clear = function () { + this.data = new Object(); + } + + CookieDataStore.prototype.set = function(key, value) { + this.data[key] = value; + } + + CookieDataStore.prototype.get = function(key) { + return(this.data[key]); + } + + CookieDataStore.prototype.remove = function(key) { + delete(this.data[key]); + } + + CookieDataStore.prototype.count = function() { + var i = 0; + for (var key in this.data) { + i++; + } + return(i); + } + + // The following logic needs to be re-factored out of this file + + function selectLanguage(value) { + + if (value == null) return; + + var selector = document.getElementById('languageSelector'); + if (selector == null) return; + + var options = selector.options; + for(var i=0; i 0) this.scrollingRegion.style.height = height + "px"; + else this.scrollingRegion.style.height = 0 + "px"; + + this.scrollingRegion.style.width = document.body.clientWidth + "px"; + } + + + // update the vertical offset of the scrolling region to account for the height of the non-scrolling region + this.scrollingRegion.style.top = this.nonScrollingRegion.offsetHeight + "px"; + } diff --git a/tools/Sandcastle/Presentation/Prototype/scripts/StyleUtilities.js b/tools/Sandcastle/Presentation/Prototype/scripts/StyleUtilities.js new file mode 100644 index 0000000000..45ab1f2789 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/scripts/StyleUtilities.js @@ -0,0 +1,50 @@ + + function getStyleDictionary() { + + var dictionary = new Array(); + + // iterate through stylesheets + var sheets = document.styleSheets; + for(var i=0; ibody { + margin: 0; + background-color: #FFFFFF; + padding: 0; + font-size: 8.5pt; + font-family: verdana, arial, sans-serif; + color: #000000; + overflow: auto; +} + +table { + /* this is a trick to force tables to inherit the body font size */ + font-size: 100%; +} + +/* non-scrolling (control) region style */ + +div#control { + margin: 0; + background-color: #D4DFFF; + padding: 4px; + width: 100%; + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1px; + z-index: 2; +} + +span.productTitle { + font-size: 80%; +} + +span.topicTitle { + font-size: 140%; + font-weight: bold; + color: #003399; +} + +span#chickenFeet { + float: left; +} + +span#languageFilter { + float: right; + height: 1px; + max-height: 1px; + vertical-align: bottom; + overflow: visible; +} + +/* scrolling (content) region style */ + +div#main +{ + clear: both; + margin: 0; + padding: 1em; + width: 100%; + z-index: 1; + overflow: auto; +} + +/* sections */ + +div#header { + font-size: 80%; + color: #666666; + margin-bottom: 0.5em; +} + +div.summary { + margin-top: 0em; + margin-bottom: 1em; +} + +div.section { + margin-bottom: 1em; +} + +div.sectionTitle { + display: inline; + font-size: 120%; + font-weight: bold; + color: #003399; +} + +div.sectionContent { + margin-top: 0.2em; +} + +span.subsectionTitle { + font-weight: bold; +} + +div#footer { + margin-top: 1em; + border-top: thin solid #003399; + padding-top: 0.5em; +} + +div#footer p { + margin-top: 0.2em; + margin-bottom: 0.2em; +} + +/* authored content (block) */ + +p { + margin-top: 1em; + margin-bottom: 1em; +} + +dl, ul, ol { + margin-top: 0.5em; + margin-bottom: 0.5em; +} + +div.code +{ + clear: both; + width: 100%; + background: #EFEFF7; + padding: 0.4em; + font-family: "Andale Mono", "Courier New", Courier, monospace; + font-size: 9pt; + margin-bottom: 1em; +} + +pre { + margin: 0; + padding: 0; + font-family: "Andale Mono", "Courier New", Courier, monospace; +} + +table.authoredTable { + table-layout: fixed; + width: 100%; + margin-bottom: 1em; +} + +table.authoredTable th { + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1px; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; +} + +table.authoredTable td { + border-bottom-style: solid; + border-bottom-color: #C8CDDE; + border-bottom-width: 1px; + background: #F7F7FF; + padding: 0.2em; + vertical-align: top; +} + +div.alert { + border: 1px solid #C8CDDE; + background: #F7F7FF; +} + +div.media { + text-align: center; + margin-bottom: 1em; +} + + +/* authored content (inline) */ + +span.keyword { + font-weight: bold; +} + +span.code { + font-family: "Andale Mono", "Courier New", Courier, monospace; + font-size: 110%; + color: #000066; +} + +/* auto-generated controls */ + +div.langTabs { + /*width: 100%;*/ +} + +div.langTab { + float: left; + width: 15%; + border-top: 1px solid #C8CDDE; + border-left: 1px solid #C8CDDE; + border-right: 1px solid #C8CDDE; + background: #F7F7FF; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: normal; +} + +div.activeLangTab { + float: left; + width: 15%; + border-top: 1px solid #C8CDDE; + border-left: 1px solid #C8CDDE; + border-right: 1px solid #C8CDDE; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; +} + +table.members { + /* table-layout: fixed; */ + width: 100%; +} + +table.members th.iconColumn { + width: 60px; +} + +table.members th.nameColumn { + width: 40%; +} + +table.members th.descriptionColumn { + width: 60%; +} + +table.members th { + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1px; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; +} + +table.members td { + border-bottom-style: solid; + border-bottom-color: #C8CDDE; + border-bottom-width: 1px; + background: #F7F7FF; + padding: 0.2em; + vertical-align: top; + overflow: hidden; +} + +table.exceptions { + table-layout: fixed; + width: 100%; +} + + +table.exceptions th.exceptionNameColumn { + width: 40%; +} + +table.exceptions th.exceptionConditionColumn { + width: 60%; +} + +table.exceptions th { + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1px; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; +} + +table.exceptions td { + border-bottom-style: solid; + border-bottom-color: #C8CDDE; + border-bottom-width: 1px; + background: #F7F7FF; + padding: 0.2em; + vertical-align: top; +} + +table.permissions { + table-layout: fixed; + width: 100%; +} + + +table.permissions th.permissionNameColumn { + width: 40%; +} + +table.permissions th.permissionConditionColumn { + width: 60%; +} + +table.permissions th { + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1px; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; +} + +table.permissions td { + border-bottom-style: solid; + border-bottom-color: #C8CDDE; + border-bottom-width: 1px; + background: #F7F7FF; + padding: 0.2em; + vertical-align: top; +} + +span.obsolete { + color: red; +} + +span.cs { + display: inline; +} + +span.vb { + display: none; +} + +span.cpp { + display: none; +} + +span.nu +{ + display: none; +} + +/* syntax styling */ + +div.code span.identifier { + font-weight: bold; +} + +div.code span.keyword { + color: green; +} + +div.code span.parameter { + font-style: italic; + color: purple; +} + +div.code span.literal { + color: purple; +} + +div.code span.comment { + color: red; +} + +span.foreignPhrase { + font-style: italic; +} + +span.placeholder { + font-style: italic; +} + +span.parameter +{ + font-style: italic; +} + +span.typeparameter +{ + font-style: italic; +} + +a { + color: blue; + text-decoration: none; +} + +a:hover { + text-decoration: underline; +} + +MSHelp\:link { + color: blue; + hoverColor: #3366ff; +} + +span.nolink { + font-weight: bold; +} + +span.selflink { + font-weight: bold; +} + +table.filter { + table-layout: fixed; +} + +tr.tabs td.tab { + width: 10em; + background: #F7F7FF; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: normal; + overflow: hidden; + cursor: pointer; +} + +tr.tabs td.activeTab { + width: 10em; + background: #EFEFF7; + padding: 0.2em; + text-align: left; + color: #000066; + font-weight: bold; + overflow: hidden; +} + +td.line { + background: #EFEFF7; +} + +dt { + font-weight: bold; + margin-top: 10px; + margin-left: 10px; +} diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/main_conceptual.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/main_conceptual.xsl new file mode 100644 index 0000000000..c3498ab3c3 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/main_conceptual.xsl @@ -0,0 +1,253 @@ + + + + + + + + + + + + + + <xsl:call-template name="topicTitle"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + +
+ + + +
+
+ + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+ +
+
+
+ + + +
+
+
+ + +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + +
diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/main_reference.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/main_reference.xsl new file mode 100644 index 0000000000..2ad2de4e42 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/main_reference.xsl @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + +

+ + + + + + + + + +

+
+ + + +
+

+ +

+
+
+ + +
+ + + + + +
+
+ +
+
+ +
+
+
+
+
+
+
+ + + + + + + + + + +
+ + + + + + ValueTitle + + + + + + + +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +


+
+ + + +
+
+
+
+ + + + + +
    + +
  • + + + +
  • +
    +
+
+
+
+ + + + + +
diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/main_sandcastle.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/main_sandcastle.xsl new file mode 100644 index 0000000000..43cb10d710 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/main_sandcastle.xsl @@ -0,0 +1,466 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + + + + + + +
+ +
+
+
+
+ + + + + +
+ + +
+ +
+
+ +
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ +
+
+
+ +
+ + + +
+
+
+
+ + +

+
+ + +
+
+ + + + + + + + + + + + + + + + + +

+
+
+
+
+ + + + + + + + + + + + + + + + + +

+
+
+
+
+ + + + + + + + +
+
+
+
+
+
+ + +
    + +
  • +
    +
+
+ + +
    + +
  1. +
    +
+
+ + + + + + + + + + + + + + + + + +

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + static + Shared + static + + + virtual + Overridable + virtual + + + true + True + true + + + false + False + false + + + abstract + MustInherit + abstract + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + alert_note.gif + + + + + +
+
+ + +
+ +
+
+ + + + + + + + + + + + +
+
+ + + collapse_all.gif + + + + +
+
+ +
+
+
+ + +
diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/main_schema.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/main_schema.xsl new file mode 100644 index 0000000000..b9ec12043d --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/main_schema.xsl @@ -0,0 +1,44 @@ + + + + + + + + + <xsl:value-of select="/element/@name" /> + + + + + + + + + + + + <> + + + + + + + + + + + + + + + +
NameTypeDescription
+ + + +
+
+ +
diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/skeleton.xml b/tools/Sandcastle/Presentation/Prototype/transforms/skeleton.xml new file mode 100644 index 0000000000..6b8e5e750c --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/skeleton.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/skeleton_conceptual.xml b/tools/Sandcastle/Presentation/Prototype/transforms/skeleton_conceptual.xml new file mode 100644 index 0000000000..d7725665b9 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/skeleton_conceptual.xml @@ -0,0 +1,3 @@ + + + diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_dduexml.xsl new file mode 100644 index 0000000000..5d3c472dcb --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_dduexml.xsl @@ -0,0 +1,616 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + + + + + + +
+
+
+
+
+
+ + + + + + + + + + + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+
+ + +
+ +
+
+ + +
+ +
+
+ + +
+
+ + +
+
+
+ + + + + + + + + + + + +
+ + + + + alert_caution.gif + + + + + + + + + alert_security.gif + + + + + + + + + alert_caution.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + +
+
+ + + + + + + + + + +
+ + +
+
+ + +
+ + +
+ +
+
+
+
+ + + + + + + + + + + + + + +
    + +
+
+ +
    + +
+
+
+
+ + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + static + Shared + static + + + virtual + Overridable + virtual + + + true + True + true + + + false + False + false + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + ; + + + + + + + + + + + ; + + + <ul><li> + </li></ul> + </li><li> + + + + + + + + + + + + + + + + + + + + + + + + +

    + +
    + + + + + + +

    +
    + + +

    + +
    + + +

    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    + +
    + + + + +
    +
    + + + collapse_all.gif + + + + +
    +
    + +
    +
    +
    + +
    diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_metadata.xsl new file mode 100644 index 0000000000..e887d0b8d0 --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_metadata.xsl @@ -0,0 +1,300 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl new file mode 100644 index 0000000000..5b3629fa8e --- /dev/null +++ b/tools/Sandcastle/Presentation/Prototype/transforms/utilities_reference.xsl @@ -0,0 +1,1213 @@ + + + + + + + + + + + + + + + + + + <xsl:call-template name="topicTitlePlain"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + +
    +
    + +  ( + + ) +
    +
    + + + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + +
    + + +
    + + + + + + ; public + + + + + + + + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +
    + + +
    + + + + + + + + ; public + + + ; protected + + + ; public + + + + + ; static + + + ; instance + + + + + ; declared + + + ; inherited + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + < + + + + + + + > + + + + %3C + + + + %2C + + + %3E + + + + + (Of + + + + + + + ) + + + + + + + + . + + + + + + + + + + + + +
    +
    +
    +
    + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    +
    + +
    + + + + + + + + +
    + +
    +
    + +
    +
    +                
    +              
    +
    +
    +
    + +
    + + + + + + + + + + + + + + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + +
    +
    +
    + + + +
    + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + +
    +
    + +
    +
    + +
    + + + + + + + + + +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    + + + + + + + + + pub + + + priv + + + + + + + pub + + + prot + + + priv + + + + + + + + + + + + class + + + structure + + + interface + + + delegate + + + enum + + + + + + + field + + + property + + + + + operator + + + method + + + + + method + + + event + + + + + + + + + + + + + + + + + + static.gif + + + + + + + + + + + + + + + + +

    + + +

    +
    + + + + + + + + + + + + + + + + + +
      + +
    • + + : + +
    • +
      +
    +
    + + + + + , + + + +
    +
    + + + + + + + + + +
      + +
    • + +
    • +
      +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + LastChild.gif + + + + +
    + + + LastChild.gif + + + + + 2 + + +
    + + + + + LastChild.gif + + + + + + + NotLastChild.gif + + + + +
    +
    +
    +
    + + + + +   + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template.HxF b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template.HxF new file mode 100644 index 0000000000..5cbfd28b77 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template.HxF @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_A.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_A.HxK new file mode 100644 index 0000000000..ccd4ff6657 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_A.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_B.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_B.HxK new file mode 100644 index 0000000000..d99ea60203 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_B.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_F.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_F.HxK new file mode 100644 index 0000000000..9fbb81412a --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_F.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_K.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_K.HxK new file mode 100644 index 0000000000..fe6f7356c4 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_K.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_N.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_N.HxK new file mode 100644 index 0000000000..857eae4898 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_N.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_S.HxK b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_S.HxK new file mode 100644 index 0000000000..bca3010f9e --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/HxsTemplate/template_S.HxK @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/SharedDocModel.ps1 b/tools/Sandcastle/Presentation/Shared/SharedDocModel.ps1 new file mode 100644 index 0000000000..c44a298889 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/SharedDocModel.ps1 @@ -0,0 +1,44 @@ + +# Shared Sandcastle build script overrides. + +function CreateOutputTemplate { + WriteInfo "Creating output template." + MakePath $TempDir\Output\html + MakePath $TempDir\Output\Media + copy-item -r $DxRoot\Presentation\$Style\icons $TempDir\Output + copy-item -r $DxRoot\Presentation\$Style\scripts $TempDir\Output + copy-item -r $DxRoot\Presentation\$Style\styles $TempDir\Output +} + +function CreateChmTemplate { + WriteInfo "Creating CHM template." + MakePath $TempDir\Chm\html + copy-item -r $TempDir\Output\media $TempDir\Chm + copy-item -r $TempDir\Output\icons $TempDir\Chm + copy-item -r $TempDir\Output\scripts $TempDir\Chm + copy-item -r $TempDir\Output\styles $TempDir\Chm + + MakePath $TempDir\Intellisense +} + +function CreateHxsTemplate { + WriteInfo "Creating HxS template." + $s = "$DxRoot\Presentation\Shared\HxsTemplate" + $d = "$TempDir\Output\$Name" + copy-item $s\template.HxF "$($d).HxF" + copy-item $s\template_A.HxK "$($d)_A.HxK" + copy-item $s\template_B.HxK "$($d)_B.HxK" + copy-item $s\template_F.HxK "$($d)_F.HxK" + copy-item $s\template_K.HxK "$($d)_K.HxK" + copy-item $s\template_N.HxK "$($d)_N.HxK" + copy-item $s\template_S.HxK "$($d)_S.HxK" +} + +function CreateWebsiteTemplate { + WriteInfo "Creating website template." + MakePath $WebOutputDir + MakePath $WebOutputDir\api + copy-item -r $DxRoot\Presentation\$Style\icons $WebOutputDir + copy-item -r $DxRoot\Presentation\$Style\styles $WebOutputDir + copy-item -r -force $WebTemplate\* $WebOutputDir +} \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config b/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config new file mode 100644 index 0000000000..5c74a7be00 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/configuration/xamlSyntax.config @@ -0,0 +1,65 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml b/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml new file mode 100644 index 0000000000..1f5b4bf6be --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/content/syntax_content.xml @@ -0,0 +1,87 @@ + + + + C# does not support this operator. + + + Visual C++ does not support this operator. + + + Visual Basic does not support APIs that consume or return unsafe types. + Visual Basic does not support this operator. + Visual Basic does not support the declaration of static classes. + + + J# does not support APIs that consume or return unsafe types. + J# supports the use of generic APIs, but not the declaration of new ones. + J# does not support overloaded operators. + J# does not support static constructors. + J# supports the use of explicit interface implementations, but not the declaration of new ones. + + + JScript does not support APIs that consume or return unsafe types. + JScript does not support generic types or methods. + JScript does not support explicit interface implementations. + JScript does not support overloaded operators. + JScript does not support events. + JScript does not support delegates. + JScript supports the use of structures, but not the declaration of new ones. + JScript does not support indexed properties. + JScript does not support the declaration of new casting operators. + JScript does not support static constructors. + + + This type supports the Script# infrastructure and cannot be used directly from JavaScript. + + Visual basic does not support APIs that consume or return unsafe types. + Visual basic does not support this operator. + You do not need to declare an instance of a static class in order to access its members. + + + This class is abstract; see for derived non-abstract classes usable in XAML. + This managed class is not typically used in XAML. + You cannot directly create an instance of this class in XAML. + + + You cannot use this managed structure in XAML. + + + Members of this class are either not typically used in XAML, or cannot be used in XAML. + You cannot use this event in XAML. + You cannot use this event in XAML. + You cannot use this event in XAML. + You cannot use this event in XAML. + You cannot use this event in XAML. + + Members of this class are either not typically used in XAML, or cannot be used in XAML. + You cannot set this property in XAML. + You cannot set this property in XAML. + You cannot set this property in XAML. + You cannot set this property in XAML. + You cannot set this property in XAML. + For XAML information, see the {0} type. + You cannot set this property in XAML. + + + <object property="enumerationValue" .../> + + + You cannot use constructors in XAML. + You cannot use methods in XAML. + You cannot use fields in XAML. + In XAML, you can use delegates but you cannot define your own. + Interfaces cannot be used directly in XAML; see types that implement this interface. + + + Not applicable. + + + XAML Attribute Usage + XAML Object Element Usage + XAML Implicit Collection Usage + XAML Property Element Usage + XAML Content Element Usage + XAML Values + XAML + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/copyHavana.bat b/tools/Sandcastle/Presentation/Shared/copyHavana.bat new file mode 100644 index 0000000000..adc32d96e1 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/copyHavana.bat @@ -0,0 +1,7 @@ +copy "%DXROOT%\Presentation\shared\HxsTemplate\template.HxF" Output\%1.HxF +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_A.HxK" Output\%1_A.Hxk +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_B.HxK" Output\%1_B.Hxk +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_F.HxK" Output\%1_F.Hxk +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_K.HxK" Output\%1_K.Hxk +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_N.HxK" Output\%1_N.Hxk +copy "%DXROOT%\Presentation\shared\HxsTemplate\template_S.HxK" Output\%1_S.Hxk diff --git a/tools/Sandcastle/Presentation/Shared/scripts/copycode.js b/tools/Sandcastle/Presentation/Shared/scripts/copycode.js new file mode 100644 index 0000000000..169da5050d --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/scripts/copycode.js @@ -0,0 +1,34 @@ +function CopyCode(key) +{ + var trElements = document.getElementsByTagName("tr"); + var i; + for(i = 0; i < trElements.length; ++i) + { + if(key.parentNode.parentNode.parentNode == trElements[i].parentNode) + { + window.clipboardData.setData("Text", trElements[i].innerText); + } + } +} + +function ChangeCopyCodeIcon(key) +{ + var i; + var imageElements = document.getElementsByName("ccImage") + for(i=0; i= 0) + { + // Get the URL to the file + url = oSelectBox.options[sIndex].value; + + // Set the configuration + wConfig += 'directories=0,'; + wConfig += 'location=0,'; + wConfig += 'menubar=0,'; + wConfig += 'resizable=1,'; + wConfig += 'scrollbars=1,'; + wConfig += 'status=0,'; + wConfig += 'toolbar=0'; + + // Launch the window + window.open(url, 'ViewSampleSource', wConfig); + } +} \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/Shared/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/Shared/transforms/utilities_dduexml.xsl new file mode 100644 index 0000000000..b9c46c87ce --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/transforms/utilities_dduexml.xsl @@ -0,0 +1,280 @@ + + + + + + +
    + +
    +
    + + + + + + + + +

    +
    + + + + +
      + +
    +
    + +
      + +
    +
    + + Unknown List Class + +
    +
    + + +
  • + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + &copyright; + + + +

    +
    + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl new file mode 100644 index 0000000000..4e8c904e62 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/transforms/utilities_metadata.xsl @@ -0,0 +1,238 @@ + + + + + + + . + + + + ` + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + %3C + + %3E + + + + + (Of + + ) + + + + + + + + + %2C + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl new file mode 100644 index 0000000000..35acfc1a87 --- /dev/null +++ b/tools/Sandcastle/Presentation/Shared/transforms/utilities_reference.xsl @@ -0,0 +1,335 @@ + + + + + + + + + + + + + + + + + + + + + + + + false + + + true + + + + true + + + + + + + + < + + (Of + + < + ( + + + + + , + + + + > + ) + > + ) + + + + + + + array< + + + + + + + + , + + + > + + + [ + , + ] + + + ( + , + ) + + + [ + , + ] + + + + + + + + + + * + + + + + + + + % + + + + + + + + + + + + + + + + + + + + + . + . + :: + . + + + + + + + + + + + + + + + + + + ( + + + + , + + + ) + + + + + + + + + . + + + + + + + + + + + + + + + + + + ( + + + + , + + + ) + + + + + [ + , + ] + + + + + * + + + + + + + + + + + + + + ( + + + + , + + + ) + + + + + + + + + . + . + :: + . + + + + + + + + + + + + + + + + + + + + < + + (Of + + < + ( + + + + + , + + + + > + ) + > + ) + + + + + + array< + + + + + + , + + + > + + + [ + , + ] + + + ( + , + ) + + + [ + , + ] + + + + + + + * + + + + + % + + + + + + + + + + ( + + + + , + + + ) + + + + diff --git a/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml b/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml new file mode 100644 index 0000000000..fcd4311489 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Content/conceptual_content.xml @@ -0,0 +1,68 @@ + + + + .NET Framework Developer's Guide + + + + + + + In This Section + Compiling the Code + Next Steps + Requirements + Related Sections + See Also + Syntax + Parameters + Return Value + Attributes and Elements + Attributes + Child Elements + Parent Elements + Element Information + Text Value + .NET Framework Equivalent + Prerequisites + Robust Programming + Security + External Resources + Demonstrates + Applies To + Conclusion + Background + What's New + Reference + Error Message + + + Language Filter: {0} + All + Multiple + Visual Basic + Visual Basic Script + C# + Visual C++ + J# + JScript + Xml + Html + and + + XAML + Usage + + (Declaration) + () + + Collapse All + Expand All + Example + + + Download + Sample Files: + View Source + + diff --git a/tools/Sandcastle/Presentation/hana/Content/reference_content.xml b/tools/Sandcastle/Presentation/hana/Content/reference_content.xml new file mode 100644 index 0000000000..b8e21a06f0 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Content/reference_content.xml @@ -0,0 +1,482 @@ + + + + This API is not documented. + This API is preliminary and subject to change. + + {0} + {0} ({1}) + Namespaces + {0} Namespace + {0} Class + {0} Structure + {0} Interface + {0} Derived Classes + + {0} Delegate + {0} Enumeration + {0} Field + {0} Method {1} + {0} Constructor {1} + {0} Property {1} + {0} Event + {0} Operator + + {0} Attached Property + {0} Attached Event + + {0} Generic Class + {0} Generic Structure + {0} Generic Interface + {0} Generic Delegate + {0} Generic Method + + + {0} Fields + {0} Methods {1} + {0} Constructors {1} + {0} Properties {1} + {0} Events + {0} Attached Properties + {0} Attached Events + {0} Members + + + Members + + + namespaces + {0} namespace + {0} class + {0} structure + {0} interface + {0} delegate + {0} enumeration + {0} enumeration member + {0}, about {0} + {0}, derived types + {0}, all members + {0}, methods + {0}, properties + {0}, fields + {0}, events + {0}, constructors + {0}, constructor + {0} constructor + {0} method + {0} property + {0} event + {0} field + {0} operator + {0} attached property + {0} attached event + + + + + + + + + + Syntax + Type Parameters + Parameters + Value + Return Value + Return Value + Property Value + Field Value + Implements + Examples + Thread Safety + Exceptions + Permissions + Namespaces + Types + Members + Overload List + Inheritance Hierarchy + Version Information + Platforms + See Also + + + Namespace + Description + Icon + Class + Structure + Interface + Delegate + Enumeration + Name + Description + Icon + Member + Description + Exception + Condition + Permission + Description + + + All Types + Classes + Structures + Interfaces + Delegates + Enumerations + All Members + Constructors + Methods + Properties + Attached Properties + Fields + Events + Operators + Attached Events + Explicit Interface Implementations + Public + Protected + Instance + Static + Declared + Inherited + .NET Compact Framework Only + XNA Framework Only + + Public Constructors + Protected Constructors + Constructors + Private Constructors + Public Methods + Protected Methods + Private Methods + Public Fields + Protected Fields + Private Fields + Public Properties + Protected Properties + Private Properties + Public Events + Protected Events + Private Events + Public Attached Properties + Protected Attached Properties + Private Attached Properties + Public Attached Events + Protected Attached Events + Private Attached Events + (see also {0}) + + + Thread Safety + Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe. + + Notes to Implementers: + Notes to Callers: + Notes to Inheritors: + + + + {0} Platform Note: {1} + + Windows 95 + Windows 98 Second Edition + + Windows NT 4.0 + Windows NT Server 4.0 + Windows NT Workstation 4.0 + + Windows 2000 + Windows 2000 Professional + Windows 2000 Server + Windows 2000 Advanced Server + + Windows XP Home Edition + Windows XP Professional x64 Edition + + Windows XP Tablet PC Edition + Windows XP Embedded + + Common Language Infrastructure (CLI) Standard + + Microsoft TV + + , , , + + , , + + + + + + + + + + + + + , , + + + Platforms + + +

    + + The .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1. + + + + + .NET Framework Class Library + Namespaces + Obsolete. + This API is obsolete. + The non-obsolete alternative is {0}. + Obsolete. + + NOTE: This API is now obsolete. + + (Inherited from {0}.) + (Overrides {0}.) + Assembly: {0} (Module: {1}) + HostProtectionAttribute. + The attribute applied to this has the following property value: {1}. The does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the class or . + class + delegate + structure + interface + enumeration + + Static members of this type are safe for multi-threaded operations. + Static members of this type are not safe for multi-threaded operations. + Instance members of this type are safe for multi-threaded operations. + Instance members of this type are not safe for multi-threaded operations. + + + Public class + Public structure + Public interface + Public delegate + Public enumeration + Protected class + Protected structure + Protected interface + Protected delegate + Protected enumeration + Private class + Private structure + Private interface + Private delegate + Private enumeration + + Public constructor + Public method + Public field + Public property + Public event + Public operator + Public attached property + Public attached event + Protected constructor + Protected method + Protected field + Protected property + Protected event + Protected operator + Protected attached property + Protected attached event + Private constructor + Private method + Private field + Private property + Private event + Private operator + Private attached property + Private attached event + Static member + + + Language Filter: {0} + All + Multiple + Visual Basic + Visual Basic Script + C# + Visual C++ + J# + JScript + Xml + Html + and + + XAML + Usage + + (Declaration) + () + + Constructors + Methods + Properties + Events + Fields + Operators + Attached Properties + Attached Events + + Collapse All + Expand All + + Example + {0} Namespace + {0} + {0} Members + + + Class + Structure + Interface + Delegate + Enumeration + + Members Options: Show All + Members Options: Filtered + Include Inherited Members + Include Protected Members + .NET Compact Framework Members Only + XNA Framework Members Only + + + Namespace: + + + + Platforms: {0} + + + + Assemblies: + + + + Assembly: + + + {0} (in {1}.{2}) + + + Assembly: {0} (in {1}.dll) + + + + Supported in: {0} + Supported in: {0}, {1} + Supported in: {0}, {1}, {2} + Supported in: {0}, {1}, {2}, {3} + Supported in: {0}, {1}, {2}, {3}, {4} + Obsolete (compiler warning) in {0} + Obsolete (does not compile) in {0} and later + + + Return Value + Property Value + Field Value + + Derived Classes + Supported by the .NET Compact Framework + Supported by the XNA Framework + Explicit Interface Implementations + Explicit interface implemetation + + + The {0} generic type exposes the following . + The {0} type exposes the following . + members + methods + properties + events + fields + operators + attached properties + attached events + + Dependency Property Information + Routed Event Information + More Code + + Overloaded. + ( Default Namespace ) + + + {0} type parameter of {1}. + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. + Infrastructure. + + + Windows 98 + Windows Millennium Edition + Windows Server 2000 SP4 + Windows XP Professional x64 Edition + Windows XP SP2 + Windows CE + Windows Mobile for Pocket PC + Windows Mobile for Smartphone + Windows Server 2003 + Windows XP Media Center Edition + Windows XP Starter Edition + Windows Vista + + + .NET Framework + .NET Compact Framework + XNA Framework + + + 3.5 + 3.0 + 2.0 + 1.1 + 1.0 + + 3.5 + 2.0 + 1.0 + + 1.0 + + + XMLNS for XAML: {0} + Not mapped to an xmlns. + + diff --git a/tools/Sandcastle/Presentation/hana/Content/shared_content.xml b/tools/Sandcastle/Presentation/hana/Content/shared_content.xml new file mode 100644 index 0000000000..7abd8dd2bd --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Content/shared_content.xml @@ -0,0 +1,139 @@ + + + + ../icons/{0} + ../scripts/{0} + ../art/{0} + ../styles/{0} + + + en-us + + kbNetFramewk + kbNetCompactFramewk + NetCompactFramework + + + [This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.] +

    + + + Tip: + Caution: + Security Note: + Note: + Important Note: + Visual Basic Note: + C# Note: + C++ Note: + J# Note: + + + Tip + Caution note + Security note + Note + Important note + Visual Basic note + C# note + C++ note + J# note + + + C# + Visual Basic + Visual Basic Usage + Visual C++ + J# + JScript + XAML + Declaration + Usage + + See Also + Tasks + Reference + Concepts + Other Resources + + + CollapseAll image + ExpandAll image + DropDown image + DropDownHover image + Collapse image + Expand Image + CopyHover image + Copy image + Footer image + + + .NET Framework + .NET Compact Framework + 1.1 + 2.0 + + Copy Code + + + + + + For more information, see + . + and + + Remarks + + + + {0}{2} + [Windows Presentation Foundation] + [Windows Presentation Foundation] + [Windows Communication Foundation] + [Windows Forms] + + + kbArticle + kbRef + kbRef + kbHowTo + kbOrient + kbSyntax + kbRef + kbSampleProd + kbArticle + kbOrient + kbOrient + kbHowTo + kbRef + kbHowTo + kbRef + kbHowTo + kbArticle + kbSyntax + apiref + + Top + + + + +

    + + Send + + + {0} + {1} + + comments + + about this topic to Microsoft. + + + + javascript:sendfeedback('Documentation Feedback (Sandcastle CTP): ', '{1}', ''); + + diff --git a/tools/Sandcastle/Presentation/hana/Content/token_content.xml b/tools/Sandcastle/Presentation/hana/Content/token_content.xml new file mode 100644 index 0000000000..13b8cb21ab --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Content/token_content.xml @@ -0,0 +1,4 @@ + + Visual Basic 2005 + See for more information. + diff --git a/tools/Sandcastle/Presentation/hana/DocModel.ps1 b/tools/Sandcastle/Presentation/hana/DocModel.ps1 new file mode 100644 index 0000000000..8f8aa55536 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/DocModel.ps1 @@ -0,0 +1,22 @@ + +# Sandcastle build script overrides for vsorcas doc model. + +. $DxRoot\Presentation\Shared\SharedDocModel.ps1 + +function PostProcessReflectionData($sourceFile, $targetFile) { + WriteInfo "Post processing reflection data." + &$XslTransform $sourceFile ` + /xsl:$DxRoot\ProductionTransforms\ApplyVSDocModel.xsl ` + /xsl:$DxRoot\ProductionTransforms\AddFriendlyFilenames.xsl ` + /arg:IncludeAllMembersTopic=false ` + /arg:IncludeInheritedOverloadTopics=true ` + /out:$targetFile +} + +function CreateToc { + WriteInfo "Creating TOC." + &$XslTransform $TempDir\ReflectionData\targets.xml ` + /xsl:$DxRoot\ProductionTransforms\createvstoc.xsl ` + /out:$TempDir\toc.xml +} + diff --git a/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js b/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js new file mode 100644 index 0000000000..347e028b99 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Scripts/CommonUtilities.js @@ -0,0 +1,314 @@ +function codeBlockHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) +{ + var names = value.split(' '); + + //Blocks + for(var blockCount = 0; blockCount < blockCollections.length; blockCount++) + { + toggleStyle(blockCollections[blockCount], 'x-lang', names[0], 'display', 'block', 'none'); + } + + //curvedTabs + for(var curvedTabCount = 0; curvedTabCount < curvedTabCollections.length; curvedTabCount++) + { + curvedToggleClass(curvedTabCollections[curvedTabCount], 'x-lang',names[0]); + } + + //Tabs + for(var tabCount = 0; tabCount < tabCollections.length; tabCount++) + { + toggleClass(tabCollections[tabCount], 'x-lang', names[0], 'activeTab', 'tab'); + } +} + +function styleSheetHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) +{ + var names = value.split(' '); + var name = names[1]; + toggleInlineStyle(name); +} + +function persistenceHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) +{ + data.set('lang', value); + data.save(); +} + +function languageHandler(id, data, value, curvedTabCollections, tabCollections, blockCollections) +{ + var names = value.split(' '); + toggleLanguage(id, 'x-lang', names[0]); +} + +toggleInlineStyle = function(name) +{ + var sd = getStyleDictionary(); + if (name == 'cs') { + sd['span.cs'].display = 'inline'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + } else if (name == 'vb') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'inline'; + sd['span.cpp'].display = 'none'; + } else if (name == 'cpp') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'inline'; + } else { + } +} + +toggleLanguage = function(id, data, value) +{ + var tNodes = getChildNodes('languageFilterToolTip'); + + for(var labelCount=0; labelCount < tNodes.length; labelCount++) + { + if(tNodes[labelCount].tagName != 'IMG' && tNodes[labelCount].tagName != '/IMG') + { + if(tNodes[labelCount].getAttribute('id').indexOf(value) >= 0) + { + tNodes[labelCount].style['display'] = 'inline'; + } + else + { + tNodes[labelCount].style['display'] = 'none'; + } + } + } + + var languageNodes = getChildNodes(id); + + for(var languageCount=0; languageCount < languageNodes.length; languageCount++) + { + if(languageNodes[languageCount].tagName == 'DIV'); + { + if(languageNodes[languageCount].getAttribute('id')) + { + var imageNodes = getChildNodes(languageNodes[languageCount].getAttribute('id'))[0]; + if (languageNodes[languageCount].getAttribute('id') == value) + { + imageNodes.src = radioSelectImage.src; + } + else + { + imageNodes.src = radioUnSelectImage.src; + } + } + } + } +} + +toggleStyle = function(blocks, attributeName, attributeValue, styleName, trueStyleValue, falseStyleValue) +{ + var blockNodes = getChildNodes(blocks); + + for(var blockCount=0; blockCount < blockNodes.length; blockCount++) + { + var blockElement = blockNodes[blockCount].getAttribute(attributeName); + if (blockElement == attributeValue) blockNodes[blockCount].style[styleName] = trueStyleValue; + else blockNodes[blockCount].style[styleName] = falseStyleValue; + } +} + +curvedToggleClass = function(curvedTabs, attributeName, attributeValue) +{ + var curvedTabNodes = getChildNodes(curvedTabs); + + for(var curvedTabCount=0; curvedTabCount < curvedTabNodes.length; curvedTabCount++) + { + var curvedTabElement = curvedTabNodes[curvedTabCount].getAttribute(attributeName); + if (curvedTabElement == attributeValue) + { + if (curvedTabNodes[curvedTabCount].className == 'leftTab' || curvedTabNodes[curvedTabCount].className == 'activeLeftTab') + { + curvedTabNodes[curvedTabCount].className = 'activeLeftTab'; + } + else if(curvedTabNodes[curvedTabCount].className == 'rightTab' || curvedTabNodes[curvedTabCount].className == 'activeRightTab') + { + curvedTabNodes[curvedTabCount].className = 'activeRightTab'; + } + else if(curvedTabNodes[curvedTabCount].className == 'middleTab' || curvedTabNodes[curvedTabCount].className == 'activeMiddleTab') + { + curvedTabNodes[curvedTabCount].className = 'activeMiddleTab'; + } + } + else + { + if (curvedTabNodes[curvedTabCount].className == 'leftTab' || curvedTabNodes[curvedTabCount].className == 'activeLeftTab') + { + curvedTabNodes[curvedTabCount].className = 'leftTab'; + } + else if(curvedTabNodes[curvedTabCount].className == 'rightTab' || curvedTabNodes[curvedTabCount].className == 'activeRightTab') + { + curvedTabNodes[curvedTabCount].className = 'rightTab'; + } + else if(curvedTabNodes[curvedTabCount].className == 'middleTab' || curvedTabNodes[curvedTabCount].className == 'activeMiddleTab') + { + curvedTabNodes[curvedTabCount].className = 'middleTab'; + } + } + } +} + +toggleClass = function(tabs, attributeName, attributeValue, trueClass, falseClass) +{ + var tabNodes = getChildNodes(tabs); + + for(var tabCount=0; tabCount < tabNodes.length; tabCount++) + { + var tabElement = tabNodes[tabCount].getAttribute(attributeName); + + if (tabElement == attributeValue) + { + if(tabNodes[tabCount].className == 'leftGrad' || tabNodes[tabCount].className == 'activeLeftGrad') + { + tabNodes[tabCount].className = 'activeLeftGrad'; + } + else if (tabNodes[tabCount].className == 'rightGrad' || tabNodes[tabCount].className == 'activeRightGrad') + { + tabNodes[tabCount].className = 'activeRightGrad'; + } + else tabNodes[tabCount].className = trueClass; + } + else + { + if(tabNodes[tabCount].className == 'leftGrad' || tabNodes[tabCount].className == 'activeLeftGrad') + { + tabNodes[tabCount].className = 'leftGrad'; + } + else if (tabNodes[tabCount].className == 'rightGrad' || tabNodes[tabCount].className == 'activeRightGrad') + { + tabNodes[tabCount].className = 'rightGrad'; + } + else tabNodes[tabCount].className = falseClass; + } + } +} + +getChildNodes = function(node) +{ + var element = document.getElementById(node); + + // get the children + if (element.tagName == 'TABLE') + { + // special handling for tables + var bodies = element.tBodies; + for(i = 0; i < bodies.length; i++) + { + var nodes = bodies[i].rows; + return nodes; + } + } + else + { + // all other cases + var nodes = element.childNodes; + return nodes; + } +} + +process = function(list, processFunction) +{ + var listNodes = getChildNodes(list); + + for(var i=0; i < listNodes.length; i++) + { + var listElement = listNodes[i]; + processFunction(listElement); + } +} + +function getStyleDictionary() { + var styleDictionary = new Array(); + + // iterate through stylesheets + var sheets = document.styleSheets; + + for(var i=0; i 0) + { + var key = datum.substring(0,index); + var value = datum.substring(index+1); + this.language[key] = value; + } + } + +} + +function setCookie(name, value, expires, path, domain, secure) +{ + var text = name + "=" + escape(value); + + if (expires) + { + + var currentDate = new Date(); + var expireDate = new Date( currentDate.getTime() + expires*24*60*60*1000 ); + text = text + ";expires=" + expireDate.toGMTString(); + } + if (path) text = text + ";path=" + path; + if (domain) text = text + ";domain=" + domain; + if (secure) text = text + ";secure"; + + document.cookie = text; +} + +function removeCookie(name) +{ + setCookie(name, "", -1); +} + +function getCookie(name) +{ + var text = document.cookie; + + var index = text.indexOf(name + "="); + + if (index < 0) return(null); + + var start = index + name.length + 1; + var end = text.indexOf(";", start); + + if (end < 0) end = text.length; + + var value = unescape( text.substring(start, end) ); + return(value); +} + +DataStore.prototype.set = function(key, value) +{ + this.language[key] = value; +} + +DataStore.prototype.get = function(key) +{ + return(this.language[key]); +} + +DataStore.prototype.clear = function () +{ + this.language = new Object(); +} + +DataStore.prototype.save = function () +{ + // prepare a cookie string + var text = ""; + + // construct the string + for (var key in this.language) + { + var datum = key + "=" + this.language[key]; + text = text + datum + ";"; + } + + // set it + setCookie(this.name, text); +} + +DataStore.prototype.count = function() +{ + var i = 0; + for (var key in this.data) + { + i++; + } + return(i); +} + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js b/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js new file mode 100644 index 0000000000..233c96085c --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Scripts/Dropdown.js @@ -0,0 +1,56 @@ + + // Dropdown menu control + + function Dropdown(activatorId, dropdownId) { + + // store activator and dropdown elements + this.activator = document.getElementById(activatorId); + this.dropdown = document.getElementById(dropdownId); + + // wire up show/hide events + registerEventHandler(this.activator,'mouseover', getInstanceDelegate(this, "show")); + registerEventHandler(this.activator,'mouseout', getInstanceDelegate(this, "requestHide")); + registerEventHandler(this.dropdown,'mouseover', getInstanceDelegate(this, "show")); + registerEventHandler(this.dropdown,'mouseout', getInstanceDelegate(this, "requestHide")); + + // fix visibility and position + this.dropdown.style.visibility = 'hidden'; + this.dropdown.style.position = 'absolute'; + this.reposition(null); + + // wire up repositioning event + registerEventHandler(window, 'resize', getInstanceDelegate(this, "reposition")); + + + } + + Dropdown.prototype.show = function(e) { + clearTimeout(this.timer); + this.dropdown.style.visibility = 'visible'; + } + + Dropdown.prototype.hide = function(e) { + this.dropdown.style.visibility = 'hidden'; + } + + Dropdown.prototype.requestHide = function(e) { + this.timer = setTimeout( getInstanceDelegate(this, "hide"), 250); + } + + Dropdown.prototype.reposition = function(e) { + + // get position of activator + var offsetLeft = 0; + var offsetTop = 0; + var offsetElement = this.activator; + while (offsetElement) { + offsetLeft += offsetElement.offsetLeft; + offsetTop += offsetElement.offsetTop; + offsetElement = offsetElement.offsetParent; + } + + // set position of dropdown relative to it + this.dropdown.style.left = offsetLeft; + this.dropdown.style.top = offsetTop + this.activator.offsetHeight; + + } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js b/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js new file mode 100644 index 0000000000..f3536f502d --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Scripts/EventUtilities.js @@ -0,0 +1,23 @@ + + // attach a handler to a particular event on an element + // in a browser-independent way + function registerEventHandler (element, event, handler) { + if (element.attachEvent) { + // MS registration model + element.attachEvent('on' + event, handler); + } else if (element.addEventListener) { + // NN (W4C) regisration model + element.addEventListener(event, handler, false); + } else { + // old regisration model as fall-back + element[event] = handler; + } + } + + // get a delegate that refers to an instance method + function getInstanceDelegate (obj, methodName) { + return( function(e) { + e = e || window.event; + return obj[methodName](e); + } ); + } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js b/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js new file mode 100644 index 0000000000..ad29617bce --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Scripts/LanguageFilter.js @@ -0,0 +1,91 @@ +/* + +function Selector2 (id, tag, attribute) { + this.root = document.getElementById(id); + this.elements = new Array(); + this.values = new Array(); + this.registerChildren(root, attribute); + + this.handlers = new Array(); +} + +Selector2.prototype.registerChildren(parent, tag, attribute) { + var children = parent.childNodes; + for (var i = 0; i 0) { + this.scrollingRegion.style.height = height; + } else { + this.scrollingRegion.style.height = 0; + } + this.scrollingRegion.style.width = document.body.clientWidth; + } diff --git a/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js b/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js new file mode 100644 index 0000000000..f6175245f3 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Scripts/script_manifold.js @@ -0,0 +1,1594 @@ +window.onload=LoadPage; +window.onunload=Window_Unload; +//window.onresize=ResizeWindow; +window.onbeforeprint = set_to_print; +window.onafterprint = reset_form; + +var vbDeclaration; +var vbUsage; +var csLang; +var cLang; +var jsharpLang; +var jsLang; +var xamlLang; + +var scrollPos = 0; + +var inheritedMembers; +var protectedMembers; +var netcfMembersOnly; +var netXnaMembersOnly; + +// Initialize array of section states + +var sectionStates = new Array(); +var sectionStatesInitialized = false; + +//Hide sample source in select element +function HideSelect() +{ + var selectTags = document.getElementsByTagName("SELECT"); + var spanEles = document.getElementsByTagName("span"); + var i = 10; + var m; + + if (selectTags.length != null || selectTags.length >0) + { + for (n=0; n0) + { + for (n=0; n node ids begin with "sectionToggle", so the same id can refer to different sections in different topics + // we don't want to persist their state; set it to expanded + if (itemId.indexOf("sectionToggle", 0) == 0) return "e"; + + // the default state for new section ids is expanded + if (sectionStates[itemId] == null) return "e"; + + // otherwise, persist the passed in state + return sectionStates[itemId]; +} + +var noReentry = false; + +function OnLoadImage(eventObj) +{ + if (noReentry) return; + + if (!sectionStatesInitialized) + InitSectionStates(); + + var elem; + if(document.all) elem = eventObj.srcElement; + else elem = eventObj.target; + + + if ((sectionStates[elem.id] == "e")) + ExpandSection(elem); + else if((sectionStates[elem.id] == "c")) + CollapseSection(elem); +} + +/* +********** +********** Begin +********** +*/ + +function LoadPage() +{ + // If not initialized, grab the DTE.Globals object + if (globals == null) globals = GetGlobals(); + + // show correct language + LoadLanguages(); + LoadMembersOptions(); + + Set_up_checkboxes(); + + DisplayLanguages(); + + DisplayFilteredMembers(); + + ChangeMembersOptionsFilterLabel(); + + if (!sectionStatesInitialized) + InitSectionStates(); + + SetCollapseAll(); + +// ResizeWindow(); + // split screen + var screen = new SplitScreen('header', 'mainSection'); + + // filtering dropdowns + if (document.getElementById('languageSpan') != null) { + var languageMenu = new Dropdown('languageFilterToolTip', 'languageSpan'); + } + if (document.getElementById('membersOptionsFilterToolTip') != null) { + var languageMenu = new Dropdown('membersOptionsFilterToolTip', 'membersOptionsSpan'); + } + + var mainSection = document.getElementById("mainSection"); + + // vs70.js did this to allow up/down arrow scrolling, I think + try { mainSection.setActive(); } catch(e) { } + + //set the scroll position + try{mainSection.scrollTop = scrollPos;} + catch(e){} +} + +function Window_Unload() +{ + SaveLanguages(); + SaveMembersOptions(); + SaveSections(); +} + +/* +function ResizeWindow() +{ + if (document.body.clientWidth==0) return; + var header = document.all.item("header"); + var mainSection = document.all.item("mainSection"); + if (mainSection == null) return; + + + document.body.scroll = "no" + mainSection.style.overflow= "auto"; + header.style.width= document.body.offsetWidth - 2; + //mainSection.style.paddingRight = "20px"; // Width issue code + mainSection.style.width= document.body.offsetWidth - 2; + mainSection.style.top=0; + if (document.body.offsetHeight > header.offsetHeight + 10) + mainSection.style.height= document.body.offsetHeight - (header.offsetHeight + 2); + else + mainSection.style.height=0; + + try + { + mainSection.setActive(); + } + catch(e) + { + } +} +*/ + +function set_to_print() +{ + //breaks out of divs to print + var i; + + if (window.text)document.all.text.style.height = "auto"; + + for (i=0; i < document.all.length; i++) + { + if (document.all[i].tagName == "body") + { + document.all[i].scroll = "yes"; + } + if (document.all[i].id == "header") + { + document.all[i].style.margin = "0px 0px 0px 0px"; + document.all[i].style.width = "100%"; + } + if (document.all[i].id == "mainSection") + { + document.all[i].style.overflow = "visible"; + document.all[i].style.top = "5px"; + document.all[i].style.width = "100%"; + document.all[i].style.padding = "0px 10px 0px 30px"; + } + } +} + +function reset_form() +{ + //returns to the div nonscrolling region after print + document.location.reload(); +} + +function Set_up_checkboxes() +{ + var checkbox; + + checkbox = document.getElementById("vbDeclarationCheckbox"); + if(checkbox != null) + { + if(vbDeclaration == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("vbUsageCheckbox"); + if(checkbox != null) + { + if(vbUsage == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("csCheckbox"); + if(checkbox != null) + { + if(csLang == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("cCheckbox"); + if(checkbox != null) + { + if(cLang == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("jsharpCheckbox"); + if(checkbox != null) + { + if(jsharpLang == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("jsCheckbox"); + if(checkbox != null) + { + if(jsLang == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("xamlCheckbox"); + if(checkbox != null) + { + if(xamlLang == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("inheritedCheckbox"); + if(checkbox != null) + { + if(inheritedMembers == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("protectedCheckbox"); + if(checkbox != null) + { + if(protectedMembers == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("netcfCheckbox"); + if(checkbox != null) + { + if(netcfMembersOnly == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } + + checkbox = document.getElementById("netXnaCheckbox"); + if(checkbox != null) + { + if(netXnaMembersOnly == "on") + checkbox.checked = true; + else + checkbox.checked = false; + } +} + +/* +********** +********** End +********** +*/ + + +/* +********** +********** Begin Language Filtering +********** +*/ + +function SetLanguage(key) +{ + var i = 0; + if(vbDeclaration == "on") + i++; + if(vbUsage == "on") + i++; + if(csLang == "on") + i++; + if(cLang == "on") + i++; + if(jsharpLang == "on") + i++; + if(jsLang == "on") + i++; + if(xamlLang == "on") + i++; + + if(key.id == "vbDeclarationCheckbox") + { + if(vbDeclaration == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + vbDeclaration = "off"; + } + else + vbDeclaration = "on"; + } + if(key.id == "vbUsageCheckbox") + { + if(vbUsage == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + vbUsage = "off"; + } + else + vbUsage = "on"; + } + if(key.id == "csCheckbox") + { + if(csLang == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + csLang = "off"; + } + else + csLang = "on"; + } + if(key.id == "cCheckbox") + { + if(cLang == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + cLang = "off"; + } + else + cLang = "on"; + } + if(key.id == "jsharpCheckbox") + { + if(jsharpLang == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + jsharpLang = "off"; + } + else + jsharpLang = "on"; + } + if(key.id == "jsCheckbox") + { + if(jsLang == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + jsLang = "off"; + } + else + jsLang = "on"; + } + if(key.id == "xamlCheckbox") + { + if(xamlLang == "on") + { + if(i == 1) + { + key.checked = true; + return; + } + + xamlLang = "off"; + } + else + xamlLang = "on"; + } + + DisplayLanguages(); +} + +function DisplayLanguages() +{ + var spanElements = document.getElementsByTagName("span"); + var x = 0; + if(vbDeclaration == "on") + x++; + if(vbUsage == "on") + x++; + if(csLang == "on") + x++; + if(cLang == "on") + x++; + if(jsharpLang == "on") + x++; + if(jsLang == "on") + x++; + if(xamlLang == "on") + x++; + + var i; + for(i = 0; i < spanElements.length; ++i) + { + if(spanElements[i].getAttribute("codeLanguage") != null) + { + if(spanElements[i].getAttribute("codeLanguage") == "VisualBasic") + { + if(vbDeclaration == "on" || vbUsage == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "VisualBasicDeclaration") + { + + if(vbDeclaration == "on") + spanElements[i].style.display = ""; + else{ + + spanElements[i].style.display = "none"; + } + } + if(spanElements[i].getAttribute("codeLanguage") == "VisualBasicUsage") + { + if(vbUsage == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "CSharp") + { + if(csLang == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "ManagedCPlusPlus") + { + if(cLang == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "JSharp") + { + if(jsharpLang == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "JScript") + { + if(jsLang == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + if(spanElements[i].getAttribute("codeLanguage") == "XAML") + { + if(xamlLang == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + + if(spanElements[i].getAttribute("codeLanguage") == "NotVisualBasicUsage") + { + if((x == 1) && (vbUsage == "on")) + { + spanElements[i].style.display = "none"; + } + else + { + spanElements[i].style.display = ""; + } + } + } + } + ChangeLanguageFilterLabel(); +} + +function ChangeLanguageFilterLabel() +{ + var i = 0; + if(vbDeclaration == "on") + i++; + if(vbUsage == "on") + i++; + if(csLang == "on") + i++; + if(cLang == "on") + i++; + if(jsharpLang == "on") + i++; + if(jsLang == "on") + i++; + if(xamlLang == "on") + i++; + + var labelElement; + + labelElement = document.getElementById("showAllLabel"); + + if(labelElement == null) + return; + + labelElement.style.display = "none"; + + labelElement = document.getElementById("multipleLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("vbLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("csLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("cLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("jsharpLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("jsLabel"); + labelElement.style.display = "none"; + + labelElement = document.getElementById("xamlLabel"); + labelElement.style.display = "none"; + + if(i == 7) + { + labelElement = document.getElementById("showAllLabel"); + labelElement.style.display = "inline"; + } + else if ((i > 1) && (i < 7)) + { + if((i == 2) && ((vbDeclaration == "on") && (vbUsage == "on"))) + { + labelElement = document.getElementById("vbLabel"); + labelElement.style.display = "inline"; + } + else + { + labelElement = document.getElementById("multipleLabel"); + labelElement.style.display = "inline"; + } + } + else if (i == 1) + { + if(vbDeclaration == "on" || vbUsage == "on") + { + labelElement = document.getElementById("vbLabel"); + labelElement.style.display = "inline"; + } + if(csLang == "on") + { + labelElement = document.getElementById("csLabel"); + labelElement.style.display = "inline"; + } + if(cLang == "on") + { + labelElement = document.getElementById("cLabel"); + labelElement.style.display = "inline"; + } + if(jsharpLang == "on") + { + labelElement = document.getElementById("jsharpLabel"); + labelElement.style.display = "inline"; + } + if(jsLang == "on") + { + labelElement = document.getElementById("jsLabel"); + labelElement.style.display = "inline"; + } + if(xamlLang == "on") + { + labelElement = document.getElementById("xamlLabel"); + labelElement.style.display = "inline"; + } + } +} + +function LoadLanguages() +{ + var value; + value = Load("vbDeclaration"); + if(value == null) + vbDeclaration = "on"; + else + vbDeclaration = value; + + value = Load("vbUsage"); + if(value == null) + vbUsage = "on"; + else + vbUsage = value; + + value = Load("csLang"); + if(value == null) + csLang = "on"; + else + csLang = value; + + value = Load("cLang"); + if(value == null) + cLang = "on"; + else + cLang = value; + + value = Load("jsharpLang"); + if(value == null) + jsharpLang = "on"; + else + jsharpLang = value; + + value = Load("jsLang"); + if(value == null) + jsLang = "on"; + else + jsLang = value; + + value = Load("xamlLang"); + if(value == null) + xamlLang = "on"; + else + xamlLang = value; +} + +function SaveLanguages() +{ + Save("vbDeclaration", vbDeclaration); + Save("vbUsage", vbUsage); + Save("csLang", csLang); + Save("cLang", cLang); + Save("jsharpLang", jsharpLang); + Save("jsLang", jsLang); + Save("xamlLang", xamlLang); +} + +/* +********** +********** End Language Filtering +********** +*/ + + +/* +********** +********** Begin Members Options Filtering +********** +*/ + +function SetMembersOptions(key) +{ + if(key.id == "inheritedCheckbox") + { + if(key.checked == true) + inheritedMembers = "on"; + else + inheritedMembers = "off"; + } + if(key.id == "protectedCheckbox") + { + if(key.checked == true) + protectedMembers = "on"; + else + protectedMembers = "off"; + } + if(key.id == "netcfCheckbox") + { + if(key.checked == true) + netcfMembersOnly = "on"; + else + netcfMembersOnly = "off"; + } + if(key.id == "netXnaCheckbox") + { + if(key.checked == true) + netXnaMembersOnly = "on"; + else + netXnaMembersOnly = "off"; + } + DisplayFilteredMembers(); + + ChangeMembersOptionsFilterLabel(); +} + +function DisplayFilteredMembers() +{ + var iAllMembers = document.getElementsByTagName("tr"); + var i; + + for(i = 0; i < iAllMembers.length; ++i) + { + if (((iAllMembers[i].getAttribute("protected") == "true") && (protectedMembers == "off")) || + ((iAllMembers[i].notSupportedOnXna == "true") && (netXnaMembersOnly == "on")) || + ((iAllMembers[i].getAttribute("name") == "inheritedMember") && (inheritedMembers == "off")) || + ((iAllMembers[i].getAttribute("notSupportedOn") == "netcf") && (netcfMembersOnly == "on"))) + iAllMembers[i].style.display = "none"; + else + iAllMembers[i].style.display = ""; + } +} + +function ChangeMembersOptionsFilterLabel() +{ + + var showAllMembersLabelElement = document.getElementById("showAllMembersLabel"); + var filteredMembersLabelElement = document.getElementById("filteredMembersLabel"); + + if(showAllMembersLabelElement == null || filteredMembersLabelElement == null) + return; + + if ((inheritedMembers=="off") || (protectedMembers=="off") || (netXnaMembersOnly == "on") || (netcfMembersOnly=="on")) + { + filteredMembersLabelElement.style.display = "inline"; + showAllMembersLabelElement.style.display = "none"; + } + else + { + filteredMembersLabelElement.style.display = "none"; + showAllMembersLabelElement.style.display = "inline"; + } +} + +function LoadMembersOptions() +{ + var value; + value = Load("inheritedMembers"); + if(value == null) + inheritedMembers = "on"; + else + inheritedMembers = value; + + value = Load("protectedMembers"); + if(value == null) + protectedMembers = "on"; + else + protectedMembers = value; + + value = Load("netcfMembersOnly"); + if(value == null) + netcfMembersOnly = "off"; + else + netcfMembersOnly = value; + + value = Load("netXnaMembersOnly"); + if(value == null) + netXnaMembersOnly = "off"; + else + netXnaMembersOnly = value; +} + +function SaveMembersOptions() +{ + Save("inheritedMembers", inheritedMembers); + Save("protectedMembers", protectedMembers); + Save("netcfMembersOnly", netcfMembersOnly); + Save("netXnaMembersOnly", netXnaMembersOnly); +} + +/* +********** +********** End Members Options Filtering +********** +*/ + + +/* +********** +********** Begin Expand/Collapse +********** +*/ + +// expand or collapse a section +function ExpandCollapse(imageItem) +{ + if (sectionStates[imageItem.id] == "e") + CollapseSection(imageItem); + else + ExpandSection(imageItem); + + SetCollapseAll(); +} + +// expand or collapse all sections +function ExpandCollapseAll(imageItem) +{ + var collapseAllImage = document.getElementById("collapseAllImage"); + var expandAllImage = document.getElementById("expandAllImage"); + if (imageItem == null || collapseAllImage == null || expandAllImage == null) return; + noReentry = true; // Prevent entry to OnLoadImage + + var imgElements = document.getElementsByName("toggleSwitch"); + var i; + var collapseAll = (imageItem.src == collapseAllImage.src); + if (collapseAll) + { + imageItem.src = expandAllImage.src; + imageItem.alt = expandAllImage.alt; + + for (i = 0; i < imgElements.length; ++i) + { + CollapseSection(imgElements[i]); + } + } + else + { + imageItem.src = collapseAllImage.src; + imageItem.alt = collapseAllImage.alt; + + for (i = 0; i < imgElements.length; ++i) + { + ExpandSection(imgElements[i]); + } + } + SetAllSectionStates(collapseAll); + SetToggleAllLabel(collapseAll); + + noReentry = false; +} + +function ExpandCollapse_CheckKey(imageItem, eventObj) +{ + if(eventObj.keyCode == 13) + ExpandCollapse(imageItem); +} + +function ExpandCollapseAll_CheckKey(imageItem, eventObj) +{ + if(eventObj.keyCode == 13) + ExpandCollapseAll(imageItem); +} + +function SetAllSectionStates(collapsed) +{ + for (var sectionId in sectionStates) + sectionStates[sectionId] = (collapsed) ? "c" : "e"; +} + +function ExpandSection(imageItem) +{ + noReentry = true; // Prevent re-entry to OnLoadImage + try + { + var collapseImage = document.getElementById("collapseImage"); + imageItem.src = collapseImage.src; + imageItem.alt = collapseImage.alt; + + imageItem.parentNode.parentNode.nextSibling.style.display = ""; + sectionStates[imageItem.id] = "e"; + } + catch (e) + { + } + noReentry = false; +} + +function CollapseSection(imageItem) +{ + noReentry = true; // Prevent re-entry to OnLoadImage + var expandImage = document.getElementById("expandImage"); + imageItem.src = expandImage.src; + imageItem.alt = expandImage.alt; + imageItem.parentNode.parentNode.nextSibling.style.display = "none"; + sectionStates[imageItem.id] = "c"; + noReentry = false; +} + +function AllCollapsed() +{ + var imgElements = document.getElementsByName("toggleSwitch"); + var allCollapsed = true; + var i; + + for (i = 0; i < imgElements.length; i++) allCollapsed = allCollapsed && (sectionStates[imgElements[i].id] == "c"); + + return allCollapsed; +} + +function SetCollapseAll() +{ + var imageElement = document.getElementById("toggleAllImage"); + if (imageElement == null) return; + + var allCollapsed = AllCollapsed(); + if (allCollapsed) + { + var expandAllImage = document.getElementById("expandAllImage"); + if (expandAllImage == null) return; + imageElement.src = expandAllImage.src; + imageElement.alt = expandAllImage.alt; + } + else + { + var collapseAllImage = document.getElementById("collapseAllImage"); + if (collapseAllImage == null) return; + imageElement.src = collapseAllImage.src; + imageElement.alt = collapseAllImage.alt; + } + + SetToggleAllLabel(allCollapsed); +} + +function SetToggleAllLabel(allCollapsed) +{ + var collapseLabelElement = document.getElementById("collapseAllLabel"); + var expandLabelElement = document.getElementById("expandAllLabel"); + + if (collapseLabelElement == null || expandLabelElement == null) return; + + if (allCollapsed) + { + collapseLabelElement.style.display = "none"; + expandLabelElement.style.display = "inline"; + } + else + { + collapseLabelElement.style.display = "inline"; + expandLabelElement.style.display = "none"; + } +} + +function SaveSections() +{ + try + { + var states = ""; + + for (var sectionId in sectionStates) states += sectionId + ":" + sectionStates[sectionId] + ";"; + + Save("SectionStates", states.substring(0, states.length - 1)); + } + catch (e) + { + } + +} + +function OpenSection(imageItem) +{ + if (sectionStates[imageItem.id] == "c") ExpandCollapse(imageItem); +} + +/* +********** +********** End Expand/Collapse +********** +*/ + + + +/* +********** +********** Begin Copy Code +********** +*/ + +function CopyCode(key) +{ + var trElements = document.getElementsByTagName("tr"); + var i; + for(i = 0; i < trElements.length; ++i) + { + if(key.parentNode.parentNode.parentNode == trElements[i].parentNode) + { + if (window.clipboardData) + { + // the IE-manner + window.clipboardData.setData("Text", trElements[i].innerText); + } + else if (window.netscape) + { + // Gives unrestricted access to browser APIs using XPConnect + try + { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); + } + catch(e) + { + alert("Universal Connect was refused, cannot copy to " + + "clipboard. Go to about:config and set " + + "signed.applets.codebase_principal_support to true to " + + "enable clipboard support."); + return; + } + + // Creates an instance of nsIClipboard + var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); + if (!clip) return; + + // Creates an instance of nsITransferable + var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable); + if (!trans) return; + + // register the data flavor + trans.addDataFlavor('text/unicode'); + + // Create object to hold the data + var str = new Object(); + + // Creates an instance of nsISupportsString + var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); + + //Assigns the data to be copied + var copytext = trElements[i].textContent; + str.data = copytext; + + // Add data objects to transferable + trans.setTransferData("text/unicode",str,copytext.length*2); + var clipid = Components.interfaces.nsIClipboard; + if (!clip) return false; + + // Transfer the data to clipboard + clip.setData(trans,null,clipid.kGlobalClipboard); + } + } + } +} + +function ChangeCopyCodeIcon(key) +{ + var i; + var imageElements = document.getElementsByName("ccImage") + for(i=0; i=5){ + document.body.addBehavior(gsContextMenuPath); + document.body.onbehaviorready="fnSetMenus()"; + document.body.oncontextopen="clearDef()"; + } + +} +// Called by showDef. The showDef function sniffs for initialization. +function openDialog(oNode,x,y){ + var bStatus=oDialog.dlg_status; // BUGBUG: This code assumes that oDialog has been initialized + if(bStatus==false){ + oDialog.dlg_status=true; + oDialog.style.display="block"; + } + else{ + if(typeof(oTimeout)=="number"){ + window.clearTimeout(oTimeout); + } + } + + var sTerm=oNode.getAttribute("G_RID"); + var oDef=oNode.children(0); + var sDef=oDef.text; + sDef=sDef.substr(4,sDef.length-7); //Strips the html comment markers from the definition. + oDialog.innerHTML=sDef + + + //oDialog.innerHTML=g_glossary[sTerm]; + + var iScrollLeft=document.body.scrollLeft; + var iScrollTop=document.body.scrollTop; + var iOffsetLeft=getAbsoluteLeft(oNode)// - iScrollLeft; + var iOffsetWidth=oNode.offsetWidth; + var oParent=oNode.parentNode; + var iOffsetParentLeft=getAbsoluteLeft(oParent); + var iOffsetTop=getAbsoluteTop(oNode); //- iScrollTop; + var iOffsetDialogWidth=oDialog.offsetWidth; + + + if((iOffsetLeft + iOffsetWidth) > (iOffsetParentLeft + oParent.offsetWidth)){ + iOffsetLeft=iOffsetParentLeft; + if(iOffsetLeft - iOffsetDialogWidth>0){ + iOffsetTop+=oNode.offsetHeight; + } + } + var iLeft=0; + var iTop=0; + if((iOffsetLeft + iOffsetWidth - iScrollLeft + iOffsetDialogWidth) < document.body.offsetWidth ){ + iLeft=iOffsetLeft + iOffsetWidth; + } + else{ + if(iOffsetLeft - iOffsetDialogWidth>0){ + iLeft=iOffsetLeft - iOffsetDialogWidth; + } + else{ + iLeft=iOffsetParentLeft; + } + } + if(iOffsetTop - iScrollTop"); + oNewDialog=document.body.children(document.body.children.length-1); + oNewDialog.className="clsTooltip"; + oNewDialog.style.width=iWidth; + oNewDialog.dlg_status=false; + return oNewDialog; +} + +function sendfeedback(subject, id,alias){ + var rExp = /\"/gi; + var url = location.href; + // Need to replace the double quotes with single quotes for the mailto to work. + var rExpSingleQuotes = /\'\'"/gi; + + var title; + if(document.getElementsByTagName("TITLE")[0].innerText) title = document.getElementsByTagName("TITLE")[0].innerText.replace(rExp, "''") + else title = document.getElementsByTagName("TITLE")[0].textContent.replace(rExp, "''"); + location.href = "mailto:" + alias + "?subject=" + subject + title + "&body=Topic%20ID:%20" + id + "%0d%0aURL:%20" + url + "%0d%0a%0d%0aComments:%20"; +} diff --git a/tools/Sandcastle/Presentation/hana/Styles/Presentation.css b/tools/Sandcastle/Presentation/hana/Styles/Presentation.css new file mode 100644 index 0000000000..82bbd056ea --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Styles/Presentation.css @@ -0,0 +1,934 @@ +/* * * This file was autogenerated by Styler at 02:02 on 02/15/2003 * * */ + +@import url("tabs.css"); +@import url("syntax.css"); + +/*********************************************************** + * SCRIPT-SUPPORTING STYLES + ***********************************************************/ + +/* Defines the userData cache persistence mechanism. */ +.userDataStyle +{ + behavior: url(#default#userData); +} + +/* Used to save the scroll bar position when navigating away from a page. */ +div.saveHistory +{ + behavior: url(#default#saveHistory); +} + +/* Formats the expand/collapse images for all collapsible regions. */ +img.toggle +{ + border: 0px; + margin-right: 5px; +} + +/* Formats the Language filter drop-down image. */ +img#languageFilterImage +{ + border: 0px; + margin-left: 0px; + vertical-align: middle; +} + +/* Formats the Members Options filter drop-down image. */ +img#membersOptionsFilterImage +{ + border: 0px; + margin-left: 0px; + vertical-align: middle; +} + +/* Formats the Collapse All/Expand All images. */ +img#toggleAllImage +{ + margin-left: 0px; + vertical-align: middle; +} + +/* Supports XLinks */ +MSHelp\:link +{ + text-decoration: underline; + /*color: #0000ff; */ + color: #0481DA; + hoverColor: #3366ff; + filterString: ; +} + + +/*********************************************************** + * CONTENT PRESENTATION STYLES + ***********************************************************/ + +body +{ + background: #FFFFFF; + color: #000000; + font-family: Verdana; + font-size: medium; + font-style: normal; + font-weight: normal; + margin: 0px; + width: 100%; +} + +dl +{ + margin-top: 15px; + margin-bottom:5px; + padding-left: 1px; +} + +/*dt +{ + font-style: italic; +}*/ + +dd +{ + margin-left: 0px; +} + +ul +{ + margin-top:0px; + margin-bottom:0px; + margin-left: 17px; + list-style-type: disc; +} + +ul ul +{ + margin-bottom: 4px; + margin-left: 17px; + margin-top: 3px; + list-style-type: disc; +} + +ol +{ + margin-top:0px; + margin-bottom:0px; + margin-left: 28px; + list-style-type: decimal; +} + +ol ol +{ + margin-bottom: 4px; + margin-left: 28px; + margin-top: 3px; + list-style-type: lower-alpha; +} + +li +{ + margin-top: 5; + margin-bottom: 5; +} + +p +{ + margin-top: 10px; + margin-bottom: 5px; +} +a[href] +{ + color: #0481DA; +} +a +{ + color:#0481DA; +} + +a:visited +{ + color: #0481DA; +} + +a:hover +{ + /*color: #3366FF;*/ + color: #E85F17; +} + +code +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} + +span.parameter { + font-style: italic; + font-weight:bold; +} + +span.italic { + font-style: italic; +} + +span.referenceNoLink { + font-weight: bold; +} +span.nolink { + font-weight: bold; +} + +span.selflink { + font-weight: bold; +} + +span.nonLinkTerm { + font-weight: bold; +} +span.linkTerm { + font-weight:normal; +} + +/*********************************************************** + * STRUCTURE PRESENTATION STYLES + ***********************************************************/ + +/* Applies to everything below the non-scrolling header region. */ +div#mainSection +{ + font-size: 62.5%; + width: 100%; + overflow:hidden; +} +html>body #mainSection +{ + font-size:73%; + width: 100%; +} + +/* Applies to everything below the non-scrolling header region, minus the footer. */ +div#mainBody +{ + font-size: 100%; + margin-left: 15px; + margin-top: 10px; + padding-bottom: 20px; + overflow:hidden; +} + +html>body #mainBody +{ + font-size: 93%; + margin-left: 15px; + margin-top: 10px; + padding-bottom: 20px; +} + +/* Adds right padding for all blocks in mainBody */ +div#mainBody p, div#mainBody ol, div#mainBody ul, div#mainBody dl +{ + padding-right: 5px; +} + +/*------------------------------ Begin Non-scrolling Header Region Styles -------------------------------*/ +/* Applies to the entire non-scrolling header region. */ +div#header +{ + background-color: white; + padding-top: 0px; + padding-bottom: 0px; + padding-left: 0px; + padding-right: 0px; + width: 100%; +} + +/* Applies to both tables in the non-scrolling header region. */ +div#header table +{ + width: 100%; +} + +/* Applies to cells in both tables in the non-scrolling header region. */ +div#header table td +{ + /*color: #0000FF;*/ + color:#0481DA; + font-size: 70%; + margin-top: 0px; + margin-bottom: 0; + padding-right: 20; +} + +/* Applies to the last row in the upper table of the non-scrolling header region. Text + in this row includes See Also, Constructors, Methods, and Properties. */ +div#header table tr#headerTableRow3 td +{ + padding-bottom: 2px; + padding-top: 5px; + padding-left: 15px; +} + +/* Applies to the lower table in the non-scrolling header region. Text in this table + includes Collapse All/Expand All, Language Filter, and Members Options. */ +div#header table#bottomTable +{ + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1px; + text-align: left; + padding-left: 15px; +} + +/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, + Protected Constructors, Public Properties, Protected Properties, and so on). */ +div#mainSection table td.imageCell +{ + white-space: nowrap; +} +/*------------------------------ End General Table Styles -------------------------------*/ + +/*------------------------------ Begin General Table Styles -------------------------------*/ + +div#mainBody div.alert, div#mainBody div.code, div#mainBody div.tableSection +{ + width:98.9%; +} + +div#mainBody div.section div.alert, div#mainBody div.section div.code, +div#mainBody div.section div.tableSection +{ + width:100%; +} + +div#mainBody div.section ul div.alert, div#mainBody div.section ul div.code, +div#mainBody div.section ul div.tableSection, div#mainBody div.section ol div.alert, +div#mainBody div.section ol div.code, div#mainBody div.section ol div.tableSection +{ + width:100%; +} + +div.alert p, div.code p +{ + margin-top:5px; + margin-bottom:8px; +} +dd p +{ + margin-top:2px; + margin-bottom:8px; +} +div.tableSection p +{ + margin-top:1px; + margin-bottom:4px; +} +li p +{ + margin-top:2px; + margin-bottom:2px; +} +div.seeAlsoNoToggleSection dl +{ + margin-top:8px; + margin-bottom:1px; + padding-left:1px; +} +div.seeAlsoNoToggleSection dd p +{ + margin-top:2px; + margin-bottom:8px; +} +div.section dl +{ + margin-top:8px; + margin-bottom:1px; + padding-left:1px; +} +div.section dd p +{ + margin-top:2px; + margin-bottom:8px; +} +/*------------------------------ End General Table Styles -------------------------------*/ + +/* Applies to the running header text in the first row of the upper table in the + non-scrolling header region. */ +span#runningHeaderText +{ + color: #495F7F; + font-size: 90%; + padding-left: 13px; +} + +/* Applies to the topic title in the second row of the upper table in the + non-scrolling header region. */ +span#nsrTitle +{ + color: #495F7F; + font-size: 120%; + font-weight: 600; + padding-left: 13px; +} +/*------------------------------ End Non-scrolling Header Region Styles -------------------------------*/ + + +/* Formats the footer. Currently, the transforms pass in two parameters to the + footer SSC, but the default footer SSC doesn't use either parameter. + TODO: Investigate whether the default footer SSC has any impact on doc spec. */ +div#footer +{ + font-size: 80%; + margin: 0px; + padding-top: 8px; + padding-bottom: 6px; + padding-left: 5px; + padding-right: 2px; + width: 100%; +} + +html>body div#footer +{ + font-size: 80%; + margin: 0px; + padding-top: 2px; + padding-bottom: 6px; + padding-left: 5px; + padding-right: 2px; + width: 98%; +} + +/* Unable to find this style in the transforms. The default footer SSC adds a plain horizontal rule. + TODO: Determine whether this style is required by the doc spec. */ +/* +hr#footerHR +{ + border-bottom-color: #EEEEFF; + border-bottom-style: solid; + border-bottom-width: 1px; + border-top-color: C8CDDE; + border-top-style: solid; + border-top-width: 1px; + height: 3px; + color: #D4DFFF; +} +*/ + +/******************************************************************************************************************** + Collapsible Section Structure + +

    // Format of the collapsible section text + // Defines the onclick procedure for the expand/collapse section + // Expand/collapse image + + +

    + +
    // The body of the collapsible section; hidden by default +
    + + + The ExpandCollapse() function is responsible for toggling the expand/collapse image, and for + displaying/hiding the body of the collapsible section. +********************************************************************************************************************/ + +/* Applies to the body of a collapsible section */ +div.seeAlsoNoToggleSection +{ + margin-left:0; + padding-top: 2px; + padding-bottom: 2px; + padding-left: 0px; + padding-right: 15px; + width: 100%; +} + +div.section +{ + margin-left:0px; + padding-left: 16px; + padding-right: 15px; + width: 100%; +} +html>body div.section +{ + margin-left:0px; + padding-top: 2px; + padding-bottom: 2px; + padding-left: 16px; + padding-right: 15px; + width: 97%; +} +div.seeSection +{ + margin-left:0px; + padding-top: 0px; + padding-bottom: 2px; + padding-left: 16px; + padding-right: 15px; + width: 100%; +} + +/*------------------------------ Begin Heading Styles -------------------------------*/ +/* As far as I can tell, only

    tags use this class. + TODO: Decide whether to roll these attributes into the h1.heading style */ +.heading +{ + font-weight: bold; + margin-top: 18px; + margin-bottom: 8px; +} + +/* All

    headings. */ +h1.heading +{ + color: #0481DA; + font-size: 130%; +} + +/* Applies to table titles and subsection titles. */ +.subHeading +{ + font-weight: bold; + margin-bottom: 4px; +} +.procedureSubHeading +{ + font-weight: bold; + margin-bottom: 4px; +} + +/* Formats the titles of author-generated tables. */ +h3.subHeading +{ + color: #000000; + font-size: 120%; + font-weight:800; +} + +h3.procedureSubHeading +{ + color: #0481DA; + font-size: 120%; +} + +/* Formats the titles of all subsections. */ +h4.subHeading +{ + color: #000000; + font-size: 110%; + font-weight:800; +} +span.labelheading, div.labelheading +{ + font-size:100%; + color: #0481DA; +} + +/*------------------------------ End Heading Styles -------------------------------*/ + + +/*------------------------------ Begin Image Styles -------------------------------*/ +img.copyCodeImage +{ + border: 0px; + margin: 1px; + margin-right: 3px; +} + +img.downloadCodeImage +{ + border: 0px; + margin-right: 3px; +} + +img.viewCodeImage +{ + border: 0px; + margin-right: 3px; +} + +img.note +{ + border: 0px; + margin-right: 3px; +} +/*------------------------------ End Image Styles -------------------------------*/ + +/*------------------------------ Begin Note Styles -------------------------------*/ +div.alert table +{ + border: 0px; + font-size: 100%; + width: 100%; +} + +div.alert table th +{ + background: #EFEFF7; + border-bottom-width: 0px; + color: #000066; + padding-left: 5px; + padding-right: 5px; +} + +div.alert table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1px; + padding-left: 5px; + padding-right: 5px; +} + + +/*------------------------------ End Note Styles -------------------------------*/ + + +/* Applies to the copy code text and image. */ +span.copyCode +{ + color: #0481DA; + font-size:xx-small; + font-weight: normal; + cursor: pointer; + float: left; + display: inline; + text-align: left; + padding-bottom:10px; +} +span.copyCodeOnHover +{ + color: #E85F17; + font-size:xx-small; + font-weight: normal; + cursor: pointer; + float: left; + display: inline; + text-align: left; + padding-bottom:10px; + text-decoration: underline; +} + +.downloadCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +.viewCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +/* Formats parameter tooltips. */ +.tip +{ + color: #0000FF; + font-style: italic; + cursor: pointer; + text-decoration:underline; +} + +/* Applies to the language labels in the Language Filter drop-down list. */ +.languageFilter +{ + color: #0000FF; + cursor: pointer; + text-decoration:underline; + padding-bottom:4px; +} + +/* Applies to text styled as math. This text is passed as a parameter to the italics SSC definition */ +.math +{ + font-family: Times New Roman; + font-size: 125% +} + +/* The sourceCodeList class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +.sourceCodeList +{ + font-family: Verdana; + font-size: 90%; +} +*/ + +/* The viewCode class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +pre.viewCode +{ + width: 100%; + overflow: auto; +} +*/ + +/* Dropdown areas */ + +#languageSpan +{ + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #C8CDDE; + background:white; + padding: 4px; + font-size:82.5%; + } + +#membersOptionsSpan { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #C8CDDE; + background: #d4dfff; + padding: 4px; + font-size: 62.5%; +} + +/* Line seperating footer from main body */ + +div.footerLine { + margin: 0; + width: 100%; + padding-top: 8px; + padding-bottom: 6px; + padding-left: 5px; + padding-right: 2px; + +} + +div.hr1 +{ + margin: 0px; + width: 100%; + height: 1px; + padding: 0px; + background: #C8CDDE; + font-size: 1px; +} + +div.hr2 +{ + margin: 0px; + width: 100%; + height: 1px; + padding: 0px; + background: #D4DFFF; + font-size: 1px; +} + +div.hr3 +{ + margin: 0px; + width: 100%; + height: 1px; + padding: 0px; + background: #EEEEFF; + font-size: 1px; +} + +span.cs +{ + display: none; +} + +span.vb +{ + display: inline; +} + +span.cpp +{ + display: none; +} + +span.nu +{ + display: none; +} + +span.code +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} +span.ui +{ + font-weight: bold; +} +span.math +{ + font-style: italic; +} +span.input +{ + font-weight: bold; +} +span.term +{ + font-style: italic; +} +span.label +{ + font-weight: bold; +} +span.foreignPhrase +{ + font-style: italic; +} +span.placeholder +{ + font-style: italic; +} +span.keyword +{ + font-weight: bold; +} +span.typeparameter +{ + font-style:italic; +} + +div.caption +{ + font-weight: bold; + font-size:100%; + color:#003399; +} + +div.code +{ + clear: both; + width: 100%; + background: #E3E6EB; + padding: 0.4em; + font-family: "Andale Mono", "Courier New", Courier, monospace; + font-size: 9pt; + margin-bottom: 1em; + border-bottom:solid 1px #bfc2c7; + border-right:solid 1px #bfc2c7; + display:block; + background-image:url(../icons/tab_sel_lft_grad.gif); + background-repeat:repeat-y; +} + +div.memberSection +{ + background: #E3E6EB; + border-bottom:solid 1px #bfc2c7; + border-right:solid 1px #bfc2c7; + padding:8px; + background-image:url(../icons/tab_sel_lft_grad.gif); + background-repeat:repeat-y; + width:100%; +} + +div.listSection +{ + background: #E3E6EB; + border-top:solid 1px #bfc2c7; + border-bottom:solid 1px #bfc2c7; + border-right:solid 1px #bfc2c7; + padding:8px; + background-image:url(../icons/tab_sel_lft_grad.gif); + background-repeat:repeat-y; + width:100%; +} + +/* table styles */ + +table.memberOptions +{ + font-size:xx-small; + padding:0px; +} +table.members { + table-layout: fixed; + background: white; + padding:0px; + width:100%; +} + +table.members tr { + min-height: 20px; +} + +table.members th.iconColumn { + width: 60px; +} + +table.members th.nameColumn { + width: 33%; +} + +table.members th.descriptionColumn { + width: 66%; +} + +table.members th { + border-color: #c7ced8; + border-style: solid; + border-width: 1px; + background: white; + text-align: left; + color: #000066; + font-weight: bold; + font-size:xx-small; +} + +table.members td { + border-style: solid; + border-color: #c7ced8; + border-width: 1px; + background: white; + vertical-align: top; + overflow: hidden; + font-size:xx-small; +} + +div.section table.filter { + table-layout: fixed; +} + +/* end of table styles */ + + +td.line +{ + width:22em; +} + +td.nsrBottom +{ + height:0.6em; +} +/* end of tab styles */ + +span.syntaxLabel +{ + color:#0481DA; + font-weight:bold; +} + +div.seeAlsoStyle +{ + padding-top:5px; +} +/* end of syntax styles */ + +/* Glossary */ +SPAN.clsGlossary {cursor: default; color: #509950; font-weight: bold;} +DIV.clsTooltip {border: 1px solid black; padding: 2px; position: absolute; top: 0; left: 0; display: none; background-color: #FFFFAA; color: black; font-size: 8pt; font-family: Arial;} diff --git a/tools/Sandcastle/Presentation/hana/Styles/syntax.css b/tools/Sandcastle/Presentation/hana/Styles/syntax.css new file mode 100644 index 0000000000..eb273467db --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Styles/syntax.css @@ -0,0 +1,22 @@ + +/* syntax styles */ + +div.code span.identifier { + font-weight: bold; +} + +div.code span.keyword { + color: #0000ff; +} + +div.code span.parameter { + font-style: italic; +} + +div.code span.literal { + color: #a31515; +} + +div.code span.comment { + color: #007f00; +} diff --git a/tools/Sandcastle/Presentation/hana/Styles/tabs.css b/tools/Sandcastle/Presentation/hana/Styles/tabs.css new file mode 100644 index 0000000000..dbf0f145a7 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/Styles/tabs.css @@ -0,0 +1,118 @@ +/* tab styles */ + +/* unselected label */ +div.section table.filter tr.tabs td.tab { + width: 10em; + background: white; + text-align: center; + color: #0481DA; + font-weight: normal; + overflow: hidden; + cursor: pointer; + border-bottom: solid 1px #cad1da; + font-size: xx-small; +} + +/* selected label */ +div.section table.filter tr.tabs td.activeTab { + width: 10em; + background: #E3E6EB; + text-align: center; + color: #000066; + font-weight: bold; + overflow: hidden; + font-size: xx-small; +} + +/* unselected upper left corner */ +td.LeftTab { + width: 5px; + height: 5px; + background-image: url("../icons/tab_unsel_lft_cnr.gif"); + background-repeat: no-repeat; + font-size:2pt; +} + +/* selected upper left corner */ +td.activeLeftTab { + width: 5px; + height: 5px; + background-image: url("../icons/tab_sel_lft_cnr.gif"); + background-repeat: no-repeat; + font-size:2pt; +} + +/* unselected upper right corner */ +td.RightTab { + width: 5px; + height: 5px; + background-image: url("../icons/tab_unsel_rt_cnr.gif"); + background-repeat: no-repeat; + font-size:2pt; +} + +/* selected upper right corner */ +td.activeRightTab { + width: 5px; + height: 5px; + background-image: url("../icons/tab_sel_rt_cnr.gif"); + background-repeat: no-repeat; + font-size:2pt; +} + +/* unselected left gradient */ +td.leftGrad { + width: 5px; + border-bottom: solid 1px #cad1da; + background-image: url("../icons/tab_unsel_lft_grad.gif"); + background-repeat: repeat-y; + font-size:2pt; +} + +/* selected left gradient */ +td.activeLeftGrad { + width: 5px; + background-image: url("../icons/tab_sel_lft_grad.gif"); + background-repeat: repeat-y; + font-size:2pt; +} + +/* unselected right gradient */ +td.RightGrad { + width: 5px; + border-bottom: solid 1px #cad1da; + background-image: url("../icons/tab_unsel_rt_grad.gif"); + background-repeat: repeat-y; + white-space:nowrap; + font-size:2pt; +} + +/* selected right gradient */ +td.activeRightGrad { + width: 5px; + background-image: url("../icons/tab_sel_rt_grad.gif"); + background-repeat: repeat-y; + white-space:nowrap; + font-size:2pt; +} + +/* unselected label top */ +td.middleTab { + width: 10em; + background: white; + height: 5px; + border-top: solid 1px #cad1da; + font-size:2pt; +} + +/* selected label top */ +td.activeMiddleTab +{ + width: 10em; + background: #E3E6EB; + height: 5px; + border-top: solid 1px #bdc6d2; + font-size:2pt; +} + + diff --git a/tools/Sandcastle/Presentation/hana/configuration/conceptual.config b/tools/Sandcastle/Presentation/hana/configuration/conceptual.config new file mode 100644 index 0000000000..7942ebeeee --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/configuration/conceptual.config @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config b/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config new file mode 100644 index 0000000000..ba51addd83 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/configuration/sandcastle-scbuild.config @@ -0,0 +1,126 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config b/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config new file mode 100644 index 0000000000..494f3b8c3d --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/configuration/sandcastle.config @@ -0,0 +1,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/copyOutput.bat b/tools/Sandcastle/Presentation/hana/copyOutput.bat new file mode 100644 index 0000000000..c7a5326f09 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/copyOutput.bat @@ -0,0 +1,11 @@ +if not exist Output mkdir Output +if not exist Output\html mkdir Output\html +if not exist Output\icons mkdir Output\icons +if not exist Output\scripts mkdir Output\scripts +if not exist Output\styles mkdir Output\styles +if not exist Output\media mkdir Output\media +copy "%DXROOT%\Presentation\hana\icons\*" Output\icons +copy "%DXROOT%\Presentation\hana\scripts\*" Output\scripts +copy "%DXROOT%\Presentation\hana\styles\*" Output\styles +if not exist Intellisense mkdir Intellisense + diff --git a/tools/Sandcastle/Presentation/hana/icons/CFW.gif b/tools/Sandcastle/Presentation/hana/icons/CFW.gif new file mode 100644 index 0000000000..cbcabf1b2d Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/CFW.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/Caution.gif b/tools/Sandcastle/Presentation/hana/icons/Caution.gif new file mode 100644 index 0000000000..c58e1f949f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/Caution.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/LastChild.gif b/tools/Sandcastle/Presentation/hana/icons/LastChild.gif new file mode 100644 index 0000000000..0b9af7e88d Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/LastChild.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif b/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif new file mode 100644 index 0000000000..a6f9ac69ae Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/NSRbottomgrad.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/adm.gif b/tools/Sandcastle/Presentation/hana/icons/adm.gif new file mode 100644 index 0000000000..558dbd1d6f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/adm.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif b/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif new file mode 100644 index 0000000000..918f568a6c Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/adm_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif b/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif new file mode 100644 index 0000000000..e7398bb0a5 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/adm_dev.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif new file mode 100644 index 0000000000..9beb941f60 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/adm_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif b/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif new file mode 100644 index 0000000000..c58e1f949f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/alert_caution.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_note.gif b/tools/Sandcastle/Presentation/hana/icons/alert_note.gif new file mode 100644 index 0000000000..3393af3564 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/alert_note.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/alert_security.gif b/tools/Sandcastle/Presentation/hana/icons/alert_security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/alert_security.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/arch.gif b/tools/Sandcastle/Presentation/hana/icons/arch.gif new file mode 100644 index 0000000000..a75cdf83cc Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/big_adm.gif b/tools/Sandcastle/Presentation/hana/icons/big_adm.gif new file mode 100644 index 0000000000..9351c4bf3e Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/big_adm.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/big_arch.gif b/tools/Sandcastle/Presentation/hana/icons/big_arch.gif new file mode 100644 index 0000000000..8ba260d761 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/big_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/big_dev.gif b/tools/Sandcastle/Presentation/hana/icons/big_dev.gif new file mode 100644 index 0000000000..221a4dd049 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/big_dev.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/big_kw.gif b/tools/Sandcastle/Presentation/hana/icons/big_kw.gif new file mode 100644 index 0000000000..365cca20e6 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/big_kw.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/box.gif b/tools/Sandcastle/Presentation/hana/icons/box.gif new file mode 100644 index 0000000000..c022894065 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/box.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif b/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif new file mode 100644 index 0000000000..7a817705b5 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/ch_selected.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif new file mode 100644 index 0000000000..21edffc973 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/ch_selected_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif b/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif new file mode 100644 index 0000000000..04c9cfdf95 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/ch_unselected.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif new file mode 100644 index 0000000000..693ec56854 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/ch_unselected_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/collall.gif b/tools/Sandcastle/Presentation/hana/icons/collall.gif new file mode 100644 index 0000000000..66a6f11629 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/collall.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/collapse.gif b/tools/Sandcastle/Presentation/hana/icons/collapse.gif new file mode 100644 index 0000000000..d57c046779 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/collapse.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif b/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif new file mode 100644 index 0000000000..45f018af95 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/collapse_all.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/copycode.gif b/tools/Sandcastle/Presentation/hana/icons/copycode.gif new file mode 100644 index 0000000000..1678162660 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/copycode.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif b/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif new file mode 100644 index 0000000000..be87230ff9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/copycodeHighlight.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/dev.gif b/tools/Sandcastle/Presentation/hana/icons/dev.gif new file mode 100644 index 0000000000..376241d5c0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/dev.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif new file mode 100644 index 0000000000..12b5520898 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown.gif new file mode 100644 index 0000000000..9d3bbb6e75 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/drpdown.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif new file mode 100644 index 0000000000..cf50c2014e Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif new file mode 100644 index 0000000000..a173df1e6c Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/drpdown_orange_up.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/drpup.gif b/tools/Sandcastle/Presentation/hana/icons/drpup.gif new file mode 100644 index 0000000000..de7719859f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/drpup.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/exp.gif b/tools/Sandcastle/Presentation/hana/icons/exp.gif new file mode 100644 index 0000000000..023b837ea6 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/exp.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/expall.gif b/tools/Sandcastle/Presentation/hana/icons/expall.gif new file mode 100644 index 0000000000..1a91b12735 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/expall.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/expand_all.gif b/tools/Sandcastle/Presentation/hana/icons/expand_all.gif new file mode 100644 index 0000000000..123fda96f0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/expand_all.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/filter1a.gif b/tools/Sandcastle/Presentation/hana/icons/filter1a.gif new file mode 100644 index 0000000000..8a2f9b58a6 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/filter1a.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/filter1c.gif b/tools/Sandcastle/Presentation/hana/icons/filter1c.gif new file mode 100644 index 0000000000..49de223fd4 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/filter1c.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/footer.gif b/tools/Sandcastle/Presentation/hana/icons/footer.gif new file mode 100644 index 0000000000..7092cde8db Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/footer.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/greencheck.gif b/tools/Sandcastle/Presentation/hana/icons/greencheck.gif new file mode 100644 index 0000000000..4ba17510db Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/greencheck.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/greychck.gif b/tools/Sandcastle/Presentation/hana/icons/greychck.gif new file mode 100644 index 0000000000..adb8fa1e68 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/greychck.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg b/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg new file mode 100644 index 0000000000..2f53424cd7 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/header_prev_next.jpg differ diff --git a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg new file mode 100644 index 0000000000..aca05662a6 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_blank.jpg differ diff --git a/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF new file mode 100644 index 0000000000..e0b0bcc5f6 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/header_sql_tutorial_logo.GIF differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw.gif b/tools/Sandcastle/Presentation/hana/icons/kw.gif new file mode 100644 index 0000000000..40a943c91b Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif new file mode 100644 index 0000000000..6e05cc8266 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_adm.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif new file mode 100644 index 0000000000..162c7d8b26 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_adm_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif new file mode 100644 index 0000000000..2d67824aba Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif new file mode 100644 index 0000000000..358f2fa169 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_adm_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif new file mode 100644 index 0000000000..ab5d3bb9df Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif b/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif new file mode 100644 index 0000000000..6ff27ede14 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_dev.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif b/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif new file mode 100644 index 0000000000..99f017a048 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/kw_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/load.gif b/tools/Sandcastle/Presentation/hana/icons/load.gif new file mode 100644 index 0000000000..9492447a19 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/load.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/load_hover.gif b/tools/Sandcastle/Presentation/hana/icons/load_hover.gif new file mode 100644 index 0000000000..65f44aa2b8 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/load_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/note.gif b/tools/Sandcastle/Presentation/hana/icons/note.gif new file mode 100644 index 0000000000..3393af3564 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/note.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pencil.GIF b/tools/Sandcastle/Presentation/hana/icons/pencil.GIF new file mode 100644 index 0000000000..000dcb42a0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pencil.GIF differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privclass.gif b/tools/Sandcastle/Presentation/hana/icons/privclass.gif new file mode 100644 index 0000000000..0939694ce0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privclass.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif new file mode 100644 index 0000000000..d3aa8a65ef Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privenum.gif b/tools/Sandcastle/Presentation/hana/icons/privenum.gif new file mode 100644 index 0000000000..47f387ec2b Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privenum.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif new file mode 100644 index 0000000000..47f387ec2b Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privevent.gif b/tools/Sandcastle/Presentation/hana/icons/privevent.gif new file mode 100644 index 0000000000..30db46df76 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privevent.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privfield.gif b/tools/Sandcastle/Presentation/hana/icons/privfield.gif new file mode 100644 index 0000000000..cbf70f7a3f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privfield.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privinterface.gif b/tools/Sandcastle/Presentation/hana/icons/privinterface.gif new file mode 100644 index 0000000000..f3b7950adc Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privinterface.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privmethod.gif b/tools/Sandcastle/Presentation/hana/icons/privmethod.gif new file mode 100644 index 0000000000..71f8822642 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privmethod.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privproperty.gif b/tools/Sandcastle/Presentation/hana/icons/privproperty.gif new file mode 100644 index 0000000000..b1e8074654 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privproperty.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/privstructure.gif b/tools/Sandcastle/Presentation/hana/icons/privstructure.gif new file mode 100644 index 0000000000..ed6d1ef68f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/privstructure.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protclass.gif b/tools/Sandcastle/Presentation/hana/icons/protclass.gif new file mode 100644 index 0000000000..0f9294292a Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protclass.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif new file mode 100644 index 0000000000..b209f2d816 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protenum.gif b/tools/Sandcastle/Presentation/hana/icons/protenum.gif new file mode 100644 index 0000000000..cc96bb6359 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protenum.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif new file mode 100644 index 0000000000..cc96bb6359 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protevent.gif b/tools/Sandcastle/Presentation/hana/icons/protevent.gif new file mode 100644 index 0000000000..0e510b272c Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protevent.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protfield.gif b/tools/Sandcastle/Presentation/hana/icons/protfield.gif new file mode 100644 index 0000000000..9ae6833e08 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protfield.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protinterface.gif b/tools/Sandcastle/Presentation/hana/icons/protinterface.gif new file mode 100644 index 0000000000..a1b96d2c6a Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protinterface.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protmethod.gif b/tools/Sandcastle/Presentation/hana/icons/protmethod.gif new file mode 100644 index 0000000000..2bc9468734 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protmethod.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protoperator.gif b/tools/Sandcastle/Presentation/hana/icons/protoperator.gif new file mode 100644 index 0000000000..2cb75ab8b0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protoperator.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protproperty.gif b/tools/Sandcastle/Presentation/hana/icons/protproperty.gif new file mode 100644 index 0000000000..55473d16e1 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protproperty.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/protstructure.gif b/tools/Sandcastle/Presentation/hana/icons/protstructure.gif new file mode 100644 index 0000000000..af356a1db0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/protstructure.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubclass.gif b/tools/Sandcastle/Presentation/hana/icons/pubclass.gif new file mode 100644 index 0000000000..1a968ab633 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubclass.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif b/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif new file mode 100644 index 0000000000..0a43eb261a Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubenum.gif b/tools/Sandcastle/Presentation/hana/icons/pubenum.gif new file mode 100644 index 0000000000..46888adef9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubenum.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif b/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif new file mode 100644 index 0000000000..46888adef9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubevent.gif b/tools/Sandcastle/Presentation/hana/icons/pubevent.gif new file mode 100644 index 0000000000..b9226da8b4 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubevent.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubfield.gif b/tools/Sandcastle/Presentation/hana/icons/pubfield.gif new file mode 100644 index 0000000000..5aed17576f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubfield.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif b/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif new file mode 100644 index 0000000000..c38a4c46a9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubinterface.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif b/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif new file mode 100644 index 0000000000..2c72988f50 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubmethod.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/puboperator.gif b/tools/Sandcastle/Presentation/hana/icons/puboperator.gif new file mode 100644 index 0000000000..0ebe10a7ec Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/puboperator.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif b/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif new file mode 100644 index 0000000000..dfad7b4300 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubproperty.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif b/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif new file mode 100644 index 0000000000..1344416abc Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/pubstructure.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/r_select.gif b/tools/Sandcastle/Presentation/hana/icons/r_select.gif new file mode 100644 index 0000000000..a66334b6a1 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/r_select.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif b/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif new file mode 100644 index 0000000000..58444d6570 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/r_select_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif b/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif new file mode 100644 index 0000000000..8c5a85dacc Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/r_unselect.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif b/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif new file mode 100644 index 0000000000..58444d6570 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/r_unselect_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif b/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif new file mode 100644 index 0000000000..3b08793895 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/requirements1a.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif b/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif new file mode 100644 index 0000000000..d62bda3b59 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/requirements1c.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/save.gif b/tools/Sandcastle/Presentation/hana/icons/save.gif new file mode 100644 index 0000000000..6a5177e58e Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/save.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/save_hover.gif b/tools/Sandcastle/Presentation/hana/icons/save_hover.gif new file mode 100644 index 0000000000..7b62e923d1 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/save_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/security.gif b/tools/Sandcastle/Presentation/hana/icons/security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/security.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif b/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif new file mode 100644 index 0000000000..2f5d50aa59 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/seealso1a.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif b/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif new file mode 100644 index 0000000000..84f79e71f4 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/seealso1c.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/static.gif b/tools/Sandcastle/Presentation/hana/icons/static.gif new file mode 100644 index 0000000000..c54022ba60 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/static.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif new file mode 100644 index 0000000000..9653f831a9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_cnr.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif new file mode 100644 index 0000000000..be9c0c53f9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_sel_lft_grad.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif new file mode 100644 index 0000000000..ba65c4e982 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_cnr.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif new file mode 100644 index 0000000000..50fee8da9f Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_sel_rt_grad.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif new file mode 100644 index 0000000000..989a0516f3 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_cnr.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif new file mode 100644 index 0000000000..1b5c2837b3 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_lft_grad.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif new file mode 100644 index 0000000000..d748332086 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_cnr.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif new file mode 100644 index 0000000000..31d4f87f9c Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/tab_unsel_rt_grad.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif new file mode 100644 index 0000000000..4cfa69b118 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/twirl_selected.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif new file mode 100644 index 0000000000..f54afa10e7 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/twirl_selected_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif new file mode 100644 index 0000000000..97a1ea8b7d Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif new file mode 100644 index 0000000000..5a7352a4f0 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/twirl_unselected_hover.gif differ diff --git a/tools/Sandcastle/Presentation/hana/icons/xna.gif b/tools/Sandcastle/Presentation/hana/icons/xna.gif new file mode 100644 index 0000000000..9e6a9d4bd9 Binary files /dev/null and b/tools/Sandcastle/Presentation/hana/icons/xna.gif differ diff --git a/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl b/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl new file mode 100644 index 0000000000..8ca4528a7c --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/globalTemplates.xsl @@ -0,0 +1,125 @@ + + + + + + +
    + + + + + + + + + +
    +
    + + + +
    + + + + + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + copycode.gif + + + + +
    +
    +
    + +
    + + + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl b/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl new file mode 100644 index 0000000000..aae3d28444 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/htmlBody.xsl @@ -0,0 +1,507 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + +
    + + + +
    + + NSRbottomgrad.gif + +
    +
    + + + + + + + + collall.gif + + + + + +   + + + + +  |  + + + + + + + + + +  |  + + + + + + + + + + + +  |  + + + + + +  |  + + + + + + + + + +  |  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + explicit; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + +   + + + + + + + + +   + + + + + + + + + + +
    + + + + collall.gif + + + + + +   + + +   + + + +
    +
    + + + + + + twirl_unselected.gif + + + + + + + + + + +
    + + +
    + + +
    + + +
    + + + +
    +
    + + + + + + drpdown.gif + + + + + + + + + +
    + +
    + + + r_unselect.gif + + +   + +
    +
    +
    + +
    +
    + + + + + + + + collapse_all.gif + + + + + + expand_all.gif + + + + + + collall.gif + + + + + + expall.gif + + + + + + twirl_unselected.gif + + + + + + twirl_unselected_hover.gif + + + + + + copycode.gif + + + + + + copycodeHighlight.gif + + + + + + ch_selected.gif + + + + + ch_unselected.gif + + + + + ch_selected_hover.gif + + + + + ch_unselected_hover.gif + + + + + r_select.gif + + + + + r_unselect.gif + + + + + r_select_hover.gif + + + + + r_unselect_hover.gif + + + + + tab_sel_lft_cnr.gif + + + + + tab_sel_rt_cnr.gif + + + + + tab_unsel_lft_cnr.gif + + + + + tab_unsel_rt_cnr.gif + + + + + tab_sel_lft_grad.gif + + + + + tab_sel_rt_grad.gif + + + + + tab_unsel_lft_grad.gif + + + + + tab_unsel_rt_grad.gif + + + + + twirl_selected.gif + + + + + twirl_unselected.gif + + + + + twirl_selected_hover.gif + + + + + twirl_unselected_hover.gif + + + + + NSRbottomgrad.gif + + + + + +
    \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl new file mode 100644 index 0000000000..1ef53a4fdf --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/main_conceptual.xsl @@ -0,0 +1,455 @@ + + + + + + + + + + + + + + + + + + + false + + + + + + + <xsl:call-template name="topicTitlePlain"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl new file mode 100644 index 0000000000..e5089664ac --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/main_reference.xsl @@ -0,0 +1,447 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + + + | + + + + + +

    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +

    + + + + + + + + + + + +

    +
    + + + +
    +

    + +

    +
    +
    + + + + + + + + + + +
    + + + + + + ValueTitle + + + + + + + +
    +
    +
    + + + + + + + + + + + + + + + +
    + + + +
    + + +
    + + + + + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    + + + + + + + + + +
      + +
    • + + + +
    • +
      +
    +
    +
    +
    +
    + + + + + + + + + + + +

    + +

    +
    + + + + + + genericExposedMembersTableText + exposedMembersTableText + + +

    + + + + + + Subgroup + + +

    +
    +
    + + + + + + + + + + VBScript + + + kbLangVB + + + CSharp + + + kbLangCPP + + + VJ# + + + kbJScript + + + xml + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl b/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl new file mode 100644 index 0000000000..61b32b6fdd --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/main_sandcastle.xsl @@ -0,0 +1,710 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + + + +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + languageFilter.changeLanguage(data, ' + ', ' + '); + + + toggleClass('ct_ + ','x-lang',' + ','activeTab','tab'); curvedToggleClass('curvedTabs_ + ','x-lang',' + '); toggleStyle('cb_ + ', 'x-lang',' + ','display','block','none'); + + + + + + + + + +
       
      + +  
    +
    + +
    + +
    +
    +
    + +
    + + + +
    +
    +
    +
    + + +

    +
    + + +
    + +
    +
    + + + + + + +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + +
      + +
    • +
      +
    +
    + + +
      + +
    1. +
      +
    +
    + + +
    + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + static + Shared + static + + + virtual + Overridable + virtual + + + true + True + true + + + false + False + false + + + abstract + MustInherit + abstract + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + alert_note.gif + + + + + + +
    +
    + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + +

    + + + + collapse_all.gif + + + + +

    + +
    + +
    + +
    + + + + + +

    + +

    + + +
    + + + +

    + +

    +
    + + + + + genericExposedMembersTableText + exposedMembersTableText + + +

    + + + + + + Subgroup + + +

    +
    +
    + + + + + + + + + VBScript + + + kbLangVB + + + CSharp + + + kbLangCPP + + + VJ# + + + kbJScript + + + xml + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml b/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml new file mode 100644 index 0000000000..74c0a918e6 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/skeleton.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml b/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml new file mode 100644 index 0000000000..d7725665b9 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/skeleton_conceptual.xml @@ -0,0 +1,3 @@ + + + diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl new file mode 100644 index 0000000000..3bfc29eb6c --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/utilities_dduexml.xsl @@ -0,0 +1,1293 @@ + + + + + + + + + + + true + true + true + true + true + true + + + + + + + + + + + + + + + + + + + + + + tt_ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    +
    + + + + + + + + + + + + +
    + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + +

    + + + + + + + +

    + + + + + + + +

    + + + + + + + + +

    + + + + + + , + + + + +

    + +
    + + + + + + + +
    +
    +
    + + +
    +
    + + + + + VBScript + + + VisualBasic + + + CSharp + + + ManagedCPlusPlus + + + JSharp + + + JScript + + + xmlLang + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + + + + + +
    + +
    +
    +                    
    +                  
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + +
    +
    + + +
    + +
    +
    + + + + + + VBScript + + + VisualBasic + + + CSharp + + + ManagedCPlusPlus + + + JSharp + + + JScript + + + xmlLang + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + +
    + + + + + + + + +
    +   +
    +
    +                  
    +                
    +
    +
    +
    + + + + + +
    + +
    + + +
    +
    +
    + + + + + + + + + + + + +
    + + + + + + + +
    + + + + + + alert_note.gif + + + + + + + + + alert_caution.gif + + + + + + + + + alert_security.gif + + + + + + + + + alert_caution.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + collapse_all.gif + + + + +

    +
    + + +
    +
    + +
    + + +
    +
    +
    +
    + +

    + +

    +
    + + +
    +
    + +

    + +

    +
    + + +
    +
    +
    +
    +
    + + + + +
    + +
    +
    +
    + +
    +
    + + + +

    + +

    +
    +
    + + +
    +
    + + + + + + + + +
      + +
    +
    + +
      + +
    +
    +
    + +
      + +
    +
    +
    +
    + + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + static + Shared + static + + + virtual + Overridable + virtual + + + true + True + true + + + false + False + false + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + ; + + + + + + + + + + + ; + + + <ul><li> + </li></ul> + </li><li> + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    + +
    +
    + + + + + + +

    + +

    +
    + + + +

    + +

    + +
    +
    + + + +

    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + +
    + +

    + + no + +
    +

    +

    +
    +
    + + + + + + +
    +

    +

    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + languageFilter.changeLanguage(data, ' + ', ' + '); + + + toggleClass('ct_ + ','x-lang',' + ','activeTab','tab'); curvedToggleClass('curvedTabs_ + ','x-lang',' + '); toggleStyle('cb_ + ', 'x-lang',' + ','display','block','none'); + + + + + + + + +
       
      + +  
    +
    + +
    + +
    +
    +
    + +
    + + + + + + + + + +

    + + + + collapse_all.gif + + + + +

    + +
    + +
    + +
    + + + + + +

    + +

    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl new file mode 100644 index 0000000000..0dced60ec7 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/utilities_metadata.xsl @@ -0,0 +1,928 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + enumMember + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CSharp + + + C++ + + + JScript + + + VB + + + VBScript + + + VJ# + + + XAML + + + XML + + + other + + + + + + + + + + + + + + + http://schemas.microsoft.com/winfx/2006/xaml/presentation# + N:System.Windows.Controls#N:System.Windows.Documents#N:System.Windows.Shapes#N:System.Windows.Navigation#N:System.Windows.Data#N:System.Windows#N:System.Windows.Controls.Primitives#N:System.Windows.Media.Animation#N:System.Windows.Annotations#N:System.Windows.Annotations.Anchoring#N:System.Windows.Annotations.Storage#N:System.Windows.Media#N:System.Windows.Media.Animation#N:System.Windows.Media.Media3D#N: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl new file mode 100644 index 0000000000..f1316e8027 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/utilities_reference.xsl @@ -0,0 +1,2442 @@ + + + + + + + + + + + false + + + + + + + + + + <xsl:call-template name="topicTitlePlain"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    + + + +
    +
    + + +
    + + + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + prot + priv + pub + + + + + + ; public + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + explicit + + + + + + + + + + + ; public + + + ; protected + + + ; public + + + + + ; static + + + ; instance + + + + + ; inherited + + + ; declared + + + + + ; compact + + + ; none + + + + + ; xna + + + ; none + + + + + + + + prot + priv + pub + pub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; public + + + ; protected + + + ; public + + + + + ; static + + + ; instance + + + + + ; declared + + + ; inherited + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + + + + + + + > + + + + %3C + + + + %2C + + + %3E + + + + + (Of + + + + + + + ) + + + + + + + + . + + + + + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + generic_ + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + tocTitle + + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + languageFilter.changeLanguage(data, ' + ', ' + '); + + + toggleClass('syntaxTabs','x-lang',' + ','activeTab','tab'); curvedToggleClass('curvedSyntaxTabs','x-lang',' + ');toggleStyle('syntaxBlocks','x-lang',' + ','display','block','none'); + + + + + + + + + +
       
      
    +
    + + +
    + +
    + + + twirl_selected.gif + +   + + +
    +
    +
    +
    +
    +
    + + +
    + + + twirl_selected.gif + +   + + +
    +
    +
    +
    +
    +
    +
    +
    +
    + +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    + + + + + + + + +
    + + + + + + + + +
    + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                      
      + +    + +   + + + pubclass.gif + + + +    + + + + pubstructure.gif + + + +    + + + + pubinterface.gif + + + +    + + + + pubenum.gif + + + +    + + + + pubdelegate.gif + + + +  
    +
    + + + + + + + + + +
    +   + + + + +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + +
    +   + + + + +
    + +
    + + + +
    + + + + + + +
    + + + + + + + +
    + + + +
    +
    +
    +
    +
    +
    +
    + + + + + public; + + + protected; + + + private; + + + explicit; + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    +
    + + + + + + + + + +
    +   + + + + +
    +
    + +
    +
    +
    + +
    + + + + + + + + public + + + + + + + protected + + + + + + + + + + + + + + ExplicitInterfaceImplementation + constructorsTable + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +   + + + + +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                               
      + +    + +   + + + pubmethod.gif + + + +    + +   + + + pubfield.gif + + + +    + +   + + + pubproperty.gif + + + +    + +   + + + pubmethod.gif + + + +    + +   + + + pubevent.gif + + + +    + +   + + + pubproperty.gif + + + +    + +   + + + pubevent.gif + + + +    + +   + + + pubinterface.gif + + + +  
    +
    + + + + + + + + +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +   + + + static.gif + + + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +
    +
    +
    + + + ch_selected.gif + + +   + +   + + + xna.gif + + + +
    +
    +
    + + + ch_selected.gif + + +   + +   + + + CFW.gif + + + +
    +
    +
    +
    + + + + + + + + + + +
    +   + + + + +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + supported + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + inheritedMember + + + true + + + true + + + netcf + + + + + + + pub + priv + prot + + + prot + priv + pub + + + pub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + +
    + + + +
    +
    +
    +
    +
    +
    + + + + + + + +
    + + + + + + + + +
    + + + +
    +
    +
    +
    +
    + + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + method + + + + + + + + + + + + pubinterface.gif + + + + + + + + + + + + + + + + + + static.gif + + + + + + + + + CFW.gif + + + + + + + + + xna.gif + + + + + + + + + + + + + + + +

    + +   + +
    + + + + + + + + + + + + + + + + + + + + + dll + + + exe + + + + + + + + + + + +    + + + +
    +
    +
    + + +   + + +
    +
    + + + + + + + + + + +

    + + , + +

    +

    + +

    + + +
    + + + + + + + + + + + + + + + + + + + + + + +

    + +

    + +
    +
    +
    + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + false + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + . + :: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + . + + + + + + + + diff --git a/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl b/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl new file mode 100644 index 0000000000..44bcdbe192 --- /dev/null +++ b/tools/Sandcastle/Presentation/hana/transforms/xamlSyntax.xsl @@ -0,0 +1,491 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    
    +                  
    +                    
    +                      
    +                        
    +                      
    +                    
    +                    
    +                    
    +                      
    +                    
    +                  
    +                
    +
    +
    +
    +
    + + + + + + + xamlObjectElementUsageHeading + xamlImplicitCollectionUsageHeading + + + xamlContentElementUsageHeading + xamlPropertyElementUsageHeading + + + xamlAttributeUsageHeading + xamlSyntaxBoilerplateHeading + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    
    +                      
    +                      
    +                    
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    +
    + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + , + + + + + + + + + +
    +
    + + diff --git a/tools/Sandcastle/Presentation/vs2005/Content/conceptual_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/conceptual_content.xml new file mode 100644 index 0000000000..2374860bce --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/conceptual_content.xml @@ -0,0 +1,57 @@ + + + + .NET Framework Developer's Guide + + + + + + + In This Section + Compiling the Code + Next Steps + Requirements + Related Sections + See Also + Syntax + Parameters + Return Value + Attributes and Elements + Attributes + Child Elements + Parent Elements + Element Information + Text Value + .NET Framework Equivalent + Prerequisites + Robust Programming + Security + External Resources + Demonstrates + Applies To + Conclusion + Background + What's New + Reference + Error Message + + Collapse All + Expand All + Example + + + Download + Sample Files: + View Source + + + +

    This topic contains the following sections.

    + + +

    This section contains the following subsections.

    +
    + Related Topics + + diff --git a/tools/Sandcastle/Presentation/vs2005/Content/feedBack_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/feedBack_content.xml new file mode 100644 index 0000000000..2dbd7d0499 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/feedBack_content.xml @@ -0,0 +1,30 @@ + + + DevDocs@Microsoft.com + + + + %0\dThe%20developer%20writing%20teams%20use%20your%20feedback%20to%20improve%20documentation.%20We%20do%20not%20use%20your%20email%20address%20for%20any%20other%20purpose%20and%20we%20dispose%20of%20your%20email%20address%20after%20the%20issue%20you%20report%20is%20resolved.%20While%20we%20are%20working%20to%20resolve%20the%20issue%20you%20report,%20we%20may%20send%20email%20to%20you%20to%20get%20further%20details%20or%20clarification%20on%20the%20feedback%20you%20send%20to%20us.%20After%20the%20issue%20you%20report%20has%20been%20addressed,%20we%20may%20send%20email%20to%20you%20to%20let%20you%20know%20that%20your%20feedback%20has%20been%20addressed.%0\AFor%20further%20information%20about%20Microsoft\'s%20privacy%20policies,%20please%20see%20http://privacy.microsoft.com/en-us/default.aspx.%0\A%0\d + + Send Feedback + + + + + + + + + + + + We value your feedback. To rate this topic and send feedback about this topic to the documentation team, click a rating, and then click Send Feedback. For assistance with support issues, refer to the technical support information included with the product. + + Send Feedback + Poor + Outstanding + To e-mail your feedback, click here: + Documentation Feedback + Display feedback instructions at the bottom of the page. + + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml new file mode 100644 index 0000000000..fb20d2ff66 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/reference_content.xml @@ -0,0 +1,494 @@ + + + + This API is not documented. + This API is preliminary and subject to change. + + + {0} + {0} ({1}) + Namespaces + {0} Namespace + {0} Class + {0} Structure + {0} Interface + {0} Derived Classes + + {0} Delegate + {0} Enumeration + {0} Field + {0} Method {1} + {0} Constructor {1} + {0} Property {1} + {0} Event + {0} Operator + + {0} Attached Property + {0} Attached Event + + generic + {0} Generic Class + {0} Generic Structure + {0} Generic Interface + {0} Generic Delegate + {0} Generic Method {1} + + + {0} Fields + {0} Methods {1} + {0} Constructors {1} + {0} Properties {1} + {0} Events + {0} Attached Properties + {0} Attached Events + {0} Members + + + Members + + + namespaces + {0} namespace + {0} class + {0} structure + {0} interface + {0} delegate + {0} enumeration + {0} enumeration member + {0}, about {0} + {0}, derived types + {0}, all members + {0}, methods + {0}, properties + {0}, fields + {0}, events + {0}, attached properties + {0}, attached events + {0}, constructors + {0}, constructor +{0} constructor + {0} method + {0} property + {0} event + {0} field + {0} operator + {0} attached property + {0} attached event + {0} explicitly implemented method + {0} explicitly implemented property + {0} explicitly implemented event + {0} explicitly implemented field + + + + + + + + + + Syntax + Type Parameters + Parameters + Value + Return Value + Return Value + Property Value + Field Value + Implements + Examples + Thread Safety + Permissions + Namespaces + Types + Members + Overload List + Inheritance Hierarchy + Version Information + Platforms + See Also + Usage Note + In Visual Basic and C#, you can call this method as an instance method on any object of type {0}. When you use instance method syntax to call this method, omit the first parameter. For more information, see or . + + + Namespace + Description + Icon + Class + Structure + Interface + Delegate + Enumeration + + Name + Description + Icon + Member name + Description + Exception + Condition + Permission + Description + + + All Types + Classes + Structures + Interfaces + Delegates + Enumerations + All Members + Constructors + Methods + Properties + Fields + Events + Public + Protected + Instance + Static + Declared + Inherited + + + Constructors + Methods + Operators + Fields + Properties + Events + Attached Events + Attached Properties + Explicit Interface Implementations + Overload List + Extension Methods + + + Thread Safety + Any public members of this type are thread safe. Any instance members are not guaranteed to be thread safe. + + Notes to Implementers: + Notes to Callers: + Notes to Inheritors: + + + + {0} Platform Note: {1} + + Windows 95 + Windows 98 Second Edition + + Windows NT 4.0 + Windows NT Server 4.0 + Windows NT Workstation 4.0 + + Windows 2000 + Windows 2000 Professional + Windows 2000 Server + Windows 2000 Advanced Server + + Windows XP Home Edition + Windows XP Professional x64 Edition + + Windows XP Tablet PC Edition + Windows XP Embedded + + Common Language Infrastructure (CLI) Standard + + Microsoft TV + + , , , + + , , + + + + + + + + + + + + + , , + + + Platforms + + +

    + + The and do not support all versions of every platform. For a list of the supported versions, see . + + + + + .NET Framework Class Library + Namespaces + Obsolete. + This API is obsolete. + The non-obsolete alternative is {0}. + Obsolete. + + NOTE: This API is now obsolete. + + (Defined by {0}.) + (Inherited from {0}.) + (Overrides {0}.) + Assembly: {0} (Module: {1}) + HostProtectionAttribute. + The attribute applied to this type or member has the following property value: {1}. The does not affect desktop applications (which are typically started by double-clicking an icon, typing a command, or entering a URL in a browser). For more information, see the class or . + class + delegate + structure + interface + enumeration + + Static members of this type are safe for multi-threaded operations. + Static members of this type are not safe for multi-threaded operations. + Instance members of this type are safe for multi-threaded operations. + Instance members of this type are not safe for multi-threaded operations. + + + Public class + Public structure + Public interface + Public delegate + Public enumeration + Protected class + Protected structure + Protected interface + Protected delegate + Protected enumeration + Private class + Private structure + Private interface + Private delegate + Private enumeration + + Public constructor + Public method + Public field + Public property + Public event + Public operator + Public attached property + Public attached event + Protected constructor + Protected method + Protected field + Protected property + Protected event + Protected operator + Protected attached property + Protected attached event + Private constructor + Private method + Private field + Private property + Private event + Private operator + Private attached property + Private attached event + Static member + Public Extension Method + Protected Extension Method + Private Extension Method + + + Constructors + Methods + Properties + Events + Fields + Operators + Attached Properties + Attached Events + Collapse All + Expand All + + Example + {0} + {0} Namespace + {0} + {0} Members + {0} Overload + + Class + Structure + Interface + Delegate + Enumeration + + Members: Show All + Members: Filtered + Members: Public Members Only + Members: Protected Members Only + Members: Inherited Members Only + Members: Declared Members Only + Include Declared Members + Include Inherited Members + Include Public Members + Include Protected Members + + Include .NET Framework Members + Include .NET Compact Framework Members + Include XNA Framework Members + Frameworks: Show All + Frameworks: Multiple + Frameworks: Only + Frameworks: Only + Frameworks: Only + + + Namespace: + + + + Platforms: {0} + + + + Assemblies: + + + + Assembly: + + + {0} (in {1}.{2}) + + + Assembly: {0} (in {1}.dll) + + + + Supported in: {0} + Supported in: {0}, {1} + Supported in: {0}, {1}, {2} + Supported in: {0}, {1}, {2}, {3} + Supported in: {0}, {1}, {2}, {3}, {4} + Supported in: {0}, {1}, {2}, {3}, {4}, {5} + Supported in: {0}, {1}, {2}, {3}, {4}, {5}, {6} + Obsolete (compiler warning) in {0} + Obsolete (does not compile) in {0} and later + + + Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see . + + Return Value + Property Value + Field Value + + Derived Classes + Supported by the .NET Compact Framework + Supported by the XNA Framework + Explicit Interface Implementations + Explicit interface implemetation + + + The {0} generic type exposes the following members. + The {0} type exposes the following members. + members + methods + properties + events + fields + operators + attached properties + attached events + + Dependency Property Information + Routed Event Information + More Code + + Overloaded. + ( Default Namespace ) + + Type: {0} + + {0} type parameter of {1}. + + + This API supports the .NET Framework infrastructure and is not intended to be used directly from your code. + Infrastructure. + + + This API is not CLS-compliant. + The CLS-compliant alternative is {0}. + + + Windows 98 + Windows Millennium Edition + Windows Server 2000 SP4 + Windows XP Professional x64 Edition + Windows XP SP2 + Windows CE + Windows Mobile for Pocket PC + Windows Mobile for Smartphone + Windows Server 2003 + Windows XP Media Center Edition + Windows XP Starter Edition + Windows Vista + Xbox 360 + + + .NET Framework + .NET Compact Framework + XNA Framework + + + 3.5 + 3.0 SP1 + 3.0 + 2.0 SP1 + 2.0 + 1.1 + 1.0 + + 3.5 + 2.0 + 1.0 + + 1.0 + + + XMLNS for XAML: {0} + Not mapped to an xmlns. + +

    In , this member is overridden by {1}.
    +

    In  , this member is inherited from {2}..::.{3}.
    +

    In  , this member is {2}.
    + + This member overrides {0}. + See {0}. + This member overrides {0}, and more complete documentation might be available in that topic. + + This enumeration has a {0} attribute that allows a bitwise combination of its member values. + diff --git a/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml new file mode 100644 index 0000000000..a1664a4956 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/shared_content.xml @@ -0,0 +1,245 @@ + + + + ../icons/{0} + ../scripts/{0} + ../art/{0} + ../styles/{0} + + + en-us + + kbNetFramewk + kbNetCompactFramewk + NetCompactFramework + kbXNA + XNA + + +

    + + + {0} + + + Tip: + Caution: + Security Note: + Note: + Important Note: + Visual Basic Note: + C# Note: + C++ Note: + J# Note: + + + Tip + Caution note + Security note + Note + Important note + Visual Basic note + C# note + C++ note + J# note + + + C# + Visual Basic + Visual C++ + J# + JScript + + + Exceptions + See Also + Tasks + Reference + Concepts + Other Resources + + + CollapseAll image + ExpandAll image + DropDown image + DropDownHover image + Collapse image + Expand Image + CopyHover image + Copy image + Footer image + + + .NET Framework + .NET Compact Framework + 1.1 + 2.0 + + Copy Code + + + + + + For more information, see + . + and + + Remarks + + + Code: {0} + All + Multiple + Visual Basic + Visual Basic Script + C# + Visual C++ + J# + JScript + Xml + JavaScript + Html + and + + XAML + Usage + ASP.NET + (Declaration) + () + +      + + + + a null reference (Nothing in Visual Basic) + static (Shared in Visual Basic) + virtual (Overridable in Visual Basic) + true (True in Visual Basic) + false (False in Visual Basic) + abstract (MustInherit in Visual Basic) + + + + {0}{2} + [WPF] + [WPF] + [Windows Communication Foundation] + [Windows Forms] + + + kbArticle + kbRef + kbRef + kbHowTo + kbOrient + kbSyntax + kbRef + kbSampleProd + kbArticle + kbOrient + kbOrient + kbHowTo + kbRef + kbHowTo + kbRef + kbHowTo + kbArticle + kbSyntax + apiref + + Top + + + + + + + + Send + + + {2} + {3} + + feedback + + on this topic to Microsoft. + + + + + + + + {0} + {1} + + + + + +javascript:SubmitFeedback('','','','{0}','{1}',''); + + + + + + +© 2005 Microsoft Corporation. All rights reserved. + + diff --git a/tools/Sandcastle/Presentation/vs2005/Content/token_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/token_content.xml new file mode 100644 index 0000000000..13b8cb21ab --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/token_content.xml @@ -0,0 +1,4 @@ + + Visual Basic 2005 + See for more information. + diff --git a/tools/Sandcastle/Presentation/vs2005/Content/web_content.xml b/tools/Sandcastle/Presentation/vs2005/Content/web_content.xml new file mode 100644 index 0000000000..a52e06c1b6 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Content/web_content.xml @@ -0,0 +1,8 @@ + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/DocModel.ps1 b/tools/Sandcastle/Presentation/vs2005/DocModel.ps1 new file mode 100644 index 0000000000..dae12bb0cc --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/DocModel.ps1 @@ -0,0 +1,34 @@ + +# Sandcastle build script overrides for vs2005 doc model. + +. $DxRoot\Presentation\Shared\SharedDocModel.ps1 + +function PostProcessReflectionData($sourceFile, $targetFile) { + WriteInfo "Post processing reflection data." + &$XslTransform $sourceFile ` + /xsl:$DxRoot\ProductionTransforms\ApplyVSDocModel.xsl ` + /xsl:$DxRoot\ProductionTransforms\AddFriendlyFilenames.xsl ` + /arg:IncludeAllMembersTopic=true ` + /arg:IncludeInheritedOverloadTopics=true ` + /out:$targetFile +} + +function CreateToc { + WriteInfo "Creating TOC." + &$XslTransform $TempDir\ReflectionData\targets.xml ` + /xsl:$DxRoot\ProductionTransforms\createvstoc.xsl ` + /out:$TempDir\toc.xml +} + + +function CreateSitemap { + WriteInfo "Creating sitemap file." + &$XslTransform $TempDir\toc.xml ` + /xsl:"$DxRoot\ProductionTransforms\Vs2005TocToDsToc.xsl" ` + /arg:topicInfo="$TempDir\TopicInfo" ` + /xsl:"$DxRoot\ProductionTransforms\DsTocToSitemap.xsl" ` + /out:"$WebOutputDir\api\web.sitemap" + +} + +$DocModelSupportsWebBuild = $true \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/CheckboxMenu.js b/tools/Sandcastle/Presentation/vs2005/Scripts/CheckboxMenu.js new file mode 100644 index 0000000000..de8348fa50 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/CheckboxMenu.js @@ -0,0 +1,157 @@ + +function CheckboxMenu(id, data, persistkeys, globals) +{ + this.id = id; + this.menuCheckboxIds = new Array(); + this.data = data; + this.count = 0; + + var element = document.getElementById(id); + var checkboxNodes = element.getElementsByTagName("input"); + + for(var checkboxCount=0; checkboxCount < checkboxNodes.length; checkboxCount++) + { + var checkboxId = checkboxNodes[checkboxCount].getAttribute('id'); + var checkboxData = checkboxNodes[checkboxCount].getAttribute('data'); + var dataSplits = checkboxData.split(','); + var defaultValue = checkboxNodes[checkboxCount].getAttribute('value'); + if (checkboxData != null && checkboxData.indexOf("persist") != -1) + persistkeys.push(checkboxId); + + this.menuCheckboxIds[dataSplits[0]] = checkboxId; + + // try to get the value for this checkbox id from globals + var persistedValue = (globals == null) ? null : globals.VariableExists(checkboxId) ? globals.VariableValue(checkboxId) : null; + var currentValue = (persistedValue != null) ? persistedValue : (defaultValue == null) ? "on" : defaultValue; + + // set the checkbox's check state + this.SetCheckState(checkboxId, currentValue); + + this.count++; + } +} + +CheckboxMenu.prototype.SetCheckState=function(id, value) +{ + var checkbox = document.getElementById(id); + if(checkbox != null) + { + checkbox.checked = (value == "on") ? true : false; + } + + // set the value for the checkbox id in the data array + this.data[id] = value; +} + +CheckboxMenu.prototype.GetCheckState=function(id) +{ + var checkbox = document.getElementById(id); + if(checkbox != null) + return checkbox.checked; + return false; +} + +CheckboxMenu.prototype.ToggleCheckState=function(id) +{ + // at least one checkbox must always be checked + var checkedCount = this.GetCheckedCount(); + + if(this.data[id] == "on" && checkedCount > 1) + this.SetCheckState(id, "off"); + else + this.SetCheckState(id, "on"); +} + +// returns the checkbox id associated with a key +CheckboxMenu.prototype.GetCheckboxId=function(key) +{ + return this.menuCheckboxIds[key]; +} + +// returns the array of checkbox ids +CheckboxMenu.prototype.GetCheckboxIds=function() +{ + return this.menuCheckboxIds; +} + +// returns the @data attribute of the checkbox element +CheckboxMenu.prototype.GetCheckboxData=function(checkboxId) +{ + var checkbox = document.getElementById(checkboxId); + if (checkbox == null) return ""; + return checkbox.getAttribute('data'); +} + +CheckboxMenu.prototype.GetDropdownLabelId=function() +{ + var checkboxCount = this.count; + var checkedCount = this.GetCheckedCount(); + var idPrefix = this.id; + + // if all boxes checked, use showall label + if (checkedCount == checkboxCount) + return idPrefix.concat("AllLabel"); + + // if only one is checked, use label appropriate for that one checkbox + if (checkedCount == 1) + { + for(var key in this.menuCheckboxIds) + { + if (this.data[this.menuCheckboxIds[key]] == "on") + { + return idPrefix.concat(key,'Label'); + } + } + } + + // if multiple or zero checked, use multiple label + return idPrefix.concat("MultipleLabel"); +} + +CheckboxMenu.prototype.GetCheckedCount=function() +{ + var count = 0; + for(var key in this.menuCheckboxIds) + { + if (this.data[this.menuCheckboxIds[key]] == "on") + count++; + } + return (count); +} + +// returns an array containing the ids of the checkboxes that are checked +CheckboxMenu.prototype.GetCheckedIds=function() +{ + var idArray = new Array(); + for(var key in this.menuCheckboxIds) + { + if (this.data[this.menuCheckboxIds[key]] == "on") + idArray.push(this.menuCheckboxIds[key]); + } + return idArray; +} + +CheckboxMenu.prototype.GetGroupCheckedCount=function(checkboxGroup) +{ + var count = 0; + for(var i = 0; i < checkboxGroup.length; i++) + { + if (this.data[checkboxGroup[i]] == "on") + count++; + } + return (count); +} + +CheckboxMenu.prototype.ToggleGroupCheckState=function(id, checkboxGroup) +{ + // at least one checkbox must always be checked + var checkedCount = this.GetGroupCheckedCount(checkboxGroup); + + // if the group has multiple checkboxes, one must always be checked; so toggle to "off" only if more than one currently checked + // if the group has only one checkbox, it's okay to toggle it on/off + if(this.data[id] == "on" && (checkedCount > 1 || checkboxGroup.length == 1)) + this.SetCheckState(id, "off"); + else + this.SetCheckState(id, "on"); +} + diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js b/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js new file mode 100644 index 0000000000..fa3a3d9475 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/CommonUtilities.js @@ -0,0 +1,336 @@ +//function codeBlockHandler(id, data, value) +function codeBlockHandler() +{ + // handle groups of snippets to make sure at least one from the group is always shown + HandleSnippetGroups(); + + // handle any remaining snippets that aren't in groups + var spanElements = document.getElementsByTagName("span"); + for(var i = 0; i < spanElements.length; ++i) + { + var devlang = spanElements[i].getAttribute("codeLanguage"); + if (devlang == null) continue; + + if (HasSnippetGroupAncestor(spanElements[i])) continue; + + var checkboxId = GetDevlangCheckboxId(devlang); + if (checkboxId != null && checkboxId != "") + { + if (docSettings[checkboxId] == "on") + spanElements[i].style.display = ""; + else + spanElements[i].style.display = "none"; + } + } +} + +function HasSnippetGroupAncestor(object) +{ + var parent = object.parentElement; + if (parent == null) return false; + + var className = parent.className; + if (className != null && className == "snippetgroup") + return true + + return HasSnippetGroupAncestor(parent); +} + +function HandleSnippetGroups() +{ + var divs = document.getElementsByTagName("DIV"); + var divclass; + for (var i = 0; i < divs.length; i++) + { + divclass = divs[i].className; + if (divclass == null || divclass != "snippetgroup") continue; + + // if all snippets in this group would be hidden by filtering display them all anyhow + var unfilteredCount = GetUnfilteredSnippetCount(divs[i]); + + var spanElements = divs[i].getElementsByTagName("span"); + for(var j = 0; j < spanElements.length; ++j) + { + var devlang = spanElements[j].getAttribute("codeLanguage"); + if (devlang == null) continue; + + var checkboxId = GetDevlangCheckboxId(devlang); + + // for filtered devlangs, determine whether they should be shown/hidden + if (checkboxId != null && checkboxId != "") + { + if (unfilteredCount == 0 || docSettings[checkboxId] == "on") + spanElements[j].style.display = ""; + else + spanElements[j].style.display = "none"; + } + } + } +} + +function GetUnfilteredSnippetCount(group) +{ + var count = 0; + var spanElements = group.getElementsByTagName("span"); + for(var i = 0; i < spanElements.length; ++i) + { + var devlang = spanElements[i].getAttribute("codeLanguage"); + var checkboxId = GetDevlangCheckboxId(devlang); + if (checkboxId != null && checkboxId != "") + { + if (docSettings[checkboxId] == "on") + count++; + } + } + return count; +} + +function GetDevlangCheckboxId(devlang) +{ + switch (devlang) + { + case "VisualBasic": + case "VisualBasicDeclaration": + case "VisualBasicUsage": + return devlangsMenu.GetCheckboxId("VisualBasic"); + case "CSharp": + return devlangsMenu.GetCheckboxId("CSharp"); + case "ManagedCPlusPlus": + return devlangsMenu.GetCheckboxId("ManagedCPlusPlus"); + case "JScript": + return devlangsMenu.GetCheckboxId("JScript"); + case "JSharp": + return devlangsMenu.GetCheckboxId("JSharp"); + case "JavaScript": + return devlangsMenu.GetCheckboxId("JavaScript"); + default: + return ""; + } +} + +// update stylesheet display settings for spans to show according to user's devlang preference +function styleSheetHandler(oneDevlang) +{ + var devlang = (oneDevlang != "") ? oneDevlang : GetDevlangPreference(); + + var sd = getStyleDictionary(); + + if (devlang == 'cs') { + sd['span.cs'].display = 'inline'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'none'; + } else if (devlang == 'vb') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'inline'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'none'; + } else if (devlang == 'cpp') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'inline'; + sd['span.nu'].display = 'none'; + } else if (devlang == 'nu') { + sd['span.cs'].display = 'none'; + sd['span.vb'].display = 'none'; + sd['span.cpp'].display = 'none'; + sd['span.nu'].display = 'inline'; + } +} + +function getStyleDictionary() { + var styleDictionary = new Array(); + + // iterate through stylesheets + var sheets = document.styleSheets; + + for(var i=0; i 1) + devlang = dataSplits[1]; + } + } + return (checkedCount == 1 ? devlang : "nu"); +} + + + +function memberlistHandler() +{ + // get all the nodes in the document + var allRows = document.getElementsByTagName("tr"); + var i; + + for(i = 0; i < allRows.length; ++i) + { + var memberdata = allRows[i].getAttribute("data"); + if (memberdata != null) + { + if ((ShowBasedOnInheritance(memberdata) == false) || + (ShowBasedOnVisibility(memberdata) == false) || + (ShowBasedOnFramework(memberdata) == false) ) + allRows[i].style.display = "none"; + else + allRows[i].style.display = ""; + } + } + + ShowHideFrameworkImages(); + ShowHideFrameworkSpans(); +} + +function ShowHideFrameworkImages() +{ + // show/hide img nodes for filtered framework icons + // get all the nodes in the document + var allImgs = document.getElementsByTagName("img"); + + for(var i = 0; i < allImgs.length; i++) + { + var imgdata = allImgs[i].getAttribute("data"); + if (imgdata != null) + { + var checkboxId = imgdata + "Checkbox"; + if (docSettings[checkboxId] != "on") + { + allImgs[i].style.display = "none"; + } + else + allImgs[i].style.display = ""; + } + } +} + +function ShowHideFrameworkSpans() +{ + // show/hide img nodes for filtered framework icons + // get all the nodes in the document + var allImgs = document.getElementsByTagName("span"); + + for(var i = 0; i < allImgs.length; i++) + { + var imgdata = allImgs[i].getAttribute("data"); + if (imgdata != null) + { + var checkboxId = imgdata + "Checkbox"; + if (docSettings[checkboxId] != "on") + { + allImgs[i].style.display = "none"; + } + else + allImgs[i].style.display = ""; + } + } +} + +function ShowBasedOnVisibility(memberdata) +{ + var isPublic = (memberdata.indexOf("public") != -1); + var isProtected = (memberdata.indexOf("protected") != -1); + var isPrivate = (memberdata.indexOf("private") != -1); + var isExplicitII = (memberdata.indexOf("explicit") != -1); + + // if the public checkbox doesn't exist, default to showPublic == true + var publicCheck = docSettings["PublicCheckbox"]; + var showPublic = (publicCheck == null) ? true : (publicCheck == "on"); + + // if the protected checkbox doesn't exist, default to showProtected == true + var protectedCheck = docSettings["ProtectedCheckbox"]; + var showProtected = (protectedCheck == null) ? true : (protectedCheck == "on"); + + if ( (showProtected && isProtected) || (showPublic && isPublic) || isExplicitII || isPrivate) + return true; + + return false; +} + +function ShowBasedOnInheritance(memberdata) +{ + var isInherited = (memberdata.indexOf("inherited") != -1); + var isDeclared = (memberdata.indexOf("declared") != -1); + + // if the inherited checkbox doesn't exist, default to showInherited == true + var inheritedCheck = docSettings["InheritedCheckbox"]; + var showInherited = (inheritedCheck == null) ? true : (inheritedCheck == "on"); + + // if the declared checkbox doesn't exist, default to showDeclared == true + var declaredCheck = docSettings["DeclaredCheckbox"]; + var showDeclared = (declaredCheck == null) ? true : (declaredCheck == "on"); + + if ( (showInherited && isInherited) || (showDeclared && isDeclared) ) + return true; + + return false; +} + +function ShowBasedOnFramework(memberdata) +{ + var isNetfw = (memberdata.indexOf("notNetfw") == -1); + var isNetcfw = (memberdata.indexOf("netcfw") != -1); + var isXnafw = (memberdata.indexOf("xnafw") != -1); + + var netfwCheck = docSettings["netfwCheckbox"]; + var netcfwCheck = docSettings["netcfwCheckbox"]; + var xnafwCheck = docSettings["xnafwCheckbox"]; + + // if all the checkboxes are null, it means we have no framework filter; so return true to show member by default + if (netfwCheck == null && netcfwCheck == null && xnafwCheck == null) + return true; + + var showNetfw = (netfwCheck == "on"); + var showNetcfw = (netcfwCheck == "on"); + var showXnafw = (xnafwCheck == "on"); + + if ( (isNetfw && showNetfw) || (isNetcfw && showNetcfw) || (isXnafw && showXnafw) ) + return true; + + return false; +} + + +function SetDropdownMenuLabel(menu, dropdown) +{ + var dropdownLabelId = menu.GetDropdownLabelId(); + dropdown.SetActivatorLabel(dropdownLabelId); + for (var i = 0; i < dropdowns.length; i++) + { + dropdowns[i].reposition(); + } +} diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/Dropdown.js b/tools/Sandcastle/Presentation/vs2005/Scripts/Dropdown.js new file mode 100644 index 0000000000..aa3d6f447a --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/Dropdown.js @@ -0,0 +1,89 @@ + +// Dropdown menu control + +function Dropdown(activatorId, dropdownId) { + + // store activator and dropdown elements + this.activator = document.getElementById(activatorId); + this.dropdown = document.getElementById(dropdownId); + this.activatorImage = document.getElementById(activatorId + "Image"); + + // wire up show/hide events + registerEventHandler(this.activator,'mouseover', getInstanceDelegate(this, "show")); + registerEventHandler(this.activator,'mouseout', getInstanceDelegate(this, "requestHide")); + registerEventHandler(this.dropdown,'mouseover', getInstanceDelegate(this, "show")); + registerEventHandler(this.dropdown,'mouseout', getInstanceDelegate(this, "requestHide")); + + // fix visibility and position + this.dropdown.style.visibility = 'hidden'; + this.dropdown.style.position = 'absolute'; + this.reposition(null); + + // wire up repositioning event + registerEventHandler(window, 'resize', getInstanceDelegate(this, "reposition")); + + +} + +Dropdown.prototype.show = function(e) { + clearTimeout(this.timer); + this.dropdown.style.visibility = 'visible'; + if (this.activatorImage != null) + this.activatorImage.src = dropDownHoverImage.src; + if (this.activator != null) + this.activator.className = "filterOnHover"; +} + +Dropdown.prototype.hide = function(e) { + this.dropdown.style.visibility = 'hidden'; + if (this.activatorImage != null) + this.activatorImage.src = dropDownImage.src; + if (this.activator != null) + this.activator.className = "filter"; +} + +Dropdown.prototype.requestHide = function(e) { + this.timer = setTimeout( getInstanceDelegate(this, "hide"), 250); +} + +Dropdown.prototype.reposition = function(e) { + + // get position of activator + var offsetLeft = 0; + var offsetTop = 0; + var offsetElement = this.activator; + + while (offsetElement) { + offsetLeft += offsetElement.offsetLeft; + offsetTop += offsetElement.offsetTop; + offsetElement = offsetElement.offsetParent; + } + + // set position of dropdown relative to it + this.dropdown.style.left = offsetLeft; + this.dropdown.style.top = offsetTop + this.activator.offsetHeight; +} + +Dropdown.prototype.SetActivatorLabel = function(labelId) +{ + // get the children of the activator node, which includes the label nodes + var labelNodes = this.activator.childNodes; + + + for(var labelCount=0; labelCount < labelNodes.length; labelCount++) + { + if(labelNodes[labelCount].tagName == 'LABEL') + { + var labelNodeId = labelNodes[labelCount].getAttribute('id'); + if (labelNodeId == labelId) + { + labelNodes[labelCount].style.display = "inline"; + } + else + { + labelNodes[labelCount].style.display = "none"; + } + } + } +} + \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/EventUtilities.js b/tools/Sandcastle/Presentation/vs2005/Scripts/EventUtilities.js new file mode 100644 index 0000000000..f3536f502d --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/EventUtilities.js @@ -0,0 +1,23 @@ + + // attach a handler to a particular event on an element + // in a browser-independent way + function registerEventHandler (element, event, handler) { + if (element.attachEvent) { + // MS registration model + element.attachEvent('on' + event, handler); + } else if (element.addEventListener) { + // NN (W4C) regisration model + element.addEventListener(event, handler, false); + } else { + // old regisration model as fall-back + element[event] = handler; + } + } + + // get a delegate that refers to an instance method + function getInstanceDelegate (obj, methodName) { + return( function(e) { + e = e || window.event; + return obj[methodName](e); + } ); + } diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js b/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js new file mode 100644 index 0000000000..1240154901 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/SplitScreen.js @@ -0,0 +1,29 @@ + + function SplitScreen (nonScrollingRegionId, scrollingRegionId) { + + // store references to the two regions + this.nonScrollingRegion = document.getElementById(nonScrollingRegionId); + this.scrollingRegion = document.getElementById(scrollingRegionId); + + // set the scrolling settings + document.body.style.margin = "0px"; + document.body.style.overflow = "hidden"; + this.scrollingRegion.style.overflow = "auto"; + + // fix the size of the scrolling region + this.resize(null); + + // add an event handler to resize the scrolling region when the window is resized + registerEventHandler(window, 'resize', getInstanceDelegate(this, "resize")); + + } + + SplitScreen.prototype.resize = function(e) { + var height = document.body.clientHeight - this.nonScrollingRegion.offsetHeight; + if (height > 0) { + this.scrollingRegion.style.height = height; + } else { + this.scrollingRegion.style.height = 0; + } + this.scrollingRegion.style.width = document.body.clientWidth; + } diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/script_feedBack.js b/tools/Sandcastle/Presentation/vs2005/Scripts/script_feedBack.js new file mode 100644 index 0000000000..6f4b750231 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/script_feedBack.js @@ -0,0 +1,116 @@ +//Default FeedBack Values +var ratings = 3; +var title = document.title; +var URL = location.href.replace(location.hash,""); +var version = 2007; + +/************************************************************************* + * Methods ******************************************************** + *************************************************************************/ + +function DeliveryType() +{ + if (URL.indexOf("ms-help://")!=-1) {return("h");} + else if (URL.indexOf(".chm::/")!=-1) {return("c");} + else if (URL.indexOf("http://")!=-1) {return("w");} + else if (URL.indexOf("file:")!=-1) {return("f");} + else return("0"); +} + +function DeliverableValue(deliverable) +{ + if (URL.indexOf("ms-help://")!=-1) + { + delvalue = location.href.slice(0,location.href.lastIndexOf("/html/")); + delvalue = delvalue.slice(delvalue.lastIndexOf("/")+1); + return delvalue; + } + else return(deliverable); +} + +function URLValue() +{ + if (URL.indexOf(".chm::")!=-1) + { + a = URL; + while (a.indexOf("\\") < a.indexOf(".chm::") || a.indexOf("//") > a.indexOf(".chm::")) + { + if (a.indexOf("\\")==-1) + { + break; + } + a = a.substring(a.indexOf("\\")+1,a.length); + } + return("ms-its:"+a) + } + else if (URL.indexOf("file:///")!=-1) + { + a = URL; + + b = a.substring(a.lastIndexOf("html")+5,a.length); + return("file:///"+b); + } + else return(URL); +} + +function GetLanguage() +{ + var langauge; + if(navigator.userAgent.indexOf("Firefox")!=-1) + { + var index = navigator.userAgent.indexOf('('); + var string = navigator.userAgent.substring(navigator.userAgent.indexOf('('), navigator.userAgent.length); + var splitString = string.split(';'); + language = splitString[3].substring(1, splitString[3].length); + } + else language = navigator.systemLanguage; + return(language); +} + + +//---Gets topic rating.--- +function GetRating() +{ + + sRating = "0"; + for(var x = 0;x < 5;x++) + { + if(document.formRating) { + if(document.formRating.fbRating[x].checked) {sRating = x + 1;}} + else return sRating; + } + return sRating; +} + +function SubmitFeedback(alias, product, deliverable, productVersion, documentationVersion, defaultBody) +{ + var subject = title + + " (" + + "/1:" + + product + + "/2:" + + productVersion + + "/3:" + + documentationVersion + + "/4:" + + DeliverableValue(deliverable) + + "/5:" + + URLValue() + + "/6:" + + GetRating() + + "/7:" + + DeliveryType() + + "/8:" + + GetLanguage() + + "/9:" + + version + + ")"; + + location.href = "mailto:" + alias + "?subject=" + subject + + "&body=" + defaultBody; +} + +function AltFeedback(src, title) { + src.title=title; + return; + } diff --git a/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js b/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js new file mode 100644 index 0000000000..91aa6df9d4 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Scripts/script_manifold.js @@ -0,0 +1,1150 @@ +window.onload=LoadPage; +window.onunload=Window_Unload; +//window.onresize=ResizeWindow; +window.onbeforeprint = set_to_print; +window.onafterprint = reset_form; + +var scrollPos = 0; + +var inheritedMembers; +var protectedMembers; +var netcfMembersOnly; +var netXnaMembersOnly; + +// Initialize array of section states + +var sectionStates = new Array(); +var sectionStatesInitialized = false; + +//Hide sample source in select element +function HideSelect() +{ + var selectTags = document.getElementsByTagName("SELECT"); + var spanEles = document.getElementsByTagName("span"); + var i = 10; + var m; + + if (selectTags.length != null || selectTags.length >0) + { + for (n=0; n0) + { + for (n=0; n node ids begin with "sectionToggle", so the same id can refer to different sections in different topics + // we don't want to persist their state; set it to expanded + if (itemId.indexOf("sectionToggle", 0) == 0) return "e"; + + // the default state for new section ids is expanded + if (sectionStates[itemId] == null) return "e"; + + // otherwise, persist the passed in state + return sectionStates[itemId]; +} + +var noReentry = false; + +function OnLoadImage(eventObj) +{ + if (noReentry) return; + + if (!sectionStatesInitialized) + InitSectionStates(); + + var elem; + if(document.all) elem = eventObj.srcElement; + else elem = eventObj.target; + + if ((sectionStates[elem.id] == "e")) + ExpandSection(elem); + else + CollapseSection(elem); +} + +/* +********** +********** Begin +********** +*/ + +var docSettings; + +function LoadPage() +{ + // If not initialized, grab the DTE.Globals object + if (globals == null) + globals = GetGlobals(); + + // docSettings has settings for the current document, + // which include persistent and non-persistent keys for checkbox filters and expand/collapse section states + // persistKeys is an array of the checkbox ids to persist + if (docSettings == null) + { + docSettings = new Array(); + persistKeys = new Array(); + } + + if (!sectionStatesInitialized) + InitSectionStates(); + + var imgElements = document.getElementsByName("toggleSwitch"); + + for (i = 0; i < imgElements.length; i++) + { + if ((sectionStates[imgElements[i].id] == "e")) + ExpandSection(imgElements[i]); + else + CollapseSection(imgElements[i]); + } + + SetCollapseAll(); + + // split screen + var screen = new SplitScreen('header', 'mainSection'); + + // init devlang filter checkboxes + SetupDevlangsFilter(); + + // init memberlist filter checkboxes for protected, inherited, etc + SetupMemberOptionsFilter(); + + // init memberlist platforms filter checkboxes, e.g. .Net Framework, CompactFramework, XNA, Silverlight, etc. + SetupMemberFrameworksFilter(); + + var mainSection = document.getElementById("mainSection"); + + // vs70.js did this to allow up/down arrow scrolling, I think + try { mainSection.setActive(); } catch(e) { } + + //set the scroll position + try{mainSection.scrollTop = scrollPos;} + catch(e){} +} + +function Window_Unload() +{ + // for each key in persistArray, write the key/value pair to globals + for (var i = 0; i < persistKeys.length; i++) + Save(persistKeys[i],docSettings[persistKeys[i]]); + + // save the expand/collapse section states + SaveSections(); +} + +function set_to_print() +{ + //breaks out of divs to print + var i; + + if (window.text)document.all.text.style.height = "auto"; + + for (i=0; i < document.all.length; i++) + { + if (document.all[i].tagName == "body") + { + document.all[i].scroll = "yes"; + } + if (document.all[i].id == "header") + { + document.all[i].style.margin = "0px 0px 0px 0px"; + document.all[i].style.width = "100%"; + } + if (document.all[i].id == "mainSection") + { + document.all[i].style.overflow = "visible"; + document.all[i].style.top = "5px"; + document.all[i].style.width = "100%"; + document.all[i].style.padding = "0px 10px 0px 30px"; + } + } +} + +function reset_form() +{ + //returns to the div nonscrolling region after print + document.location.reload(); +} + +/* +********** +********** End +********** +*/ + + +/* +********** +********** Begin Language Filtering +********** +*/ + +var devlangsMenu; +var devlangsDropdown; +var memberOptionsMenu; +var memberOptionsDropdown; +var memberFrameworksMenu; +var memberFrameworksDropdown; +var dropdowns = new Array(); + +// initialize the devlang filter dropdown menu +function SetupDevlangsFilter() +{ + var divNode = document.getElementById('devlangsMenu'); + if (divNode == null) + return; + + var checkboxNodes = divNode.getElementsByTagName("input"); + + if (checkboxNodes.length == 1) + { + // only one checkbox, so we don't need a menu + // get the devlang and use it to display the correct devlang spans + // a one-checkbox setting like this is NOT persisted, nor is it set from the persisted globals + var checkboxData = checkboxNodes[0].getAttribute('data'); + var dataSplits = checkboxData.split(','); + var devlang = ""; + if (dataSplits.length > 1) + devlang = dataSplits[1]; + styleSheetHandler(devlang); + } + else + { + // setup the dropdown menu + devlangsMenu = new CheckboxMenu("devlangsMenu", docSettings, persistKeys, globals); + devlangsDropdown = new Dropdown('devlangsDropdown', 'devlangsMenu'); + dropdowns.push(devlangsDropdown); + + // update the label of the dropdown menu + SetDropdownMenuLabel(devlangsMenu, devlangsDropdown); + + // toggle the document's display docSettings + codeBlockHandler(); + styleSheetHandler(""); + } +} + + +// called onclick in a devlang filter checkbox +// tasks to perform at this event are: +// toggle the check state of the checkbox that was clicked +// update the user's devlang preference, based on devlang checkbox states +// update stylesheet based on user's devlang preference +// show/hide snippets/syntax based on user's devlang preference +// +function SetLanguage(checkbox) +{ + // toggle the check state of the checkbox that was clicked + devlangsMenu.ToggleCheckState(checkbox.id); + + // update the label of the dropdown menu + SetDropdownMenuLabel(devlangsMenu, devlangsDropdown); + + // update the display of the document's items that are dependent on the devlang setting + codeBlockHandler(); + styleSheetHandler(""); + +} +/* +********** +********** End Language Filtering +********** +*/ + + +/* +********** +********** Begin Members Options Filtering +********** +*/ + +// initialize the memberlist dropdown menu for protected, inherited, etc +function SetupMemberOptionsFilter() +{ + if (document.getElementById('memberOptionsMenu') != null) { + memberOptionsMenu = new CheckboxMenu("memberOptionsMenu", docSettings, persistKeys, globals); + memberOptionsDropdown = new Dropdown('memberOptionsDropdown', 'memberOptionsMenu'); + dropdowns.push(memberOptionsDropdown); + + // update the label of the dropdown menu + SetDropdownMenuLabel(memberOptionsMenu, memberOptionsDropdown); + + // show/hide memberlist rows based on the current docSettings + memberlistHandler(); + } +} + +function SetupMemberFrameworksFilter() +{ + if (document.getElementById('memberFrameworksMenu') != null) + { + memberFrameworksMenu = new CheckboxMenu("memberFrameworksMenu", docSettings, persistKeys, globals); + memberFrameworksDropdown = new Dropdown('memberFrameworksDropdown', 'memberFrameworksMenu'); + dropdowns.push(memberFrameworksDropdown); + + // update the label of the dropdown menu + SetDropdownMenuLabel(memberFrameworksMenu, memberFrameworksDropdown); + + // show/hide memberlist rows based on the current docSettings + memberlistHandler(); + } +} + +function SetMemberOptions(checkbox, groupName) +{ + var checkboxGroup = new Array(); + if (groupName == "vis") + { + if (document.getElementById('PublicCheckbox') != null) + checkboxGroup.push('PublicCheckbox'); + if (document.getElementById('ProtectedCheckbox') != null) + checkboxGroup.push('ProtectedCheckbox'); + } + else if (groupName == "decl") + { + if (document.getElementById('DeclaredCheckbox') != null) + checkboxGroup.push('DeclaredCheckbox'); + if (document.getElementById('InheritedCheckbox') != null) + checkboxGroup.push('InheritedCheckbox'); + } + + // toggle the check state of the checkbox that was clicked + memberOptionsMenu.ToggleGroupCheckState(checkbox.id, checkboxGroup); + + // update the label of the dropdown menu + SetDropdownMenuLabel(memberOptionsMenu, memberOptionsDropdown); + + // update the display of the document's items that are dependent on the member options settings + memberlistHandler(); +} + +function SetMemberFrameworks(checkbox) +{ + // toggle the check state of the checkbox that was clicked + memberFrameworksMenu.ToggleCheckState(checkbox.id); + + // update the label of the dropdown menu + SetDropdownMenuLabel(memberFrameworksMenu, memberFrameworksDropdown); + + // update the display of the document's items that are dependent on the member platforms settings + memberlistHandler(); +} + +function DisplayFilteredMembers() +{ + var iAllMembers = document.getElementsByTagName("tr"); + var i; + + for(i = 0; i < iAllMembers.length; ++i) + { + if (((iAllMembers[i].notSupportedOnXna == "true") && (netXnaMembersOnly == "on")) || + ((iAllMembers[i].getAttribute("name") == "inheritedMember") && (inheritedMembers == "off")) || + ((iAllMembers[i].getAttribute("notSupportedOn") == "netcf") && (netcfMembersOnly == "on"))) + iAllMembers[i].style.display = "none"; + else + iAllMembers[i].style.display = ""; + } + + // protected members are in separate collapseable sections in vs2005, so expand or collapse the sections + ExpandCollapseProtectedMemberSections(); +} + +function ExpandCollapseProtectedMemberSections() +{ + var imgElements = document.getElementsByName("toggleSwitch"); + var i; + // Family + for(i = 0; i < imgElements.length; ++i) + { + if(imgElements[i].id.indexOf("protected", 0) == 0) + { + if ((sectionStates[imgElements[i].id] == "e" && protectedMembers == "off") || + (sectionStates[imgElements[i].id] == "c" && protectedMembers == "on")) + { + ExpandCollapse(imgElements[i]); + } + } + } +} + +/* +********** +********** End Members Options Filtering +********** +*/ + + +/* +********** +********** Begin Expand/Collapse +********** +*/ + +// expand or collapse a section +function ExpandCollapse(imageItem) +{ + if (sectionStates[imageItem.id] == "e") + CollapseSection(imageItem); + else + ExpandSection(imageItem); + + SetCollapseAll(); +} + +// expand or collapse all sections +function ExpandCollapseAll(imageItem) +{ + var collapseAllImage = document.getElementById("collapseAllImage"); + var expandAllImage = document.getElementById("expandAllImage"); + if (imageItem == null || collapseAllImage == null || expandAllImage == null) return; + noReentry = true; // Prevent entry to OnLoadImage + + var imgElements = document.getElementsByName("toggleSwitch"); + var i; + var collapseAll = (imageItem.src == collapseAllImage.src); + if (collapseAll) + { + imageItem.src = expandAllImage.src; + imageItem.alt = expandAllImage.alt; + + for (i = 0; i < imgElements.length; ++i) + { + CollapseSection(imgElements[i]); + } + } + else + { + imageItem.src = collapseAllImage.src; + imageItem.alt = collapseAllImage.alt; + + for (i = 0; i < imgElements.length; ++i) + { + ExpandSection(imgElements[i]); + } + } + SetAllSectionStates(collapseAll); + SetToggleAllLabel(collapseAll); + + noReentry = false; +} + +function ExpandCollapse_CheckKey(imageItem, eventObj) +{ + if(eventObj.keyCode == 13) + ExpandCollapse(imageItem); +} + +function ExpandCollapseAll_CheckKey(imageItem, eventObj) +{ + if(eventObj.keyCode == 13) + ExpandCollapseAll(imageItem); +} + +function SetAllSectionStates(collapsed) +{ + for (var sectionId in sectionStates) + sectionStates[sectionId] = (collapsed) ? "c" : "e"; +} + +function ExpandSection(imageItem) +{ + noReentry = true; // Prevent re-entry to OnLoadImage + try + { + var collapseImage = document.getElementById("collapseImage"); + imageItem.src = collapseImage.src; + imageItem.alt = collapseImage.alt; + + imageItem.parentNode.parentNode.nextSibling.style.display = ""; + sectionStates[imageItem.id] = "e"; + } + catch (e) + { + } + noReentry = false; +} + +function CollapseSection(imageItem) +{ + noReentry = true; // Prevent re-entry to OnLoadImage + var expandImage = document.getElementById("expandImage"); + imageItem.src = expandImage.src; + imageItem.alt = expandImage.alt; + imageItem.parentNode.parentNode.nextSibling.style.display = "none"; + sectionStates[imageItem.id] = "c"; + noReentry = false; +} + +function AllCollapsed() +{ + var imgElements = document.getElementsByName("toggleSwitch"); + var allCollapsed = true; + var i; + + for (i = 0; i < imgElements.length; i++) allCollapsed = allCollapsed && (sectionStates[imgElements[i].id] == "c"); + + return allCollapsed; +} + +function SetCollapseAll() +{ + var imageElement = document.getElementById("toggleAllImage"); + if (imageElement == null) return; + + var allCollapsed = AllCollapsed(); + if (allCollapsed) + { + var expandAllImage = document.getElementById("expandAllImage"); + if (expandAllImage == null) return; + imageElement.src = expandAllImage.src; + imageElement.alt = expandAllImage.alt; + } + else + { + var collapseAllImage = document.getElementById("collapseAllImage"); + if (collapseAllImage == null) return; + imageElement.src = collapseAllImage.src; + imageElement.alt = collapseAllImage.alt; + } + + SetToggleAllLabel(allCollapsed); +} + +function SetToggleAllLabel(allCollapsed) +{ + var collapseLabelElement = document.getElementById("collapseAllLabel"); + var expandLabelElement = document.getElementById("expandAllLabel"); + + if (collapseLabelElement == null || expandLabelElement == null) return; + + if (allCollapsed) + { + collapseLabelElement.style.display = "none"; + expandLabelElement.style.display = "inline"; + } + else + { + collapseLabelElement.style.display = "inline"; + expandLabelElement.style.display = "none"; + } +} + +function SaveSections() +{ + try + { + var states = ""; + + for (var sectionId in sectionStates) states += sectionId + ":" + sectionStates[sectionId] + ";"; + + Save("SectionStates", states.substring(0, states.length - 1)); + } + catch (e) + { + } + +} + +function OpenSection(imageItem) +{ + if (sectionStates[imageItem.id] == "c") ExpandCollapse(imageItem); +} + +/* +********** +********** End Expand/Collapse +********** +*/ + + + +/* +********** +********** Begin Copy Code +********** +*/ + +function CopyCode(key) +{ + var trElements = document.getElementsByTagName("tr"); + var i; + for(i = 0; i < trElements.length; ++i) + { + if(key.parentNode.parentNode.parentNode == trElements[i].parentNode) + { + if (window.clipboardData) + { + // the IE-manner + window.clipboardData.setData("Text", trElements[i].innerText); + } + else if (window.netscape) + { + // Gives unrestricted access to browser APIs using XPConnect + try + { + netscape.security.PrivilegeManager.enablePrivilege("UniversalXPConnect"); + } + catch(e) + { + alert("Universal Connect was refused, cannot copy to " + + "clipboard. Go to about:config and set " + + "signed.applets.codebase_principal_support to true to " + + "enable clipboard support."); + return; + } + + // Creates an instance of nsIClipboard + var clip = Components.classes['@mozilla.org/widget/clipboard;1'].createInstance(Components.interfaces.nsIClipboard); + if (!clip) return; + + // Creates an instance of nsITransferable + var trans = Components.classes['@mozilla.org/widget/transferable;1'].createInstance(Components.interfaces.nsITransferable); + if (!trans) return; + + // register the data flavor + trans.addDataFlavor('text/unicode'); + + // Create object to hold the data + var str = new Object(); + + // Creates an instance of nsISupportsString + var str = Components.classes["@mozilla.org/supports-string;1"].createInstance(Components.interfaces.nsISupportsString); + + //Assigns the data to be copied + var copytext = trElements[i].textContent; + str.data = copytext; + + // Add data objects to transferable + trans.setTransferData("text/unicode",str,copytext.length*2); + var clipid = Components.interfaces.nsIClipboard; + if (!clip) return false; + + // Transfer the data to clipboard + clip.setData(trans,null,clipid.kGlobalClipboard); + } + } + } +} + +function ChangeCopyCodeIcon(key) +{ + var i; + var imageElements = document.getElementsByName("ccImage") + for(i=0; i=5){ + document.body.addBehavior(gsContextMenuPath); + document.body.onbehaviorready="fnSetMenus()"; + document.body.oncontextopen="clearDef()"; + } + +} +// Called by showDef. The showDef function sniffs for initialization. +function openDialog(oNode,x,y){ + var bStatus=oDialog.dlg_status; // BUGBUG: This code assumes that oDialog has been initialized + if(bStatus==false){ + oDialog.dlg_status=true; + oDialog.style.display="block"; + } + else{ + if(typeof(oTimeout)=="number"){ + window.clearTimeout(oTimeout); + } + } + + var sTerm=oNode.getAttribute("G_RID"); + var oDef=oNode.children(0); + var sDef=oDef.text; + sDef=sDef.substr(4,sDef.length-7); //Strips the html comment markers from the definition. + oDialog.innerHTML=sDef + + + //oDialog.innerHTML=g_glossary[sTerm]; + + var iScrollLeft=document.body.scrollLeft; + var iScrollTop=document.body.scrollTop; + var iOffsetLeft=getAbsoluteLeft(oNode)// - iScrollLeft; + var iOffsetWidth=oNode.offsetWidth; + var oParent=oNode.parentNode; + var iOffsetParentLeft=getAbsoluteLeft(oParent); + var iOffsetTop=getAbsoluteTop(oNode); //- iScrollTop; + var iOffsetDialogWidth=oDialog.offsetWidth; + + + if((iOffsetLeft + iOffsetWidth) > (iOffsetParentLeft + oParent.offsetWidth)){ + iOffsetLeft=iOffsetParentLeft; + if(iOffsetLeft - iOffsetDialogWidth>0){ + iOffsetTop+=oNode.offsetHeight; + } + } + var iLeft=0; + var iTop=0; + if((iOffsetLeft + iOffsetWidth - iScrollLeft + iOffsetDialogWidth) < document.body.offsetWidth ){ + iLeft=iOffsetLeft + iOffsetWidth; + } + else{ + if(iOffsetLeft - iOffsetDialogWidth>0){ + iLeft=iOffsetLeft - iOffsetDialogWidth; + } + else{ + iLeft=iOffsetParentLeft; + } + } + if(iOffsetTop - iScrollTop

    "); + oNewDialog=document.body.children(document.body.children.length-1); + oNewDialog.className="clsTooltip"; + oNewDialog.style.width=iWidth; + oNewDialog.dlg_status=false; + return oNewDialog; +} + +function sendfeedback(subject, id,alias){ + var rExp = /\"/gi; + var url = location.href; + // Need to replace the double quotes with single quotes for the mailto to work. + var rExpSingleQuotes = /\'\'"/gi; + var title = document.getElementsByTagName("TITLE")[0].innerText.replace(rExp, "''"); + location.href = "mailto:" + alias + "?subject=" + subject + title + "&body=Topic%20ID:%20" + id + "%0d%0aURL:%20" + url + "%0d%0a%0d%0aComments:%20"; +} diff --git a/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css b/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css new file mode 100644 index 0000000000..412e72cbe2 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Styles/Presentation.css @@ -0,0 +1,1083 @@ +/* * * This file was autogenerated by Styler at 02:02 on 02/15/2003 * * */ + + +/*********************************************************** + * SCRIPT-SUPPORTING STYLES + ***********************************************************/ + +/* Defines the userData cache persistence mechanism. */ +.userDataStyle +{ + behavior: url(#default#userData); +} + +/* Used to save the scroll bar position when navigating away from a page. */ +div.saveHistory +{ + behavior: url(#default#savehistory); +} + +/* Formats the expand/collapse images for all collapsible regions. */ +img.toggle +{ + border: 0; + margin-right: 5; +} + +/* Formats the Collapse All/Expand All images. */ +img#toggleAllImage +{ + margin-left: 0; + vertical-align: middle; +} + +/* Supports XLinks */ +MSHelp\:link +{ + text-decoration: underline; + color: #0000ff; + hoverColor: #3366ff; + filterString: ; +} + + +/*********************************************************** + * CONTENT PRESENTATION STYLES + ***********************************************************/ + +body +{ + background: #FFFFFF; + color: #000000; + font-family: Verdana; + font-size: medium; + font-style: normal; + font-weight: normal; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + width: 100%; +} + +dl +{ + margin-top: 15; + margin-bottom:5; + padding-left: 1; +} + +dl.authored dt { + font-style: bold; + margin-top: 2; +} + +dd { + margin-left: 0; +} + +ul +{ + margin-top:0; + margin-bottom:0; + margin-left: 17; + list-style-type: disc; +} + +ul ul +{ + margin-bottom: 4; + margin-left: 17; + margin-top: 3; + list-style-type: disc; +} + +ol { + margin-top:0; + margin-bottom:0; + margin-left: 28; + list-style-type: decimal; +} + +ol ol { + margin-bottom: 4; + margin-left: 28; + margin-top: 3; + list-style-type: lower-alpha; +} + +li { + margin-top: 5; + margin-bottom: 5; +} + +p { + margin-top: 10; + margin-bottom: 5; +} + +a:link { + color: #0000FF; +} + +a:visited { + color: #DD7C3B; +} + +a:hover { + color: #3366FF; +} + +code +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} + +span.parameter { + font-style: italic; +} + +span.italic { + font-style: italic; +} + +span.selflink { + font-weight: bold; +} + +span.nolink { + +} + +/*********************************************************** + * STRUCTURE PRESENTATION STYLES + ***********************************************************/ + +/* Applies to everything below the non-scrolling header region. */ +div#mainSection +{ + font-size: 62.5%; + width: 100%; +} +html>body #mainSection +{ + font-size:73%; + width: 100%; +} + +/* Applies to everything below the non-scrolling header region, minus the footer. */ +div#mainBody +{ + font-size: 100%; + margin-left: 15; + margin-top: 10; + /*padding-bottom: 20;*/ +} + +html>body #mainBody +{ + font-size: 93%; + margin-left: 15; + margin-top: 10; + padding-bottom: 20; +} + +/* Adds right padding for all blocks in mainBody */ +div#mainBody p, div#mainBody ol, div#mainBody ul, div#mainBody dl +{ + padding-right: 5; +} + +/*------------------------------ Begin Non-scrolling Header Region Styles -------------------------------*/ +/* Applies to the entire non-scrolling header region. */ +div#header +{ + background-color: #FFFFFF; + padding-top: 0; + padding-bottom: 0; + padding-left: 0; + padding-right: 0; + width: 100%; +} + +/* Applies to both tables in the non-scrolling header region. */ +div#header table +{ + width: 100%; +} + +/* Applies to cells in both tables in the non-scrolling header region. */ +div#header table td +{ + color: #0000FF; + font-size: 70%; + margin-top: 0; + margin-bottom: 0; + padding-right: 20; +} +/* Applies to second row in the upper table of the non-scrolling header region. */ +div#header table tr#headerTableRow2 td +{ + padding-left: 13px; +} + +/* Applies to the last row in the upper table of the non-scrolling header region. Text + in this row includes See Also, Constructors, Methods, and Properties. */ +div#header table tr#headerTableRow3 td +{ + padding-top: 2px; + padding-left: 15; +} + +/* Applies to the lower table in the non-scrolling header region. Text in this table + includes Collapse All/Expand All, Language Filter, and Members Options. */ +div#header table#topTable +{ + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + text-align: left; + padding-left: 15; + padding-top: 5px; + padding-bottom: 5px; +} + +/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, + Protected Constructors, Public Properties, Protected Properties, and so on). */ +div#mainSection table td.imageCell +{ + white-space: nowrap; +} +/*------------------------------ End General Table Styles -------------------------------*/ + +/*------------------------------ Begin General Table Styles -------------------------------*/ + +div#mainBody div.alert, div#mainBody div.code, div#mainBody div.tableSection +{ + width:98.9%; +} + +div#mainBody div.section div.alert, div#mainBody div.section div.code, +div#mainBody div.section div.tableSection +{ + width:100%; +} + +div#mainBody div.section ul div.alert, div#mainBody div.section ul div.code, +div#mainBody div.section ul div.tableSection, div#mainBody div.section ol div.alert, +div#mainBody div.section ol div.code, div#mainBody div.section ol div.tableSection +{ + width:100%; +} + +div.alert p, div.code p +{ + margin-top:5; + margin-bottom:8; +} +dd p +{ + margin-top:2; + margin-bottom:8; +} +div.tableSection p +{ + margin-top:1; + margin-bottom:4; +} +li p +{ + margin-top:2; + margin-bottom:2; +} +div.seeAlsoNoToggleSection dl +{ + margin-top:8; + margin-bottom:1; + padding-left:1; +} +div.seeAlsoNoToggleSection dd p +{ + margin-top:2; + margin-bottom:8; +} +div.section dl +{ + margin-top:8; + margin-bottom:1; + padding-left:1; +} +div.section dd p +{ + margin-top:2; + margin-bottom:8; +} +/*------------------------------ End General Table Styles -------------------------------*/ + + + +/*------------------------------ Begin Syntax and Snipper Code Block Styles -------------------------------*/ +div.code table +{ + border: 0; + font-size: 95%; + margin-bottom: 5; + margin-top:-.4em; + width: 100% +} + +div.code table th +{ + background: #EFEFF7; + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1; + color: #000066; + font-weight: bold; + padding-left: 5; + padding-right: 5; +} + +div.code table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; + padding-top: 5; +} +/* Applies to the running header text in the first row of the upper table in the + non-scrolling header region. */ +span#runningHeaderText +{ + color: #8C8C8C; + font-size: 90%; + padding-left: 13; +} + +/* Applies to the topic title in the second row of the upper table in the + non-scrolling header region. */ +span#nsrTitle +{ + color: #000000; + font-size: 160%; + font-weight: 400; + font-family: arial; +} +/*------------------------------ End Non-scrolling Header Region Styles -------------------------------*/ + + +/* Formats the footer. Currently, the transforms pass in two parameters to the + footer SSC, but the default footer SSC doesn't use either parameter. + TODO: Investigate whether the default footer SSC has any impact on doc spec. */ +div#footer +{ + font-size: 80%; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + padding-top: 8; + padding-bottom: 6; + padding-left: 1; + padding-right: 1; + width: 100%; +} + +html>body div#footer +{ + font-size: 80%; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + padding-top: 2; + padding-bottom: 6; + padding-left: 1; + padding-right: 1; + width: 98%; +} + +/* Unable to find this style in the transforms. The default footer SSC adds a plain horizontal rule. + TODO: Determine whether this style is required by the doc spec. */ +/* +hr#footerHR +{ + border-bottom-color: #EEEEFF; + border-bottom-style: solid; + border-bottom-width: 1; + border-top-color: C8CDDE; + border-top-style: solid; + border-top-width: 1; + height: 3; + color: #D4DFFF; +} +*/ + +/******************************************************************************************************************** + Collapsible Section Structure + +

    // Format of the collapsible section text + // Defines the onclick procedure for the expand/collapse section + // Expand/collapse image + + +

    + +
    // The body of the collapsible section; hidden by default +
    + + + The ExpandCollapse() function is responsible for toggling the expand/collapse image, and for + displaying/hiding the body of the collapsible section. +********************************************************************************************************************/ + +/* Applies to the body of a collapsible section */ +div.seeAlsoNoToggleSection +{ + margin-left:0; + padding-top: 2; + padding-bottom: 2; + padding-left: 0; + padding-right: 15; + width: 100%; +} + +div.section +{ + margin-left:0; + padding-top: 0; + padding-bottom: 0; + padding-left: 16; + padding-right: 15; + width: 100%; +} +html>body div.section +{ + margin-left:0; + padding-top: 2; + padding-bottom: 2; + padding-left: 16; + padding-right: 15; + width: 97%; +} +div.seeSection +{ + margin-left:0; + padding-top: 0; + padding-bottom: 2; + padding-left: 16; + padding-right: 15; + width: 100%; +} + + +/*------------------------------ Begin Heading Styles -------------------------------*/ +/* As far as I can tell, only

    tags use this class. + TODO: Decide whether to roll these attributes into the h1.heading style */ +.heading +{ + font-weight: bold; + margin-top: 18; + margin-bottom: 8; +} + +/* All

    headings. */ +h1.heading +{ + color: #000000; + font-size: 130%; +} + +/* Applies to table titles and subsection titles. */ +.subHeading +{ + font-weight: bold; + margin-bottom: 4; +} +.procedureSubHeading +{ + font-weight: bold; + margin-bottom: 4; +} + +/* Formats the titles of author-generated tables. */ +h3.subHeading +{ + color: #000000; + font-size: 120%; + font-weight:800; +} + +h3.procedureSubHeading +{ + color: #000000; + font-size: 120%; +} + +/* Formats the titles of all subsections. */ +h4.subHeading +{ + color: #000000; + font-size: 110%; + font-weight:800; +} +span.labelheading, div.labelheading +{ + font-size:100%; + color:#003399; +} + +/*------------------------------ End Heading Styles -------------------------------*/ + + +/*------------------------------ Begin Image Styles -------------------------------*/ +img.copyCodeImage +{ + border: 0; + margin: 1; + margin-right: 3; +} + +img.downloadCodeImage +{ + border: 0; + margin-right: 3; +} + +img.viewCodeImage +{ + border: 0; + margin-right: 3; +} + +img.note +{ + border: 0; + margin-right: 3; +} +/*------------------------------ End Image Styles -------------------------------*/ + + +/*------------------------------ Begin General Table Styles -------------------------------*/ +div#mainSection table +{ + border: 0; + font-size: 100%; + width: 98.9%; + margin-top: 5px; + margin-bottom: 5px; +} + +div#mainSection table tr +{ + vertical-align: top; +} + +div#mainSection table th +{ + background-color: #EFEFF7; + border-bottom: 1px solid #C8CDDE; + border-left: 1px none #D5D5D3; + color: #000066; + padding-left: 5px; + padding-right: 5px; + text-align: left; +} + +div#mainSection table td +{ + background-color: #F7F7FF; + border-bottom: 1px solid #D5D5D3; + border-left: 1px none #D5D5D3; + padding-left: 5px; + padding-right: 5px; +} + +/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, + Protected Constructors, Public Properties, Protected Properties, and so on). */ +div#mainSection table td.imageCell +{ + white-space: nowrap; +} +/*------------------------------ End General Table Styles -------------------------------*/ + + +/*------------------------------ Begin Syntax and Snipper Code Block Styles -------------------------------*/ +div.code table +{ + border: 0; + font-size: 95%; + margin-bottom: 5; + width: 100% +} + +div.code table th +{ + background: #EFEFF7; + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1; + color: #000066; + font-weight: bold; + padding-left: 5; + padding-right: 5; +} + +div.code table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; + padding-top: 5; +} +/*------------------------------ End Syntax and Snipper Code Block Styles -------------------------------*/ + + +/*------------------------------ Begin Note Styles -------------------------------*/ +div.alert table +{ + border: 0; + font-size: 100%; + width: 100%; +} + +div.alert table th +{ + background: #EFEFF7; + border-bottom-width: 0; + color: #000066; + padding-left: 5; + padding-right: 5; +} + +div.alert table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; +} + + +/*------------------------------ End Note Styles -------------------------------*/ + + +/* Applies to the copy code text and image. */ +span.copyCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; + float: right; + display: inline; + text-align: right; + text-decoration: underline; +} + +span.copyCodeOnHover +{ + color: #E85F17; + font-size:xx-small; + font-weight: normal; + cursor: pointer; + float: right; + display: inline; + text-align: right; + text-decoration: underline; +} + +.downloadCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +.viewCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +/* Formats the code in syntax and usage blocks, and the code in non-snipper code blocks. */ +div.code pre +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; + word-wrap: break-word; + background: #F7F7FF; +} + +/* Formats parameter tooltips. */ +.tip +{ + color: #0000FF; + font-style: italic; + cursor: pointer; + text-decoration:underline; +} + +/* Applies to text styled as math. This text is passed as a parameter to the italics SSC definition */ +.math +{ + font-family: Times New Roman; + font-size: 125% +} + +/* The sourceCodeList class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +.sourceCodeList +{ + font-family: Verdana; + font-size: 90%; +} +*/ + +/* The viewCode class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +pre.viewCode +{ + width: 100%; + overflow: auto; +} +*/ + +/* Dropdown areas */ + +#devlangsMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #f3cbb5; + background: #FCECE4; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 4px; + padding-right:8px; + font-size: 70%; +} + +#memberOptionsMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #f3cbb5; + background: #FCECE4; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 4px; + padding-right:8px; + font-size: 70%; +} + +#memberFrameworksMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #f3cbb5; + background: #FCECE4; + padding-top: 4px; + padding-bottom: 4px; + padding-left: 4px; + padding-right:8px; + font-size: 70%; +} + +/* Applies to the checkbox labels in the filter drop-downs for devlang, member options, and member platforms. */ +.checkboxLabel +{ + color: #0000FF; + cursor: pointer; + text-decoration:underline; + padding-bottom:4; + font-size:90%; +} + +img#devlangsDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Formats the Members Options filter drop-down image. */ +img#memberOptionsDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Formats the Members Platforms filter drop-down image. */ +img#memberFrameworksDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Line seperating footer from main body */ + +div.footerLine { + margin: 0; + width: 100%; + padding-top: 8; + padding-bottom: 6; + /*padding-left: 5; + padding-right: 2;*/ + +} + +div.hr1 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #C8CDDE; + font-size: 1px; +} + +div.hr2 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #D4DFFF; + font-size: 1px; +} + +div.hr3 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #EEEEFF; + font-size: 1px; +} + +span.cs { + display: none; +} + +span.vb { + display: none; +} + +span.cpp { + display: none; +} + +span.nu { + display: inline; +} + +span.code { + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} +span.ui { + font-weight: bold; +} +span.math { + font-style: italic; +} +span.input { + font-weight: bold; +} +span.term { + font-style: italic; +} +span.label +{ + font-weight: bold; +} +span.foreignPhrase { + font-style: italic; +} +span.placeholder { + font-style: italic; +} +span.keyword +{ + font-weight: bold; +} +span.typeparameter +{ + font-style:italic; +} + +div.caption +{ + font-weight: bold; + font-size:100%; + color:#003399; +} + +/* syntax styles */ + +div.code span.identifier +{ + /*font-weight: bold;*/ +} + +div.code span.keyword +{ + /*color: green;*/ + color: #871F78; +} + +div.code span.parameter +{ + font-style: italic; + /*color: purple;*/ +} + +div.code span.literal +{ + /*color: purple;*/ + color:#8B0000; +} + +div.code span.comment +{ + /*color: red;*/ + color: #006400; +} + +span.syntaxLabel +{ + color:#0481DA; + font-weight:bold; +} +span.introStyle +{ + color:DarkGray; +} + +div.seeAlsoStyle +{ + padding-top:5px; + +} + +td.nsrBottom +{ + height: 0.6em; + width: 100%; +} + +/* end of syntax styles */ + +/* Glossary */ +SPAN.clsGlossary {cursor: default; color: #509950; font-weight: bold;} +DIV.clsTooltip {border: 1px solid black; padding: 2px; position: absolute; top: 0; left: 0; display: none; background-color: #FFFFAA; color: black; font-size: 8pt; font-family: Arial;} + + +/* FB STYLES */ +span.feedbackcss +{ + font-size: 110%; + width:100%; + margin-left: 15px; +/* + border-width: 1px 1px 1px 1px; + border-style: solid; + border-color:#C8CDDE; +*/ +} + +div#feedbackarea table +{ + margin-bottom:0px; + margin-top:0px; + margin-left: 0; + width:300; + border-width: 0px 0px 0px 0px; +} + +div#feedbackarea table td +{ + /*background-color: #D4DFFF;*/ + font-family:Verdana; + font-size:100%; + text-align:center; + /*color: #003399;*/ + border-bottom:0px; +} + +div#feedbackarea p +{ + font-size:100%; + /*background-color: #D4DFFF;*/ + width: 100%; + margin-bottom: 0; + margin-top: 0; + margin-left: 6; + margin-right: 5; +} +div#feedbackarea H5 +{ +margin-top:0px; + margin-bottom:0.7em; + font-size:10pt; + margin-left: 6; +} +p.feedbackarea +{ + width:expression(document.body.clientWidth-27); + font-size:100%; + background-color: #D4DFFF; +} + +input#submitFeedback +{ + font-size:100%; + text-align:center; + /*background-color:#D4DFFF; */ +} + +span#feedbackarea +{ +/* + background-color: #D4DFFF; + color: #003399; + border-color:#C8CDDE; +*/ + width:100%; +} +div#feedbackarea +{ + /*background-color: #D4DFFF; + color: #003399;*/ + width:100%; +} +span.filterOnHover +{ + color: #E85F17; +} +span.filter +{ + color: #0000FF; +} + diff --git a/tools/Sandcastle/Presentation/vs2005/Styles/Whidbey/presentation.css b/tools/Sandcastle/Presentation/vs2005/Styles/Whidbey/presentation.css new file mode 100644 index 0000000000..87a6029683 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/Styles/Whidbey/presentation.css @@ -0,0 +1,1061 @@ +/* * * This file was autogenerated by Styler at 02:02 on 02/15/2003 * * */ + + +/*********************************************************** + * SCRIPT-SUPPORTING STYLES + ***********************************************************/ + +/* Defines the userData cache persistence mechanism. */ +.userDataStyle +{ + behavior: url(#default#userData); +} + +/* Used to save the scroll bar position when navigating away from a page. */ +div.saveHistory +{ + behavior: url(#default#saveHistory); +} + +/* Formats the expand/collapse images for all collapsible regions. */ +img.toggle +{ + border: 0; + margin-right: 5; +} + +/* Formats the Collapse All/Expand All images. */ +img#toggleAllImage +{ + margin-left: 0; + vertical-align: middle; +} + +/* Supports XLinks */ +MSHelp\:link +{ + text-decoration: underline; + color: #0000ff; + hoverColor: #3366ff; + filterString: ; +} + + +/*********************************************************** + * CONTENT PRESENTATION STYLES + ***********************************************************/ + +body +{ + background: #FFFFFF; + color: #000000; + font-family: Verdana; + font-size: medium; + font-style: normal; + font-weight: normal; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + width: 100%; +} + +dl +{ + margin-top: 15; + margin-bottom:5; + padding-left: 1; +} + +dl.authored dt { + font-style: bold; +} + +dd { + margin-left: 0; +} + +ul +{ + margin-top:0; + margin-bottom:0; + margin-left: 17; + list-style-type: disc; +} + +ul ul +{ + margin-bottom: 4; + margin-left: 17; + margin-top: 3; + list-style-type: disc; +} + +ol { + margin-top:0; + margin-bottom:0; + margin-left: 28; + list-style-type: decimal; +} + +ol ol { + margin-bottom: 4; + margin-left: 28; + margin-top: 3; + list-style-type: lower-alpha; +} + +li { + margin-top: 5; + margin-bottom: 5; +} + +p { + margin-top: 10; + margin-bottom: 5; +} + +a[href] { + color: #0000FF; +} + +a:visited { + color: #0000FF; +} + +a:hover { + color: #3366FF; +} + +code +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} + +span.parameter { + font-style: italic; + font-weight:bold; +} + +span.italic { + font-style: italic; +} + +span.selflink { + font-weight: bold; +} + +span.nolink { + +} + +/*********************************************************** + * STRUCTURE PRESENTATION STYLES + ***********************************************************/ + +/* Applies to everything below the non-scrolling header region. */ +div#mainSection +{ + font-size: 62.5%; + width: 100%; +} +html>body #mainSection +{ + font-size:73%; + width: 100%; +} + +/* Applies to everything below the non-scrolling header region, minus the footer. */ +div#mainBody +{ + font-size: 100%; + margin-left: 15; + margin-top: 10; + padding-bottom: 20; +} + +html>body #mainBody +{ + font-size: 93%; + margin-left: 15; + margin-top: 10; + padding-bottom: 20; +} + +/* Adds right padding for all blocks in mainBody */ +div#mainBody p, div#mainBody ol, div#mainBody ul, div#mainBody dl +{ + padding-right: 5; +} + +/*------------------------------ Begin Non-scrolling Header Region Styles -------------------------------*/ +/* Applies to the entire non-scrolling header region. */ +div#header +{ + background-color: #D4DFFF; + padding-top: 0; + padding-bottom: 0; + padding-left: 0; + padding-right: 0; + width: 100%; +} + +/* Applies to both tables in the non-scrolling header region. */ +div#header table +{ + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1; + width: 100%; +} + +/* Applies to cells in both tables in the non-scrolling header region. */ +div#header table td +{ + color: #0000FF; + font-size: 70%; + margin-top: 0; + margin-bottom: 0; + padding-right: 20; +} +/* Applies to second row in the upper table of the non-scrolling header region. */ +div#header table tr#headerTableRow2 td +{ + padding-left: 13px; +} + +/* Applies to the last row in the upper table of the non-scrolling header region. Text + in this row includes See Also, Constructors, Methods, and Properties. */ +div#header table tr#headerTableRow3 td +{ + padding-bottom: 2; + padding-top: 5; + padding-left: 15; +} + +/* Applies to the lower table in the non-scrolling header region. Text in this table + includes Collapse All/Expand All, Language Filter, and Members Options. */ +div#header table#bottomTable +{ + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + text-align: left; + padding-left: 15; +} + +/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, + Protected Constructors, Public Properties, Protected Properties, and so on). */ +div#mainSection table td.imageCell +{ + white-space: nowrap; +} +/*------------------------------ End General Table Styles -------------------------------*/ + +/*------------------------------ Begin General Table Styles -------------------------------*/ + +div#mainBody div.alert, div#mainBody div.code, div#mainBody div.tableSection +{ + width:98.9%; +} + +div#mainBody div.section div.alert, div#mainBody div.section div.code, +div#mainBody div.section div.tableSection +{ + width:100%; +} + +div#mainBody div.section ul div.alert, div#mainBody div.section ul div.code, +div#mainBody div.section ul div.tableSection, div#mainBody div.section ol div.alert, +div#mainBody div.section ol div.code, div#mainBody div.section ol div.tableSection +{ + width:100%; +} + +div.alert p, div.code p +{ + margin-top:5; + margin-bottom:8; +} +dd p +{ + margin-top:2; + margin-bottom:8; +} +div.tableSection p +{ + margin-top:1; + margin-bottom:4; +} +li p +{ + margin-top:2; + margin-bottom:2; +} +div.seeAlsoNoToggleSection dl +{ + margin-top:8; + margin-bottom:1; + padding-left:1; +} +div.seeAlsoNoToggleSection dd p +{ + margin-top:2; + margin-bottom:8; +} +div.section dl +{ + margin-top:8; + margin-bottom:1; + padding-left:1; +} +div.section dd p +{ + margin-top:2; + margin-bottom:8; +} +/*------------------------------ End General Table Styles -------------------------------*/ + + + +/*------------------------------ Begin Syntax and Snipper Code Block Styles -------------------------------*/ +div.code table +{ + border: 0; + font-size: 95%; + margin-bottom: 5; + margin-top:-.4em; + width: 100% +} + +div.code table th +{ + background: #EFEFF7; + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1; + color: #000066; + font-weight: bold; + padding-left: 5; + padding-right: 5; +} + +div.code table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; + padding-top: 5; +} +/* Applies to the running header text in the first row of the upper table in the + non-scrolling header region. */ +span#runningHeaderText +{ + color: #003399; + font-size: 90%; + padding-left: 13; +} + +/* Applies to the topic title in the second row of the upper table in the + non-scrolling header region. */ +span#nsrTitle +{ + color: #003399; + font-size: 120%; + font-weight: 600; +} +/*------------------------------ End Non-scrolling Header Region Styles -------------------------------*/ + + +/* Formats the footer. Currently, the transforms pass in two parameters to the + footer SSC, but the default footer SSC doesn't use either parameter. + TODO: Investigate whether the default footer SSC has any impact on doc spec. */ +div#footer +{ + font-size: 80%; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + padding-top: 8; + padding-bottom: 6; + padding-left: 5; + padding-right: 2; + width: 100%; +} + +html>body div#footer +{ + font-size: 80%; + margin-top: 0; + margin-bottom: 0; + margin-left: 0; + margin-right: 0; + padding-top: 2; + padding-bottom: 6; + padding-left: 5; + padding-right: 2; + width: 98%; +} + +/* Unable to find this style in the transforms. The default footer SSC adds a plain horizontal rule. + TODO: Determine whether this style is required by the doc spec. */ +/* +hr#footerHR +{ + border-bottom-color: #EEEEFF; + border-bottom-style: solid; + border-bottom-width: 1; + border-top-color: C8CDDE; + border-top-style: solid; + border-top-width: 1; + height: 3; + color: #D4DFFF; +} +*/ + +/******************************************************************************************************************** + Collapsible Section Structure + +

    // Format of the collapsible section text + // Defines the onclick procedure for the expand/collapse section + // Expand/collapse image + + +

    + +
    // The body of the collapsible section; hidden by default +
    + + + The ExpandCollapse() function is responsible for toggling the expand/collapse image, and for + displaying/hiding the body of the collapsible section. +********************************************************************************************************************/ + +/* Applies to the body of a collapsible section */ +div.seeAlsoNoToggleSection +{ + margin-left:0; + padding-top: 2; + padding-bottom: 2; + padding-left: 0; + padding-right: 15; + width: 100%; +} + +div.section +{ + margin-left:0; + padding-top: 0; + padding-bottom: 0; + padding-left: 16; + padding-right: 15; + width: 100%; +} +html>body div.section +{ + margin-left:0; + padding-top: 2; + padding-bottom: 2; + padding-left: 16; + padding-right: 15; + width: 97%; +} +div.seeSection +{ + margin-left:0; + padding-top: 0; + padding-bottom: 2; + padding-left: 16; + padding-right: 15; + width: 100%; +} + +div.section p +{ + margin-top: 0 px; + margin-bottom: 0px; +} + +/*------------------------------ Begin Heading Styles -------------------------------*/ +/* As far as I can tell, only

    tags use this class. + TODO: Decide whether to roll these attributes into the h1.heading style */ +.heading +{ + font-weight: bold; + margin-top: 18; + margin-bottom: 8; +} + +/* All

    headings. */ +h1.heading +{ + color: #003399; + font-size: 130%; +} + +/* Applies to table titles and subsection titles. */ +.subHeading +{ + font-weight: bold; + margin-bottom: 4; +} +.procedureSubHeading +{ + font-weight: bold; + margin-bottom: 4; +} + +/* Formats the titles of author-generated tables. */ +h3.subHeading +{ + color: #000000; + font-size: 120%; + font-weight:800; +} + +h3.procedureSubHeading +{ + color: #003399; + font-size: 120%; +} + +/* Formats the titles of all subsections. */ +h4.subHeading +{ + color: #000000; + font-size: 110%; + font-weight:800; +} +span.labelheading, div.labelheading +{ + font-size:100%; + color:#003399; +} + +/*------------------------------ End Heading Styles -------------------------------*/ + + +/*------------------------------ Begin Image Styles -------------------------------*/ +img.copyCodeImage +{ + border: 0; + margin: 1; + margin-right: 3; +} + +img.downloadCodeImage +{ + border: 0; + margin-right: 3; +} + +img.viewCodeImage +{ + border: 0; + margin-right: 3; +} + +img.note +{ + border: 0; + margin-right: 3; +} +/*------------------------------ End Image Styles -------------------------------*/ + + +/*------------------------------ Begin General Table Styles -------------------------------*/ +div#mainSection table +{ + border: 0; + font-size: 100%; + width: 98.9%; + margin-top: 5px; + margin-bottom: 5px; +} + +div#mainSection table tr +{ + vertical-align: top; +} + +div#mainSection table th +{ + background-color: #EFEFF7; + border-bottom: 1px solid #C8CDDE; + border-left: 1px none #D5D5D3; + color: #000066; + padding-left: 5px; + padding-right: 5px; + text-align: left; +} + +div#mainSection table td +{ + background-color: #F7F7FF; + border-bottom: 1px solid #D5D5D3; + border-left: 1px none #D5D5D3; + padding-left: 5px; + padding-right: 5px; +} + +/* Formats the first column--the one that displays icons--in mref list tables (such as Public Constructors, + Protected Constructors, Public Properties, Protected Properties, and so on). */ +div#mainSection table td.imageCell +{ + white-space: nowrap; +} +/*------------------------------ End General Table Styles -------------------------------*/ + + +/*------------------------------ Begin Syntax and Snipper Code Block Styles -------------------------------*/ +div.code table +{ + border: 0; + font-size: 95%; + margin-bottom: 5; + width: 100% +} + +div.code table th +{ + background: #EFEFF7; + border-bottom-color: #C8CDDE; + border-bottom-style: solid; + border-bottom-width: 1; + color: #000066; + font-weight: bold; + padding-left: 5; + padding-right: 5; +} + +div.code table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; + padding-top: 5; +} +/*------------------------------ End Syntax and Snipper Code Block Styles -------------------------------*/ + + +/*------------------------------ Begin Note Styles -------------------------------*/ +div.alert table +{ + border: 0; + font-size: 100%; + width: 100%; +} + +div.alert table th +{ + background: #EFEFF7; + border-bottom-width: 0; + color: #000066; + padding-left: 5; + padding-right: 5; +} + +div.alert table td +{ + background: #F7F7FF; + border-top-color: #FFFFFF; + border-top-style: solid; + border-top-width: 1; + padding-left: 5; + padding-right: 5; +} + + +/*------------------------------ End Note Styles -------------------------------*/ + + +/* Applies to the copy code text and image. */ +span.copyCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; + float: right; + display: inline; + text-align: right; +} + +span.copyCodeOnHover +{ + color: #E85F17; + font-size:xx-small; + font-weight: normal; + cursor: pointer; + float: right; + display: inline; + text-align: right; + text-decoration: underline; +} + +.downloadCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +.viewCode +{ + color: #0000ff; + font-size: 90%; + font-weight: normal; + cursor: pointer; +} + +/* Formats the code in syntax and usage blocks, and the code in non-snipper code blocks. */ +div.code pre +{ + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; + word-wrap: break-word; + background: #F7F7FF; +} + +/* Formats parameter tooltips. */ +.tip +{ + color: #0000FF; + font-style: italic; + cursor: pointer; + text-decoration:underline; +} + +/* Applies to text styled as math. This text is passed as a parameter to the italics SSC definition */ +.math +{ + font-family: Times New Roman; + font-size: 125% +} + +/* The sourceCodeList class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +.sourceCodeList +{ + font-family: Verdana; + font-size: 90%; +} +*/ + +/* The viewCode class doesn't appear in the transforms. + TODO: Find out whether this style is needed for the doc spec. */ +/* +pre.viewCode +{ + width: 100%; + overflow: auto; +} +*/ + +/* Dropdown areas */ + +#devlangsMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #C8CDDE; + background: #d4dfff; + padding: 4px; + font-size: 70%; +} + +#memberOptionsMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #C8CDDE; + background: #d4dfff; + padding: 4px; + font-size: 70%; +} + +#memberFrameworksMenu { + position: absolute; + visibility: hidden; + border-style: solid; + border-width: 1px; + border-color: #C8CDDE; + background: #d4dfff; + padding: 4px; + font-size: 70%; +} + +/* Applies to the checkbox labels in the filter drop-downs for devlang, member options, and member platforms. */ +.checkboxLabel +{ + color: #0000FF; + cursor: pointer; + text-decoration:underline; + padding-bottom:4; +} + +img#devlangsDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Formats the Members Options filter drop-down image. */ +img#memberOptionsDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Formats the Members Platforms filter drop-down image. */ +img#memberFrameworksDropdownImage +{ + border: 0; + margin-left: 0; + vertical-align: middle; +} + +/* Line seperating footer from main body */ + +div.footerLine { + margin: 0; + width: 100%; + padding-top: 8; + padding-bottom: 6; + padding-left: 5; + padding-right: 2; + +} + +div.hr1 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #C8CDDE; + font-size: 1px; +} + +div.hr2 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #D4DFFF; + font-size: 1px; +} + +div.hr3 { + margin: 0; + width: 100%; + height: 1px; + padding: 0; + background: #EEEEFF; + font-size: 1px; +} + +span.cs { + display: none; +} + +span.vb { + display: none; +} + +span.cpp { + display: none; +} + +span.nu { + display: inline; +} + +span.code { + font-family: Monospace, Courier New, Courier; + font-size: 105%; + color: #000066; +} +span.ui { + font-weight: bold; +} +span.math { + font-style: italic; +} +span.input { + font-weight: bold; +} +span.term { + font-style: italic; +} +span.label +{ + font-weight: bold; +} +span.foreignPhrase { + font-style: italic; +} +span.placeholder { + font-style: italic; +} +span.keyword +{ + font-weight: bold; +} +span.typeparameter +{ + font-style:italic; +} + +div.caption +{ + font-weight: bold; + font-size:100%; + color:#003399; +} + +/* syntax styles */ + +div.code span.identifier +{ + font-weight: bold; +} + +div.code span.keyword +{ + color: green; +} + +div.code span.parameter +{ + font-style: italic; + color: purple; +} + +div.code span.literal +{ + color: purple; +} + +div.code span.comment +{ + color: red; +} + +span.syntaxLabel +{ + color:#0481DA; + font-weight:bold; +} +span.introStyle +{ + color:DarkGray; +} + +div.seeAlsoStyle +{ + padding-top:5px; + +} +/* end of syntax styles */ + +/* Glossary */ +SPAN.clsGlossary {cursor: default; color: #509950; font-weight: bold;} +DIV.clsTooltip {border: 1px solid black; padding: 2px; position: absolute; top: 0; left: 0; display: none; background-color: #FFFFAA; color: black; font-size: 8pt; font-family: Arial;} + + +/* FB STYLES */ +span.feedbackcss +{ + width:100%; + margin-left: 5px; +/* + border-width: 1px 1px 1px 1px; + border-style: solid; + border-color:#C8CDDE; +*/ +} + +div#feedbackarea table +{ + margin-bottom:0px; + margin-top:0px; + margin-left: 0; + width:300; + border-width: 0px 0px 0px 0px; +} + +div#feedbackarea table td +{ + background-color: #D4DFFF; + font-family:Verdana; + font-size:100%; + text-align:center; + color: #003399; + border-bottom:0px; +} + +div#feedbackarea p +{ + font-size:100%; + background-color: #D4DFFF; + width: 100%; + margin-bottom: 0; + margin-top: 0; + margin-left: 6; + margin-right: 5; +} +div#feedbackarea H5 +{ + margin-bottom:0.7em; + margin-left: 6; +} +p.feedbackarea +{ + width:expression(document.body.clientWidth-27); + font-size:100%; + background-color: #D4DFFF; +} + +input#submitFeedback +{ + font-size:105%; + text-align:center; + background-color:#D4DFFF; +} + +span#feedbackarea +{ +/* + background-color: #D4DFFF; + color: #003399; + border-color:#C8CDDE; +*/ + width:100%; +} + +div#feedbackarea +{ + background-color: #D4DFFF; + color: #003399; + width:100%; +} + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config b/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config new file mode 100644 index 0000000000..9c38929098 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/conceptual.config @@ -0,0 +1,123 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config new file mode 100644 index 0000000000..3e6133ad85 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-scbuild.config @@ -0,0 +1,140 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config new file mode 100644 index 0000000000..8c0191a76f --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle-webref.config @@ -0,0 +1,154 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config new file mode 100644 index 0000000000..95a0b6f2ba --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/configuration/sandcastle.config @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/copyOutput.bat b/tools/Sandcastle/Presentation/vs2005/copyOutput.bat new file mode 100644 index 0000000000..7cf18524ed --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/copyOutput.bat @@ -0,0 +1,11 @@ +if not exist Output mkdir Output +if not exist Output\html mkdir Output\html +if not exist Output\icons mkdir Output\icons +if not exist Output\scripts mkdir Output\scripts +if not exist Output\styles mkdir Output\styles +if not exist Output\media mkdir Output\media +copy "%DXROOT%\Presentation\vs2005\icons\*" Output\icons +copy "%DXROOT%\Presentation\vs2005\scripts\*" Output\scripts +copy "%DXROOT%\Presentation\vs2005\styles\*" Output\styles +if not exist Intellisense mkdir Intellisense + diff --git a/tools/Sandcastle/Presentation/vs2005/icons/CFW.gif b/tools/Sandcastle/Presentation/vs2005/icons/CFW.gif new file mode 100644 index 0000000000..cbcabf1b2d Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/CFW.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/Caution.gif b/tools/Sandcastle/Presentation/vs2005/icons/Caution.gif new file mode 100644 index 0000000000..a3139226d6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/Caution.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/LastChild.gif b/tools/Sandcastle/Presentation/vs2005/icons/LastChild.gif new file mode 100644 index 0000000000..0b9af7e88d Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/LastChild.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/adm.gif b/tools/Sandcastle/Presentation/vs2005/icons/adm.gif new file mode 100644 index 0000000000..558dbd1d6f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/adm.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/adm_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/adm_arch.gif new file mode 100644 index 0000000000..918f568a6c Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/adm_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/adm_dev.gif b/tools/Sandcastle/Presentation/vs2005/icons/adm_dev.gif new file mode 100644 index 0000000000..e7398bb0a5 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/adm_dev.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/adm_dev_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/adm_dev_arch.gif new file mode 100644 index 0000000000..9beb941f60 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/adm_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/alert_caution.gif b/tools/Sandcastle/Presentation/vs2005/icons/alert_caution.gif new file mode 100644 index 0000000000..a3139226d6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/alert_caution.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/alert_note.gif b/tools/Sandcastle/Presentation/vs2005/icons/alert_note.gif new file mode 100644 index 0000000000..3393af3564 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/alert_note.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/alert_security.gif b/tools/Sandcastle/Presentation/vs2005/icons/alert_security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/alert_security.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/arch.gif new file mode 100644 index 0000000000..a75cdf83cc Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/big_adm.gif b/tools/Sandcastle/Presentation/vs2005/icons/big_adm.gif new file mode 100644 index 0000000000..9351c4bf3e Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/big_adm.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/big_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/big_arch.gif new file mode 100644 index 0000000000..8ba260d761 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/big_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/big_dev.gif b/tools/Sandcastle/Presentation/vs2005/icons/big_dev.gif new file mode 100644 index 0000000000..221a4dd049 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/big_dev.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/big_kw.gif b/tools/Sandcastle/Presentation/vs2005/icons/big_kw.gif new file mode 100644 index 0000000000..365cca20e6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/big_kw.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/box.gif b/tools/Sandcastle/Presentation/vs2005/icons/box.gif new file mode 100644 index 0000000000..c022894065 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/box.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/collall.gif b/tools/Sandcastle/Presentation/vs2005/icons/collall.gif new file mode 100644 index 0000000000..66a6f11629 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/collall.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/collapse.gif b/tools/Sandcastle/Presentation/vs2005/icons/collapse.gif new file mode 100644 index 0000000000..d57c046779 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/collapse.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/collapse_all.gif b/tools/Sandcastle/Presentation/vs2005/icons/collapse_all.gif new file mode 100644 index 0000000000..5d0be1f070 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/collapse_all.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/copycode.gif b/tools/Sandcastle/Presentation/vs2005/icons/copycode.gif new file mode 100644 index 0000000000..1678162660 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/copycode.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/copycodeHighlight.gif b/tools/Sandcastle/Presentation/vs2005/icons/copycodeHighlight.gif new file mode 100644 index 0000000000..be87230ff9 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/copycodeHighlight.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/dev.gif b/tools/Sandcastle/Presentation/vs2005/icons/dev.gif new file mode 100644 index 0000000000..376241d5c0 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/dev.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/dev_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/dev_arch.gif new file mode 100644 index 0000000000..12b5520898 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/dropdown.gif b/tools/Sandcastle/Presentation/vs2005/icons/dropdown.gif new file mode 100644 index 0000000000..3163858f65 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/dropdown.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/dropdownHover.gif b/tools/Sandcastle/Presentation/vs2005/icons/dropdownHover.gif new file mode 100644 index 0000000000..0608c90c53 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/dropdownHover.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/drpdown.gif b/tools/Sandcastle/Presentation/vs2005/icons/drpdown.gif new file mode 100644 index 0000000000..9d3bbb6e75 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/drpdown.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange.gif b/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange.gif new file mode 100644 index 0000000000..cf50c2014e Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange_up.gif b/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange_up.gif new file mode 100644 index 0000000000..a173df1e6c Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/drpdown_orange_up.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/drpup.gif b/tools/Sandcastle/Presentation/vs2005/icons/drpup.gif new file mode 100644 index 0000000000..de7719859f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/drpup.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/exp.gif b/tools/Sandcastle/Presentation/vs2005/icons/exp.gif new file mode 100644 index 0000000000..023b837ea6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/exp.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/expall.gif b/tools/Sandcastle/Presentation/vs2005/icons/expall.gif new file mode 100644 index 0000000000..1a91b12735 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/expall.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/expand_all.gif b/tools/Sandcastle/Presentation/vs2005/icons/expand_all.gif new file mode 100644 index 0000000000..c69304bb09 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/expand_all.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/filter1a.gif b/tools/Sandcastle/Presentation/vs2005/icons/filter1a.gif new file mode 100644 index 0000000000..8a2f9b58a6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/filter1a.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/filter1c.gif b/tools/Sandcastle/Presentation/vs2005/icons/filter1c.gif new file mode 100644 index 0000000000..49de223fd4 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/filter1c.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/footer.gif b/tools/Sandcastle/Presentation/vs2005/icons/footer.gif new file mode 100644 index 0000000000..7092cde8db Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/footer.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/gradient.gif b/tools/Sandcastle/Presentation/vs2005/icons/gradient.gif new file mode 100644 index 0000000000..847eb3c103 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/gradient.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/greencheck.gif b/tools/Sandcastle/Presentation/vs2005/icons/greencheck.gif new file mode 100644 index 0000000000..4ba17510db Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/greencheck.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/greychck.gif b/tools/Sandcastle/Presentation/vs2005/icons/greychck.gif new file mode 100644 index 0000000000..adb8fa1e68 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/greychck.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/header_prev_next.jpg b/tools/Sandcastle/Presentation/vs2005/icons/header_prev_next.jpg new file mode 100644 index 0000000000..2f53424cd7 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/header_prev_next.jpg differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_blank.jpg b/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_blank.jpg new file mode 100644 index 0000000000..aca05662a6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_blank.jpg differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_logo.GIF b/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_logo.GIF new file mode 100644 index 0000000000..e0b0bcc5f6 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/header_sql_tutorial_logo.GIF differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw.gif new file mode 100644 index 0000000000..40a943c91b Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_adm.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm.gif new file mode 100644 index 0000000000..6e05cc8266 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_arch.gif new file mode 100644 index 0000000000..162c7d8b26 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev.gif new file mode 100644 index 0000000000..2d67824aba Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev_arch.gif new file mode 100644 index 0000000000..358f2fa169 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_adm_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_arch.gif new file mode 100644 index 0000000000..ab5d3bb9df Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_dev.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_dev.gif new file mode 100644 index 0000000000..6ff27ede14 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_dev.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/kw_dev_arch.gif b/tools/Sandcastle/Presentation/vs2005/icons/kw_dev_arch.gif new file mode 100644 index 0000000000..99f017a048 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/kw_dev_arch.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/load.gif b/tools/Sandcastle/Presentation/vs2005/icons/load.gif new file mode 100644 index 0000000000..9492447a19 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/load.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/load_hover.gif b/tools/Sandcastle/Presentation/vs2005/icons/load_hover.gif new file mode 100644 index 0000000000..65f44aa2b8 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/load_hover.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/note.gif b/tools/Sandcastle/Presentation/vs2005/icons/note.gif new file mode 100644 index 0000000000..3393af3564 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/note.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pencil.GIF b/tools/Sandcastle/Presentation/vs2005/icons/pencil.GIF new file mode 100644 index 0000000000..000dcb42a0 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pencil.GIF differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privclass.gif b/tools/Sandcastle/Presentation/vs2005/icons/privclass.gif new file mode 100644 index 0000000000..0939694ce0 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privclass.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privdelegate.gif b/tools/Sandcastle/Presentation/vs2005/icons/privdelegate.gif new file mode 100644 index 0000000000..d3aa8a65ef Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privenum.gif b/tools/Sandcastle/Presentation/vs2005/icons/privenum.gif new file mode 100644 index 0000000000..47f387ec2b Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privenum.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privenumeration.gif b/tools/Sandcastle/Presentation/vs2005/icons/privenumeration.gif new file mode 100644 index 0000000000..47f387ec2b Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privevent.gif b/tools/Sandcastle/Presentation/vs2005/icons/privevent.gif new file mode 100644 index 0000000000..30db46df76 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privevent.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privextension.gif b/tools/Sandcastle/Presentation/vs2005/icons/privextension.gif new file mode 100644 index 0000000000..51dd267f0f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privextension.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privfield.gif b/tools/Sandcastle/Presentation/vs2005/icons/privfield.gif new file mode 100644 index 0000000000..cbf70f7a3f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privfield.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privinterface.gif b/tools/Sandcastle/Presentation/vs2005/icons/privinterface.gif new file mode 100644 index 0000000000..f3b7950adc Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privinterface.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privmethod.gif b/tools/Sandcastle/Presentation/vs2005/icons/privmethod.gif new file mode 100644 index 0000000000..71f8822642 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privmethod.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privproperty.gif b/tools/Sandcastle/Presentation/vs2005/icons/privproperty.gif new file mode 100644 index 0000000000..b1e8074654 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privproperty.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/privstructure.gif b/tools/Sandcastle/Presentation/vs2005/icons/privstructure.gif new file mode 100644 index 0000000000..ed6d1ef68f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/privstructure.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protclass.gif b/tools/Sandcastle/Presentation/vs2005/icons/protclass.gif new file mode 100644 index 0000000000..0f9294292a Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protclass.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protdelegate.gif b/tools/Sandcastle/Presentation/vs2005/icons/protdelegate.gif new file mode 100644 index 0000000000..b209f2d816 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protenum.gif b/tools/Sandcastle/Presentation/vs2005/icons/protenum.gif new file mode 100644 index 0000000000..cc96bb6359 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protenum.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protenumeration.gif b/tools/Sandcastle/Presentation/vs2005/icons/protenumeration.gif new file mode 100644 index 0000000000..cc96bb6359 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protevent.gif b/tools/Sandcastle/Presentation/vs2005/icons/protevent.gif new file mode 100644 index 0000000000..0e510b272c Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protevent.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protextension.gif b/tools/Sandcastle/Presentation/vs2005/icons/protextension.gif new file mode 100644 index 0000000000..dcd07f5e1a Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protextension.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protfield.gif b/tools/Sandcastle/Presentation/vs2005/icons/protfield.gif new file mode 100644 index 0000000000..9ae6833e08 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protfield.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protinterface.gif b/tools/Sandcastle/Presentation/vs2005/icons/protinterface.gif new file mode 100644 index 0000000000..a1b96d2c6a Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protinterface.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protmethod.gif b/tools/Sandcastle/Presentation/vs2005/icons/protmethod.gif new file mode 100644 index 0000000000..2bc9468734 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protmethod.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protoperator.gif b/tools/Sandcastle/Presentation/vs2005/icons/protoperator.gif new file mode 100644 index 0000000000..2cb75ab8b0 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protoperator.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protproperty.gif b/tools/Sandcastle/Presentation/vs2005/icons/protproperty.gif new file mode 100644 index 0000000000..55473d16e1 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protproperty.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/protstructure.gif b/tools/Sandcastle/Presentation/vs2005/icons/protstructure.gif new file mode 100644 index 0000000000..af356a1db0 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/protstructure.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubclass.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubclass.gif new file mode 100644 index 0000000000..1a968ab633 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubclass.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubdelegate.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubdelegate.gif new file mode 100644 index 0000000000..0a43eb261a Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubdelegate.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubenum.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubenum.gif new file mode 100644 index 0000000000..46888adef9 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubenum.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubenumeration.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubenumeration.gif new file mode 100644 index 0000000000..46888adef9 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubenumeration.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubevent.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubevent.gif new file mode 100644 index 0000000000..b9226da8b4 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubevent.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubextension.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubextension.gif new file mode 100644 index 0000000000..6262d1cca8 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubextension.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubfield.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubfield.gif new file mode 100644 index 0000000000..5aed17576f Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubfield.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubinterface.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubinterface.gif new file mode 100644 index 0000000000..c38a4c46a9 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubinterface.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubmethod.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubmethod.gif new file mode 100644 index 0000000000..2c72988f50 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubmethod.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/puboperator.gif b/tools/Sandcastle/Presentation/vs2005/icons/puboperator.gif new file mode 100644 index 0000000000..0ebe10a7ec Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/puboperator.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubproperty.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubproperty.gif new file mode 100644 index 0000000000..dfad7b4300 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubproperty.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/pubstructure.gif b/tools/Sandcastle/Presentation/vs2005/icons/pubstructure.gif new file mode 100644 index 0000000000..1344416abc Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/pubstructure.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/requirements1a.gif b/tools/Sandcastle/Presentation/vs2005/icons/requirements1a.gif new file mode 100644 index 0000000000..3b08793895 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/requirements1a.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/requirements1c.gif b/tools/Sandcastle/Presentation/vs2005/icons/requirements1c.gif new file mode 100644 index 0000000000..d62bda3b59 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/requirements1c.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/save.gif b/tools/Sandcastle/Presentation/vs2005/icons/save.gif new file mode 100644 index 0000000000..6a5177e58e Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/save.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/save_hover.gif b/tools/Sandcastle/Presentation/vs2005/icons/save_hover.gif new file mode 100644 index 0000000000..7b62e923d1 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/save_hover.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/security.gif b/tools/Sandcastle/Presentation/vs2005/icons/security.gif new file mode 100644 index 0000000000..48661ce742 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/security.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/seealso1a.gif b/tools/Sandcastle/Presentation/vs2005/icons/seealso1a.gif new file mode 100644 index 0000000000..2f5d50aa59 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/seealso1a.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/seealso1c.gif b/tools/Sandcastle/Presentation/vs2005/icons/seealso1c.gif new file mode 100644 index 0000000000..84f79e71f4 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/seealso1c.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/static.gif b/tools/Sandcastle/Presentation/vs2005/icons/static.gif new file mode 100644 index 0000000000..33723a92be Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/static.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/icons/xna.gif b/tools/Sandcastle/Presentation/vs2005/icons/xna.gif new file mode 100644 index 0000000000..9e6a9d4bd9 Binary files /dev/null and b/tools/Sandcastle/Presentation/vs2005/icons/xna.gif differ diff --git a/tools/Sandcastle/Presentation/vs2005/seed.HxF b/tools/Sandcastle/Presentation/vs2005/seed.HxF new file mode 100644 index 0000000000..346434c347 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/seed.HxF @@ -0,0 +1,3 @@ +Styles/Presentation.css +Scripts/*.js +Icons/*.gif diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl new file mode 100644 index 0000000000..8ce6de18a4 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/globalTemplates.xsl @@ -0,0 +1,227 @@ + + + + + + + + + + + + + + + + +
    + + + {0} + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + +
    + + + {0} + + +
    + +
    + + + +
    + + + {0} + + +
    +
    + + + + + + +
    + + + {0} + + +
    + +
    + +
    + + + + + + + + + + + + + + + + + + + +    + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + + +
    + + + + +   + + + + + + copycode.gif + + + + +
    + +
    +
    +
    +
    + +
    + + + + + + + + + {0} + + + + + + + + + + + + + +
    \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl new file mode 100644 index 0000000000..68c58d8f14 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/htmlBody.xsl @@ -0,0 +1,495 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    + + + + + + + +
    + +
    + + + + +
    + + gradient.gif + +
    +
    + + + + + + + + + + +   + + + + + + + + + + + + +   + + + + + +   + + + + + + + + + + + +   + + + + + + + + constructor + + + + + + + method + + + + + + field + + + + + + property + + + + + + attachedProperty + + + + + + event + + + + + + attachedEvent + + + + + + ExplicitInterfaceImplementation + + + + + + + + + + + + + +   + + + + + + + + + + +   + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + collapse_all.gif + + +   + + +   + + + + + + + + + + + + + + + +
    + + + + + + + + + + + + + +
    + + + + + + +
    +
    + + + +
    + + + + + + + + +
    +
    + + + + + + + dropdown.gif + + +   + + + + + + + + + + + + + + + + + +
    + + + +
    +
    + + +
    + +
    + + +
    +
    + + +
    +
    +
    + + + + + + + dropdown.gif + + +   + + + + + + + + + + + + + + + + + + + dropdown.gif + + +   + + + + + + + + + + +
    + + + +
    +
    +
    +
    + + + + + + + + collapse_all.gif + + + + + + expand_all.gif + + + + + + collapse_all.gif + + + + + expand_all.gif + + + + + dropdown.gif + + + + + dropdownHover.gif + + + + + copycode.gif + + + + + + copycodeHighlight.gif + + + + + + + +
    \ No newline at end of file diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl new file mode 100644 index 0000000000..ae1b9f01c1 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_conceptual.xsl @@ -0,0 +1,570 @@ + + + + + + + + + + + + + + + + + + + false + + + + + + + + <xsl:call-template name="topicTitlePlain"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    + + +
    + +
    + +
    + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + toplevel + + + + + + + + subsection + + + + + + + + + + + + + + + + + + + + + + + + + +
  • + + + + # + + + + +
  • +
    + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl new file mode 100644 index 0000000000..63b9b2fc9e --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_reference.xsl @@ -0,0 +1,539 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + +

    +
    + + + +

    + +   + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + + + + + + + + +

    +
    + + + +
    +

    + +

    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + ValueTitle + + + + + + + + + + + +
    + +
    +
    +
    +
    + +
    + + + + + +
    +
    + +
    +
    + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + no + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    +
    +
    + + + +
    +
    +
    +
    +
    + + + + + + + + + + + +
      + +
    • +   +
    • +
      + +
    • + +
    • +
      +
    +
    +
    +
    +
    + + + + + + + + + + + +

    + +

    +
    + +
    + + + + + + + + + + VBScript + + + kbLangVB + + + CSharp + + + kbLangCPP + + + VJ# + + + kbJScript + + + xml + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl new file mode 100644 index 0000000000..4366aaa7c3 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/main_sandcastle.xsl @@ -0,0 +1,727 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + + + + + + +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + +
    + + + +
    +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + +

    +
    + + + + + + + VBScript + + + VisualBasic + + + CSharp + + + ManagedCPlusPlus + + + JSharp + + + JScript + + + xmlLang + + + html + + + visualbasicANDcsharp + + + XAML + + + other + + + + + + + + + + + + + + + + +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + +
    + + + + + + + + + + + +
    + + + +
    + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + +
      + +
    • +
      +
    +
    + + +
      + +
    1. +
      +
    +
    + + +
    + + + + + + + + + + + + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + + + static + Shared + static + + + + + virtual + Overridable + virtual + + + + + true + True + true + + + + + false + False + false + + + + + abstract + MustInherit + abstract + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    + + + + + + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + alert_note.gif + + + + + + +
    +
    + + +
    + +
    +
    + + + + + + + + + + + + + + + + + + + +

    + + + + collapse_all.gif + + + + +

    + +
    + +
    + +
    + + + + + +

    + +

    + + +
    + + + +

    + +

    +
    + +
    + + + + + + + + + VBScript + + + kbLangVB + + + CSharp + + + kbLangCPP + + + VJ# + + + kbJScript + + + xml + + + html + + + visualbasicANDcsharp + + + other + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/skeleton.xml b/tools/Sandcastle/Presentation/vs2005/transforms/skeleton.xml new file mode 100644 index 0000000000..66040f2147 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/skeleton.xml @@ -0,0 +1,6 @@ + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/skeleton_conceptual.xml b/tools/Sandcastle/Presentation/vs2005/transforms/skeleton_conceptual.xml new file mode 100644 index 0000000000..d7725665b9 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/skeleton_conceptual.xml @@ -0,0 +1,3 @@ + + + diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl new file mode 100644 index 0000000000..a8dce44a30 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_dduexml.xsl @@ -0,0 +1,1363 @@ + + + + + + + + + + + true + true + true + true + true + true + true + + + + + + + + + + + + + + + + + + + + + + + + + + tt_ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    +
    +
    + + + + + + + + + + + + +
    + + + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + +

    + + + + + + + +

    + + + + + + + +

    + + + + + + + + +

    + + + + + + , + + + + +

    + +
    + + + + + + + +
    +
    +
    + + +
    +
    + + + + + VBScript + + + VisualBasic + + + CSharp + + + ManagedCPlusPlus + + + JSharp + + + JScript + + + xmlLang + + + html + + + visualbasicANDcsharp + + + XAML + + + other + + + + + + + + + + + + +
    + +
    +
    +                    
    +                  
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + +
    +
    +
    +
    + + + + + + + + + +
    + +
    +
    + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + + +
    +
    + + +
    + +
    +
    + + + + + + VBScript + + + VisualBasic + + + CSharp + + + ManagedCPlusPlus + + + JSharp + + + JScript + + + xmlLang + + + html + + + visualbasicANDcsharp + + + XAML + + + other + + + + + + + + +
    + + + + + + + + +
    +   +
    +
    +                  
    +                
    +
    +
    +
    + + + + + +
    + +
    + + +
    +
    +
    + + + + + + + + + + + + +
    + + + + + + + +
    + + + + + + alert_note.gif + + + + + + + + + alert_caution.gif + + + + + + + + + alert_security.gif + + + + + + + + + alert_caution.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + + + + + alert_note.gif + + + + + +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + + + + collapse_all.gif + + + + +

    +
    + + +
    +
    + +
    + + +
    +
    +
    +
    + +

    + +

    +
    + + +
    +
    + +

    + +

    +
    + + +
    +
    +
    +
    +
    + + + + +
    + +
    +
    +
    + +
    +
    + + + +

    + +

    +
    +
    + + +
    +
    + + + + + + + + +
      + +
    +
    + +
      + +
    +
    +
    + +
      + +
    +
    +
    +
    + + +
  • +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + null + Nothing + nullptr + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + ; + + + + + + + + + + + ; + + + <ul><li> + </li></ul> + </li><li> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    + +
    +
    + + + + + + +

    + +

    +
    + + + +

    + +

    + +
    +
    + + + +

    + +

    + +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + +
    + +

    + + no + +
    +

    +

    +
    +
    + + + + + + +
    +

    +

    +
    +
    +
    +
    +
    + + + + + + + + + + + + +
    + + + + + +
    +
    +
    + + + + + + + + + + + +

    + + + + collapse_all.gif + + + + + +

    + +
    + + + + +
    + +
    + + + + + +

    + +

    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    + + + + alert_note.gif + + + +
    +

    + + + + + + + + + + | + + + + + +

    +
    +
    +
    + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_metadata.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_metadata.xsl new file mode 100644 index 0000000000..b2bf1ca31c --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_metadata.xsl @@ -0,0 +1,926 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + , + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Members + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + + + + + + + + + + + + + + + + + + + + + + + CSharp + + + C++ + + + JScript + + + VB + + + VBScript + + + VJ# + + + XAML + + + XML + + + + + + + http://schemas.microsoft.com/winfx/2006/xaml/presentation# + N:System.Windows.Controls#N:System.Windows.Documents#N:System.Windows.Shapes#N:System.Windows.Navigation#N:System.Windows.Data#N:System.Windows#N:System.Windows.Controls.Primitives#N:System.Windows.Media.Animation#N:System.Windows.Annotations#N:System.Windows.Annotations.Anchoring#N:System.Windows.Annotations.Storage#N:System.Windows.Media#N:System.Windows.Media.Animation#N:System.Windows.Media.Media3D#N: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl new file mode 100644 index 0000000000..8946e52934 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/utilities_reference.xsl @@ -0,0 +1,1862 @@ + + + + + + + + + + + + false + + + + + + + + + + <xsl:call-template name="topicTitlePlain"/> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + +
    +
    + + + +
    +
    + + + + + + + +
    + + + +
    +
    +
    +
    +
    +
    +
    + + + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + prot + priv + pub + + + + + + ; public + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + CFW.gif + + + + + + + + + xna.gif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + inheritedMember + + + true + + + true + + + netcf + + + + + + + ; public + + + ; protected + + + ; private + + + + ; public + + + + + ; static + + + ; instance + + + + + ; declared + + + ; inherited + + + + + + + + + + prot + priv + pub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Namespaces + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + TopicTitle + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    + +
    + + + +
    + +
    + +
    + + + + + + + + + + VisualBasicDeclaration + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +   + + + + +
    + +
    + + +
    + + + + + + + + + + + + + + + +
    + + + +
    +
    +
    +
    +
    +
    + + + + + public; + + + protected; + + + private; + + + explicit; + + + + + + + + + genericExposedMembersTableText + exposedMembersTableText + + +

    + + + + + + Subgroup + + +

    +
    +
    + + + + + + + + + + + + + + + + method + + + + + + + + operator + + + + + + + + extensionMethod + + + + + + + + field + + + + + + + + property + + + + + + + + attachedProperty + + + + + + + + event + + + + + + + + attachedEvent + + + + + + + + ExplicitInterfaceImplementation + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    +   + + + + +
    +
    +
    + +
    + + + + + + + + unsupported + + + + + + + + + + + + + + + + supported + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + yes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + public; + + + protected; + + + private; + + + explicit; + + + static; + + + declared; + + + inherited; + + + netcfw; + + + xnafw; + + + notNetfw; + + + + + + + + pub + prot + priv + pub + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + method + + + + + operator + + + extension + + + method + + + + + + + + + + + + + + pubinterface.gif + + + + + + + + + + + + + + + + + + + + + + + + + static.gif + + + + + + + + + CFW.gif + + + + + + + + + xna.gif + + + + + + + + + +

    + +   + +
    + + + + + + + + + + + + + + + + + + + + + dll + + + exe + + + + + + + + + + + +    + + + +
    +
    +
    + + +   + + +
    +
    + + + + + + + + + + +

    + + , + +

    + +

    + +

    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + +

    + +

    + + + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + + +
    +
    + + + + + + + + +
    +
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +
    + + + + + + +
    + + + + + + + + + + + + + + + + + + + + + + +
    +
    +
    +
    + +
    +
    +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + . + :: + . + + + + + + + . + . + :: + . + + + + + + + + + + + + . + . + :: + . + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + . + + + + + + + + + . + + + + + + + + + + + + + + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/web_reference.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/web_reference.xsl new file mode 100644 index 0000000000..e18026068d --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/web_reference.xsl @@ -0,0 +1,49 @@ + + + + + + + + + + + + + + + <xsl:call-template name="topicTitlePlain"/> + api/.aspx + + + + + ]]> + + + +

    + + +
    +
    +
    +
    + + + + + + + + + + +
    diff --git a/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl b/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl new file mode 100644 index 0000000000..b49dc63a45 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/transforms/xamlSyntax.xsl @@ -0,0 +1,490 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    + + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + +
    +
    
    +                  
    +                    
    +                      
    +                    
    +                    
    +                    
    +                      
    +                    
    +                  
    +                
    +
    +
    +
    +
    + + + + + + + xamlObjectElementUsageHeading + xamlImplicitCollectionUsageHeading + + + xamlContentElementUsageHeading + xamlPropertyElementUsageHeading + + + xamlAttributeUsageHeading + xamlSyntaxBoilerplateHeading + + + + + + + + + + + + + + + + + + + +
    + +
    + +
    +
    
    +                      
    +                      
    +                    
    +
    +
    +
    +
    + + + + + + + + + + + + + + + + + +
    + +
    +
    +
    +
    +
    +
    +
    + + + + + +

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + , + + + + + + + + + +
    +
    + + diff --git a/tools/Sandcastle/Presentation/vs2005/website/Default.aspx b/tools/Sandcastle/Presentation/vs2005/website/Default.aspx new file mode 100644 index 0000000000..4df4f60328 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/website/Default.aspx @@ -0,0 +1,7 @@ +<%@ Page Language="C#" MasterPageFile="~/site.master" Title="Main Website" %> + + +

    Sandcastle API Web Output Sample

    +

    This is a sample website for hosting content produced by Sandcastle.

    + + diff --git a/tools/Sandcastle/Presentation/vs2005/website/site.css b/tools/Sandcastle/Presentation/vs2005/website/site.css new file mode 100644 index 0000000000..f42efd6db8 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/website/site.css @@ -0,0 +1,76 @@ + +body { + margin: 0; + padding: 0; + font: .7em Verdana, Tahoma, Arial, Helvetica, sans-serif; + min-width: 768px; +} + +#Header { + padding: 10px; + font-size: 2.8em; + font-weight: bold; + border-bottom: solid 2px #888; + margin-bottom: 10px; +} + +#Logo { + width: 48px; + height: 48px; + background: #ccc; + border: solid 1px #888; + float: left; + margin-right: 20px; +} + +.clearFloats { + clear: both; +} + +#Toc { + float: left; + width: 250px; + overflow: hidden; + background: #EFEFF7; + padding: 10px 10px 1000px 10px; +} + +#Main { + margin-left: 300px; + font-size: 140%; +} + + +h1, h2, h3, h4 { + margin: 0; + font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; + word-wrap: break-word; +} + +h1 { + padding-top: 10px; + margin-bottom: 1.2em; + font-size: 1.6em; +} + +h2 { + margin-top: 2.5em; + margin-bottom: 0.6em; + font-size: 1.25em; +} + +h3 { + margin-top: 1.2em; + margin-bottom: 0.3em; + font-size: 1.0em; +} + +p { + margin: 0 0 1.2em 0; + line-height: 140%; +} + +img.toggle { + display: none; +} + diff --git a/tools/Sandcastle/Presentation/vs2005/website/site.master b/tools/Sandcastle/Presentation/vs2005/website/site.master new file mode 100644 index 0000000000..a87aca9064 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/website/site.master @@ -0,0 +1,36 @@ +<%@ Master Language="C#" %> + + + + + + + + + API Documentation + + + + + +
    + +
    + +
    + + +
    + +
    + + +
    + +
    + + diff --git a/tools/Sandcastle/Presentation/vs2005/website/web.config b/tools/Sandcastle/Presentation/vs2005/website/web.config new file mode 100644 index 0000000000..65235d3d88 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/website/web.config @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tools/Sandcastle/Presentation/vs2005/website/web.sitemap b/tools/Sandcastle/Presentation/vs2005/website/web.sitemap new file mode 100644 index 0000000000..bb1575e329 --- /dev/null +++ b/tools/Sandcastle/Presentation/vs2005/website/web.sitemap @@ -0,0 +1,7 @@ + + + + + + + diff --git a/tools/Sandcastle/ProductionTools/AggregateByNamespace.exe b/tools/Sandcastle/ProductionTools/AggregateByNamespace.exe new file mode 100644 index 0000000000..66f7cd8ef9 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/AggregateByNamespace.exe differ diff --git a/tools/Sandcastle/ProductionTools/BuildAssembler.exe b/tools/Sandcastle/ProductionTools/BuildAssembler.exe new file mode 100644 index 0000000000..2816d643e3 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/BuildAssembler.exe differ diff --git a/tools/Sandcastle/ProductionTools/BuildAssemblerLibrary.dll b/tools/Sandcastle/ProductionTools/BuildAssemblerLibrary.dll new file mode 100644 index 0000000000..8ef43591f4 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/BuildAssemblerLibrary.dll differ diff --git a/tools/Sandcastle/ProductionTools/BuildComponents.dll b/tools/Sandcastle/ProductionTools/BuildComponents.dll new file mode 100644 index 0000000000..3e556a0780 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/BuildComponents.dll differ diff --git a/tools/Sandcastle/ProductionTools/ChmBuilder.config b/tools/Sandcastle/ProductionTools/ChmBuilder.config new file mode 100644 index 0000000000..652484e63e --- /dev/null +++ b/tools/Sandcastle/ProductionTools/ChmBuilder.config @@ -0,0 +1,32 @@ + + + + + + + + + + [OPTIONS] + + Compatibility=1.1 or later + Compiled file={0}.chm + Contents file={0}.hhc + Index file={0}.hhk + Default Topic={1} + Full-text search=Yes + Language={2} + Title={0} + + [FILES] + icons\*.gif + art\*.gif + media\*.gif + scripts\*.js + styles\*.css + html\*.htm + [INFOTYPES] + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTools/ChmBuilder.exe b/tools/Sandcastle/ProductionTools/ChmBuilder.exe new file mode 100644 index 0000000000..1896cb178e Binary files /dev/null and b/tools/Sandcastle/ProductionTools/ChmBuilder.exe differ diff --git a/tools/Sandcastle/ProductionTools/CommandLine.dll b/tools/Sandcastle/ProductionTools/CommandLine.dll new file mode 100644 index 0000000000..b569b0a513 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/CommandLine.dll differ diff --git a/tools/Sandcastle/ProductionTools/DBCSFix.exe b/tools/Sandcastle/ProductionTools/DBCSFix.exe new file mode 100644 index 0000000000..bcebc50728 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/DBCSFix.exe differ diff --git a/tools/Sandcastle/ProductionTools/DBCSFix.exe.config b/tools/Sandcastle/ProductionTools/DBCSFix.exe.config new file mode 100644 index 0000000000..c10d8d52e1 --- /dev/null +++ b/tools/Sandcastle/ProductionTools/DBCSFix.exe.config @@ -0,0 +1,15 @@ + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTools/MRefBuilder.config b/tools/Sandcastle/ProductionTools/MRefBuilder.config new file mode 100644 index 0000000000..ba86f4e7bd --- /dev/null +++ b/tools/Sandcastle/ProductionTools/MRefBuilder.config @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTools/MrefBuilder.exe b/tools/Sandcastle/ProductionTools/MrefBuilder.exe new file mode 100644 index 0000000000..e0fe3c736e Binary files /dev/null and b/tools/Sandcastle/ProductionTools/MrefBuilder.exe differ diff --git a/tools/Sandcastle/ProductionTools/SegregateByAssembly.exe b/tools/Sandcastle/ProductionTools/SegregateByAssembly.exe new file mode 100644 index 0000000000..e7632b8a5d Binary files /dev/null and b/tools/Sandcastle/ProductionTools/SegregateByAssembly.exe differ diff --git a/tools/Sandcastle/ProductionTools/SyntaxComponents.dll b/tools/Sandcastle/ProductionTools/SyntaxComponents.dll new file mode 100644 index 0000000000..27e100b374 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/SyntaxComponents.dll differ diff --git a/tools/Sandcastle/ProductionTools/VersionBuilder.exe b/tools/Sandcastle/ProductionTools/VersionBuilder.exe new file mode 100644 index 0000000000..cad3e4dfbf Binary files /dev/null and b/tools/Sandcastle/ProductionTools/VersionBuilder.exe differ diff --git a/tools/Sandcastle/ProductionTools/XslTransform.exe b/tools/Sandcastle/ProductionTools/XslTransform.exe new file mode 100644 index 0000000000..cc234886c3 Binary files /dev/null and b/tools/Sandcastle/ProductionTools/XslTransform.exe differ diff --git a/tools/Sandcastle/ProductionTools/scbuild.ps1 b/tools/Sandcastle/ProductionTools/scbuild.ps1 new file mode 100644 index 0000000000..9438e549c8 --- /dev/null +++ b/tools/Sandcastle/ProductionTools/scbuild.ps1 @@ -0,0 +1,740 @@ +######################################################################################### +# +# scbuild.ps1 -- Generic Sandcastle Build Script +# +# SYNOPSIS +# scbuild.ps1 +# +# OPTIONS +# -BuildAssemblerConfig {file} -- user specified BuildAssembler config file for +# non-website builds. Use -WebBuildConfig to specify the config file for web +# builds. +# Default: The config file specified by the doc model. +# +# -BuildChm, -BuildHxs, -BuildWebsite -- select build target. +# +# -Clean -- remove Sandcastle temporary directory. Use this option to clean up +# temporary files and for a clean build, including framework dependencies. +# +# -Config {file} -- read options from config file. Options specified on the +# command line take precedence over options in the config file. +# +# -Dependencies {files} -- comma separated list of other dependencies (other +# than the framework). +# +# -DxRoot {path} -- alternate DxRoot. Default: DxRoot environment variable. +# +# -Framework {version} -- build depends on framework version specified. Currently +# supported: 2.0, 3.0. Default: no framework dependencies. +# +# -Lcid {version} -- locale ID for help file. Default: 1033 +# +# -Mixin {file} -- PowerShell script that gets loaded after initialization and +# after the doc model has been loaded. It can be used to add functionality +# and to override functions in this script, except Init. +# +# -Name {path-name} -- name of output file (or directory for Website builds). +# Default: The name and location of the first assembly listed. +# +# -Sources {files} -- comma separated list of files that should be added to the +# output, both assemblies and related comment files. To build, you must +# specify at least one assembly and comment file. +# +# -Style {name} -- name of supported presentation style. Default: vs2005. +# +# -TempDir {path} -- alternate location for the Sandcastle temporary directory. +# Default: .\SandcastleTemp +# +# -WebBuildConfig {file} -- user specified BuildAssembler config file for website +# builds. Default: The config file specified by the doc model. +# +# -WebTemplate (path) -- all files from the folder will be copied to the website +# output directory. Default: The website folder underneath the selected +# presentation folder, $env:DxRoot\Presentation\$Style\website\* +# +# EXAMPLE +# To build a help file for the assembly named test.dll, compile your project +# with comment file generation. Then with the files test.dll and comments.xml, +# run the following command. The help file will be named test.chm. +# +# scbuild -framework 2.0 -sources test.dll,comments.xml -BuildChm +# +# To build a website use: +# scbuild -framework 2.0 -sources test.dll,comments.xml -BuildWebsite +# +# PREREQUISITES +# - Sandcastle +# - .NET 2.0 +# - PowerShell 1.0 +# - hhc.exe -- to compile CHM files +# - hxcomp.exe -- to compile HxS files +# +######################################################################################### + +param ( + # Actions + [Switch]$BuildChm, + [Switch]$BuildHxS, + [Switch]$BuildWebsite, + [Switch]$Clean, + [Switch]$Test, + + # Resources, Folders, Options + [String]$BuildAssemblerConfig, + [String]$Config, + [Object[]]$Dependencies, + [String]$DxRoot, + [String]$Framework, + [String]$Lcid, + [String]$Mixin, + [String]$Name, + [Object[]]$Sources, + [String]$Style, + [String]$TempDir, + [String]$WebBuildConfig, + [String]$WebTemplate +) + +# +# Framework locations. +# +$FrameworkDirs = @{ + "2.0" = "$env:SystemRoot\Microsoft.NET\Framework\v2.0.50727"; + "3.0" = "$env:SystemRoot\Microsoft.NET\Framework\v2.0.50727", + "$env:SystemRoot\Microsoft.NET\Framework\v3.0", + "$env:ProgramFiles\Reference Assemblies\Microsoft\Framework\v3.0"; + "3.5" = "$env:SystemRoot\Microsoft.NET\Framework\v2.0.50727", + "$env:SystemRoot\Microsoft.NET\Framework\v3.0", + "$env:ProgramFiles\Reference Assemblies\Microsoft\Framework\v3.0", + "$env:SystemRoot\Microsoft.NET\Framework\v3.5", + "$env:ProgramFiles\Reference Assemblies\Microsoft\Framework\v3.5"; +} + + +# +# Init -- Process command line options and config file. Options specified on the command +# line override the options specified in the config file. Reasonable defaults are used +# if we can guess. Also, some rudimentary error checking. +# +function Init { + # Sync .NET current directory with PowerShell (required for [String]::GetFullPath()) + [IO.Directory]::SetCurrentDirectory($pwd) + + # Read options from the config file. + if ($Config) { + if (test-path $Config) { + . $Config + } + else { + FatalError "Config file does not exist: $Config" + } + } + + # Initialize options: Config file takes precedence over defaults; command line + # takes precedence over config file. Also, perform some basic sanity checks + # before spending a lot of time in the build script. + + InitOption DxRoot $env:DxRoot + if (-not $Script:DxRoot) { + FatalError "You must specify a value for DxRoot. It should point to the root folder of your Sandcastle installation." + } + $Script:MrefBuilder = "$($Script:DxRoot)\ProductionTools\MrefBuilder.exe" + $Script:XslTransform = "$($Script:DxRoot)\ProductionTools\XslTransform.exe" + $Script:BuildAssembler = "$($Script:DxRoot)\ProductionTools\BuildAssembler.exe" + $Script:ChmBuilder = "$($Script:DxRoot)\ProductionTools\ChmBuilder.exe" + $Script:DBCSFix = "$($Script:DxRoot)\ProductionTools\DBCSFix.exe" + + if (-not (test-path $Script:MrefBuilder)) { + FatalError "DxRoot does not point to a valid Sandcastle installation: $($DxRoot))" + } + + # Make sure we have the help compiler if we're building a CHM. + if ($BuildChm -and -not (get-command hhc)) { + WriteInfo 'No help compiler found. Make sure hhc.exe is installed and in your PATH varaible.' + WriteInfo 'You can download hhc from: http://msdn2.microsoft.com/en-us/library/ms669985.aspx' + FatalError 'Cannot proceed without a help compiler.' + } + $Script:HHC = "hhc" + + # Make sure we have hxcomp.exe if we're building a HxS. + if ($BuildHxS -and -not (get-command hxcomp)) { + WriteInfo 'HxS compiler not found. Make sure hxcomp.exe is installed and in your PATH variable.' + WriteInfo 'You can download hxcomp from: http://www.microsoft.com/downloads/details.aspx?FamilyID=51a5c65b-c020-4e08-8ac0-3eb9c06996f4&DisplayLang=en' + FatalError 'Cannot proceed without hxcomp.exe.' + } + $Script:HxComp = "hxcomp" + + InitOption Clean $false + InitOption BuildChm $false + InitOption BuildHxS $false + InitOption BuildWebSite $false + InitOption Test $false + if (-not ($Clean -or $BuildChm -or $BuildHxs -or $BuildWebsite -or $Test)) { + FatalError "You must specify a build action: -Clean, -BuildChm, -BuildHxs, -BuildWebsite." + } + + InitOption Dependencies @() + $Script:Dependencies = ExpandWildcards $Script:Dependencies + + InitOption Framework "" + if ($Script:Framework -and (-not $FrameworkDirs[$Script:Framework])) { + FatalError "Unknown framework version: $($Script:Framework)" + } + + InitOption Lcid "1033" + + InitOption Mixin "" + + InitOption Name "" + + InitOption Style vs2005 + if ($Script:Style -and -not (test-path "$Script:DxRoot\Presentation\$($Style)\DocModel.ps1")) { + FatalError "Unknown presentation style: $($Script:Style)" + } + + InitOption BuildAssemblerConfig "$DxRoot\Presentation\$Style\Configuration\sandcastle-scbuild.config" + $Script:BuildAssemblerConfig = [IO.Path]::GetFullPath($Script:BuildAssemblerConfig) + + InitOption WebBuildConfig "$DxRoot\Presentation\$Style\Configuration\sandcastle-webref.config" + $Script:WebBuildConfig = [IO.Path]::GetFullPath($Script:WebBuildConfig) + + InitOption Sources @() + $Script:Sources = ExpandWildcards $Script:Sources + if ($Script:Sources) { + $Script:Comments = @() + $Script:Targets = @() + foreach ($src in $Script:Sources) { + switch -regex ($src) { + '.*\.xml$' { + $Script:Comments += $src + } + '.*\.(dll|exe)$' { + $Script:Targets += $src + } + default { + FatalError "Unknown source file type: $src" + } + } + } + } + + InitOption TempDir "." + $Script:TempDir = [IO.Path]::GetFullPath("$($Script:TempDir)\SandcastleTemp") + + if ($BuildChm -or $BuildHxS -or $BuildWebsite) { + if (-not $Targets) { + FatalError "To generate documentation, you must specify one or more target assemblies." + } + if (-not $Comments) { + FatalError "To generate documentation, you must specify one or more comments files." + } + } + + if (-not $Script:Name -and $Script:Targets) { + $Script:Name = [IO.Path]::ChangeExtension($Script:Targets[0].FullName, '') + } + + if ($Script:Name) { + $sn = [IO.Path]::GetFullPath($Script:Name) + $Script:Name = [IO.Path]::GetFileNameWithoutExtension($sn) + $Script:OutputDir = [IO.Path]::GetDirectoryName($sn) + } + + $Script:WebOutputDir = "$($Script:OutputDir)\$($Script:Name)_website" + + InitOption WebTemplate "$DxRoot\Presentation\$Style\website" + $Script:WebTemplate = [IO.Path]::GetFullPath($Script:WebTemplate) +} + + +# +# Run Actions +# +function Run { + WriteInfo 'Sandcastle build...' + + if ($BuildWebsite -and -not $DocModelSupportsWebBuild) { + FatalError "The '$Style' style does not support web builds." + } + + if ($Test) { + Test + exit 0 + } + + if ($Clean) { + Clean -all + } + elseif ($BuildChm -or $BuildHxs -or $BuildWebsite) { + Clean + } + + if ($BuildChm -or $BuildHxS -or $BuildWebsite) { + MakeSandcastleDirs + } + + if ($BuildChm) { + BuildChm + } + + if ($BuildHxS) { + BuildHxs + } + + if ($BuildWebsite) { + BuildWebsite + } +} + + +# +# Clean Out Generated Content +# +function Clean { + param ( + [Switch]$All + ) + if ($TempDir -match '.*(\\|/)SandcastleTemp$') { + if (test-path $TempDir) { + WriteInfo "Cleaning up temporary files." + if ($All) { + SafeDelete $TempDir + } + else { + SafeDelete $TempDir\ReflectionData\*.xml + SafeDelete $TempDir\ReflectionData\Dependencies + SafeDelete $TempDir\Output + SafeDelete $TempDir\Chm + SafeDelete $TempDir\Intellisense + SafeDelete $TempDir\Comments + SafeDelete $TempDir\TopicInfo + } + SafeDelete $WebOutputDir + } + } + else { + FatalError "Cannot clean up temporary files, because the path name does not end in 'SandcastleTemp' as expected.`n+ Name: $TempDir" + } +} + + +# +# MakeSandcastleDirs +# +function MakeSandcastleDirs { + MakePath $TempDir\ReflectionData\Framework + MakePath $TempDir\ReflectionData\Dependencies + MakePath $TempDir\Comments + MakePath $TempDir\Output + MakePath $TempDir\TopicInfo +} + + +# +# Build CHM File +# +function BuildChm { + WriteInfo "Building CHM file..." + GenerateReflectionData + GenerateManifest + CreateOutputTemplate + CopyComments + RunBuildAssembler $BuildAssemblerConfig + CreateToc + CreateChmTemplate + CreateChmProject + CompileHelpProject + CopyChmToOutputDir +} + + +# +# Build HxS File +# +function BuildHxs { + WriteInfo "Building HxS file..." + if (-not (test-path "$TempDir\ReflectionData\targets.xml")) { + GenerateReflectionData + GenerateManifest + CreateOutputTemplate + CopyComments + RunBuildAssembler $BuildAssemblerConfig + CreateToc + } + CreateHxsTemplate + CreateHxsToc + CreateHxsProject + CompileHxsProject + CopyHxsToOutputDir +} + + +# +# Build MSDN Style Website +# +function BuildWebsite { + WriteInfo "Building website..." + if (-not (test-path "$TempDir\ReflectionData\targets.xml")) { + GenerateReflectionData + GenerateManifest + CopyComments + CreateToc + } + CreateWebsiteTemplate + RunBuildAssembler $WebBuildConfig + CreateSitemap +} + + +# +# Generate reflection data if the current style does not match the style the caller is +# looking for. +# +function GenerateReflectionData { + $fdirs = $($FrameworkDirs[$Framework]) + if ($fdirs -is [String]) { + $fdirs = @($fdirs) + } + foreach ($fdir in $fdirs) { + GenerateDependencyReflectionData (get-childitem -r -include "*.dll" $fdir) $TempDir\ReflectionData\Framework + } + GenerateDependencyReflectionData $Dependencies "$TempDir\ReflectionData\Dependencies" + GenerateTargetReflectionData $Targets "$TempDir\ReflectionData\targets.xml" +} + + +# +# GenerateDependencyReflectionData - generates reflection data for framework and other +# dependencies. The data is used as is from MrefBuilder. No post processing occurs. The +# file is generated only if the output doesn't exist already. +# +function GenerateDependencyReflectionData($assemblies, $outputDir) { + if ($assemblies -is [String]) { + $assemblies = ExpandWildcards $assemblies + } + if ($assemblies) { + foreach ($pn in $assemblies) { + $outputFile = "$outputDir\$([IO.Path]::ChangeExtension($pn.Name, '.xml'))" + if (-not (test-path $outputFile)) { + GenerateTargetReflectionData $pn $outputFile + copy-item -ea SilentlyContinue $([IO.Path]::ChangeExtension($pn.FullName, '.xml')) $TempDir\Comments + } + } + } +} + + +# +# GenerateTargetReflectionData - generates a reflection data file for the target +# assemblies. The data for all target assemblies is combined into a single file and then +# post processed using different transforms depending on doc style. +# +function GenerateTargetReflectionData($assemblies, $outputFile) { + if ($assemblies -is [String]) { + $assemblies = ExpandWildcards $assemblies + } + WriteInfo "Generate reflection data for: $assemblies" + $targetFiles = [String]::Join(" ", ($assemblies | foreach {"`"$_`""})) + $tmpName = "$TempDir\tmp.xml" + &$MrefBuilder $targetFiles /out:$tmpName + PostProcessReflectionData $tmpName $outputFile + SafeDelete $tmpName +} + +# +# PostProcessReflectionData sub -- the Doc Model implementation should run any post processing +# transforms required. +# +function PostProcessReflectionData { + FatalError "Doc Model must define a PostProcessReflectionData function." +} + + +# +# GenerateManifest() -- creates a manifest from the reflection data. This requires +# all of the reflection data in a single XML file. +# +function GenerateManifest { + WriteInfo "Generating manifest..." + &$XslTransform $TempDir\ReflectionData\targets.xml ` + /xsl:$DxRoot\ProductionTransforms\ReflectionToManifest.xsl ` + /out:$TempDir\manifest.xml +} + + +# +# CreateToc -- an override for this function is defined in DocModel.ps1. It should +# create a TOC file from the reflection data. +# +function CreateToc { + FatalError "Doc Model must define a CreateToc function." +} + + +# +# RunBuildAssembler +# +function RunBuildAssembler($configFile) { + $env:DxTempDir = $TempDir + $env:DxWebOutputDir = $WebOutputDir + &$BuildAssembler $TempDir\manifest.xml ` + /config:$configFile +} + +# +# CreateChmTemplate stub -- an override for this function is defined in DocModel.ps1. It +# creates a template for the build. +# +function CreateChmTemplate { + FatalError "Doc Model must define a CreateChmTemplate function." +} + + +# +# CreateHxsTemplate stub -- the override for this function defined in DocModel.ps1 +# creates a template needed for the HxS build. +# +function CreateHxsTemplate { + FatalError "Doc Model must define a CreateHxsTemplate function." +} + + +# +# CreateChmProject +# +function CreateChmProject { + WriteInfo "Creating CHM project file." + &$ChmBuilder /project:$Name /html:$TempDir\Output\html /lcid:$Lcid /toc:$TempDir\toc.xml /out:$TempDir\chm + + if ($Style -eq "prototype") { + &$XslTransform $TempDir\ReflectionData\targets.xml ` + /xsl:$DxRoot\ProductionTransforms\ReflectionToChmIndex.xsl ` + /out:"$TempDir\chm\$($Name).hhk" + } + + &$DBCSFix /d:$TempDir\chm /l:$Lcid +} + + +# +# CopyComments +# +function CopyComments { + WriteInfo "Copying comments..." + foreach ($pn in $Comments) { + WriteInfo "+ $pn" + copy-item $pn $TempDir\Comments + } +} + + +# +# CompileHelpProject +# +function CompileHelpProject { + WriteInfo "Compiling help project." + &$HHC $TempDir\chm\$Name.hhp +} + + +# +# CopyChmToOutputDir +# +function CopyChmToOutputDir { + WriteInfo "Copying CHM file to output directory: $OutputDir" + MakePath $OutputDir + copy-item -force "$TempDir\chm\$($Name).chm" $OutputDir +} + + +# +# CreateHxsToc +# +function CreateHxsToc { + WriteInfo "Creating HXS TOC file." + &$XslTransform $TempDir\toc.xml ` + /xsl:$DxRoot\ProductionTransforms\TocToHxSContents.xsl ` + /out:"$TempDir\Output\$($Name).HxT" +} + + +# +# CreateHxsProject +# +function CreateHxsProject { + WriteInfo "Creating HxS project." + &$XslTransform $TempDir\toc.xml ` + /xsl:$DxRoot\ProductionTransforms\CreateHxC.xsl ` + /arg:"fileNamePrefix=$($Name)" ` + /out:"$TempDir\Output\$($Name).HxC" +} + + +# +# CompileHxsProject +# +function CompileHxsProject { + WriteInfo "Compiling help project." + &$HxComp -p $TempDir\Output\$Name.HxC +} + + +# +# CopyHxsToOutputDir +# +function CopyHxsToOutputDir { + WriteInfo "Copying HxS file to output directory: $OutputDir" + MakePath $OutputDir + copy-item -force "$TempDir\Output\$($Name).HxS" $OutputDir +} + + +# +# Test -- show options. +# +function Test { + echo "*** TEST ONLY ***" + echo "+ Clean: $Clean" + echo "+ BuildChm: $BuildChm" + echo "+ BuildHxs: $BuildHxs" + echo "+ BuildWebsite: $BuildWebsite" + echo "---" + echo "+ BuildAssemblerConfig: $BuildAssemblerConfig" + echo "+ [Comments]: $Comments" + echo "+ Config: $Config" + echo "+ Dependencies: $Dependencies" + echo "+ DxRoot: $DxRoot" + echo "+ Lcid: $Lcid" + echo "+ Mixin: $Mixin" + echo "+ Framework: $Framework -> $($FrameworkDirs[$Script:Framework])" + echo "+ Mixin: $Mixin" + echo "+ Name: $Name" + echo "+ [OutputDir]: $OutputDir" + echo "+ Sources: $Sources" + echo "+ Style: $Style" + echo "+ [Targets]: $Targets" + echo "+ TempDir: $TempDir" + echo "+ WebOutputDir: $WebOutputDir" + echo "+ WebBuildConfig: $WebBuildConfig" + echo "+ WebTemplate: $WebTemplate" +} + + +#======================================================================================== +# Utility Functions +#======================================================================================== + +# +# Init option from config file or default, if not specified on the command line. +# +function InitOption($_name_, $_default_ = $null) { + $_v_ = get-variable -scope script -name $_name_ -value + if (-not $_v_) { + $_v_ = get-variable -scope local -name $_name_ -value -ea SilentlyContinue + if (-not $_v_) { + $_v_ = $_default_ + } + set-variable -scope script -name $_name_ -value $_v_ + } +} + + +# +# Expand wildcard characters in file names and return array of path names. +# +function ExpandWildcards($spec) { + if ($spec -is [String]) { + return get-childitem $spec + } + elseif ($spec -is [System.Collections.IEnumerable]) { + $r = @() + foreach ($s in $spec) { + $r += (get-childitem $s) + } + return $r + } + else { + return @() + } +} + + +# +# SafeDelete - this function attempts to deal with temporary file locks being held +# by other programs on the files we're trying to delete. +# +# NOTE: This function is *EXPERIMENTAL*. It does not time out and does not +# distinguish between locking related errors and everything else that might cause a +# permanent failure. +# +function SafeDelete($path) { + $n = 0 + while (test-path $path) { + if ($n -gt 0) { + start-sleep -m 100 + } + remove-item -r -force -ea SilentlyContinue $path + $n++ + if (-not ($n % 10)) { + WriteWarning "Waiting to delete $path ($([int]($n / 10)))" + } + } +} + + +# +# MakePath - create specified path unless it exists already. +# +function MakePath($path) { + if (-not (test-path $path)) { + [void](mkdir $path) + } +} + + +function WriteInfo { + foreach ($arg in $Args) { + echo "$arg" + } +} + + +function WriteDebug { + foreach ($arg in $Args) { + echo "DEBUG: $arg" + } +} + + +function WriteWarning { + foreach ($arg in $Args) { + echo "WARNING: $arg" + } +} + + +function FatalError { + foreach ($arg in $Args) { + echo "ERROR: $arg" + } + exit 1 +} + + +#======================================================================================== +# Init and Run Actions +#======================================================================================== + +Init +. $DxRoot\Presentation\$Style\DocModel.ps1 + + +# +# Load user mix-ins. +# +if ($Mixin) { + WriteInfo "Loading user mixins from: $Mixin" + . $Mixin +} + +Run \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/AddFriendlyFilenames.xsl b/tools/Sandcastle/ProductionTransforms/AddFriendlyFilenames.xsl new file mode 100644 index 0000000000..4873c00b5a --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/AddFriendlyFilenames.xsl @@ -0,0 +1,97 @@ + + + + + + ', '_'); + + if (fileName.IndexOf(".#ctor") != -1 && fileName.IndexOf("Overload") == -1) + { + fileName = "C_" + fileName.Substring(2); + fileName = fileName.Replace(".#ctor", ".ctor"); + } + else if (fileName.IndexOf(".#ctor") != -1 && fileName.IndexOf("Overload") != -1) + { + fileName = fileName.Replace("Overload", "O_T"); + fileName = fileName.Replace(".#ctor", ".ctor"); + } + else if (fileName.IndexOf(".#cctor") != -1 && fileName.IndexOf("Overload") == -1) + { + fileName = "C_" + fileName.Substring(2); + fileName = fileName.Replace(".#cctor", ".cctor"); + } + else if (fileName.IndexOf(".#cctor") != -1 && fileName.IndexOf("Overload") != -1) + { + fileName = fileName.Replace("Overload", "O_T"); + fileName = fileName.Replace(".#cctor", ".cctor"); + } + else if (fileName.IndexOf("Overload") != -1) + { + fileName = fileName.Replace("Overload", "O_T"); + } + + fileName = fileName.Replace('.', '_').Replace('#', '_'); + + int paramStart = fileName.IndexOf('('); + if(paramStart != -1) + { + fileName = fileName.Substring(0, paramStart) + GenerateParametersCode(id.Substring(paramStart)); + } + + return fileName; + } + + private static string GenerateParametersCode(string parameterSection) + { + // TODO: figure out a consistent algorithm that works regardless of runtime version + int code = parameterSection.GetHashCode(); + + int parameterCount = 1; + + for(int count = 0; count < parameterSection.Length; count += 1) + { + int c = (int) parameterSection[count]; + + if(c == ',') + ++parameterCount; + } + + // format as (# of parameters)_(semi-unique hex code) + return string.Format("_{1}_{0:x8}", code, parameterCount); + } + ]]> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/AddGuidFilenames.xsl b/tools/Sandcastle/ProductionTransforms/AddGuidFilenames.xsl new file mode 100644 index 0000000000..f6dcd0b4d0 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/AddGuidFilenames.xsl @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/AddXamlSyntaxData.xsl b/tools/Sandcastle/ProductionTransforms/AddXamlSyntaxData.xsl new file mode 100644 index 0000000000..e0c7ecdab7 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/AddXamlSyntaxData.xsl @@ -0,0 +1,141 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/ApplyPrototypeDocModel.xsl b/tools/Sandcastle/ProductionTransforms/ApplyPrototypeDocModel.xsl new file mode 100644 index 0000000000..c22626a156 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ApplyPrototypeDocModel.xsl @@ -0,0 +1,259 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Overload: + + . + + + + diff --git a/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl b/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl new file mode 100644 index 0000000000..18b3aa3b67 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ApplyVSDocModel.xsl @@ -0,0 +1,767 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + DerivedTypes. + + + + + + + + + + + + + + + + + + + + AllMembers. + + + + + + + + + + + + + + + + + + + + + method + Methods + + + + + + + + property + Properties + + + + + + event + Events + + + + + + field + Fields + + + + + + attachedProperty + AttachedProperties + + + + + + attachedEvent + AttachedEvents + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ; + + + + + + + + + + + false + + + + + + + + + + + + ctor + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/CreateHxC.xsl b/tools/Sandcastle/ProductionTransforms/CreateHxC.xsl new file mode 100644 index 0000000000..a3d1c5b3ff --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/CreateHxC.xsl @@ -0,0 +1,38 @@ + + + + + + + + + test + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/CreatePrototypeToc.xsl b/tools/Sandcastle/ProductionTransforms/CreatePrototypeToc.xsl new file mode 100644 index 0000000000..b02df2e983 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/CreatePrototypeToc.xsl @@ -0,0 +1,142 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Overload: + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl new file mode 100644 index 0000000000..afec23d5eb --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/CreateVSToc.xsl @@ -0,0 +1,207 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl b/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl new file mode 100644 index 0000000000..da42b4bc85 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/DsManifestToManifest.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/DsTocToManifest.xsl b/tools/Sandcastle/ProductionTransforms/DsTocToManifest.xsl new file mode 100644 index 0000000000..be4149fd84 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/DsTocToManifest.xsl @@ -0,0 +1,23 @@ + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/DsTocToSitemap.xsl b/tools/Sandcastle/ProductionTransforms/DsTocToSitemap.xsl new file mode 100644 index 0000000000..5440d5af75 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/DsTocToSitemap.xsl @@ -0,0 +1,88 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/DsTocToToc.xsl b/tools/Sandcastle/ProductionTransforms/DsTocToToc.xsl new file mode 100644 index 0000000000..fdf799fb3e --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/DsTocToToc.xsl @@ -0,0 +1,33 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/FixScriptSharp.xsl b/tools/Sandcastle/ProductionTransforms/FixScriptSharp.xsl new file mode 100644 index 0000000000..c375c78f84 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/FixScriptSharp.xsl @@ -0,0 +1,87 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl b/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl new file mode 100644 index 0000000000..3ac0b0127c --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/MergeDuplicates.xsl @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/MergeHxF.xsl b/tools/Sandcastle/ProductionTransforms/MergeHxF.xsl new file mode 100644 index 0000000000..7452eb349b --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/MergeHxF.xsl @@ -0,0 +1,28 @@ + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/ReflectionToCDocML.xsl b/tools/Sandcastle/ProductionTransforms/ReflectionToCDocML.xsl new file mode 100644 index 0000000000..57112f8166 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ReflectionToCDocML.xsl @@ -0,0 +1,845 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + true + + + + + + false + true + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + false + + + + + + + + + + + + + + + false + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + SequentialLayout + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + + + false + + + + + false + + + false + + + + + + + + + + + + + + + + + + + + + true + + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + true + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + + + + + + + + + + + + + + + + + + + Public + + + Family + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/ProductionTransforms/ReflectionToChmIndex.xsl b/tools/Sandcastle/ProductionTransforms/ReflectionToChmIndex.xsl new file mode 100644 index 0000000000..6e7aa7072e --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ReflectionToChmIndex.xsl @@ -0,0 +1,77 @@ + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML/EN"> + <HTML> + <BODY> + <UL> + + + + </UL> + </BODY> + </HTML> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <LI><OBJECT type="text/sitemap"> + <param name="Name" value=""> + <param name="Local" value="html/.htm"> + </OBJECT><LI> + + + + diff --git a/tools/Sandcastle/ProductionTransforms/ReflectionToChmProject.xsl b/tools/Sandcastle/ProductionTransforms/ReflectionToChmProject.xsl new file mode 100644 index 0000000000..cde5a36900 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ReflectionToChmProject.xsl @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + + + + + + + + + [OPTIONS] + Compatibility=1.1 or later + Compiled file=.chm + Contents file=.hhc + Index file=.hhk + Default Topic=html/.htm + + Full-text search=Yes + Language=0x409 English (United States) + Title= + + [FILES] + icons\*.gif + art\*.gif + media\*.gif + scripts\*.js + styles\*.css + html\*.htm + + [INFOTYPES] + + + diff --git a/tools/Sandcastle/ProductionTransforms/ReflectionToManifest.xsl b/tools/Sandcastle/ProductionTransforms/ReflectionToManifest.xsl new file mode 100644 index 0000000000..b12d480e3b --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/ReflectionToManifest.xsl @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/TocToChmContents.xsl b/tools/Sandcastle/ProductionTransforms/TocToChmContents.xsl new file mode 100644 index 0000000000..82e034a1e6 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/TocToChmContents.xsl @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML/EN"> + <HTML> + <BODY> + + </BODY> + </HTML> + + + + + + + + + + <UL> + + + </UL> + + + + + + ]]> + + <param name="Name" value=" + + "> + + <param name="Local" value="html\ + + .htm"> + + ]]> + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/TocToHxsContents.xsl b/tools/Sandcastle/ProductionTransforms/TocToHxsContents.xsl new file mode 100644 index 0000000000..44a44844d7 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/TocToHxsContents.xsl @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/ProductionTransforms/Vs2005TocToDsToc.xsl b/tools/Sandcastle/ProductionTransforms/Vs2005TocToDsToc.xsl new file mode 100644 index 0000000000..2868a29059 --- /dev/null +++ b/tools/Sandcastle/ProductionTransforms/Vs2005TocToDsToc.xsl @@ -0,0 +1,41 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Schemas/Authoring/__internal.xsd b/tools/Sandcastle/Schemas/Authoring/__internal.xsd new file mode 100644 index 0000000000..7a278df163 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/__internal.xsd @@ -0,0 +1,98 @@ + + + + + + + This schema defines elements that are used to mark + items in another schema with extra information. These + elements can be put into annotation/appinfo sections. + + + + + + + Describes the localizability of the text content + in the element to which this tag has been applied. + This tag has nothing to say about child elements of the + element to which this tag has been applied. + + + + + + + + The element contains text and that text + needs to be considered for localization. + + + + + + + The element contains text but that text + does not need to be considered for localization. + + + + + + + The element does not contain text, so there is nothing that + can be localized. + + + + + + + + + + + Describes the general use of an element within the + document. + + + + + + + + The element defines a section of a document. + + + + + + + The element provides some structure in the context of its parent section. + + + + + + + The element is equivalent to a paragraph. + + + + + + + The element contains one or more characters within a paragraph. + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/base.xsd b/tools/Sandcastle/Schemas/Authoring/base.xsd new file mode 100644 index 0000000000..dfb8e928fa --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/base.xsd @@ -0,0 +1,220 @@ + + + + + + + + This schema defines attributes and simpleTypes that can be referenced + from any other part of Maml. + + + + + + + + + + The mediaFileFormatsType simpleType provides a list of commonly + used media formats. + + + + + + + + + + + + + + + + + + + + + + + + The alertTypesType simpleType provides a list of the various types + of alerts that can be used to describe alerts. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The contentFlavourGroup attribute group provides a set of attributes for describing the + general flavour of content. + + + + + + + The language attribute describes the natural language of a particular part of a document. + + + This attribute should eventually use a simpleType that provides the list of natural languages. + + + + + + + + The userLevel attribute describes the level of user that is appropriate for a + particular part of a document. The level may map to personas or to levels of + knowledge. + + + + + + + + The technology attribute describes one or more technologies to which the + content applies. + + + + + + + + The class attribute is used to select the type of content. + + + + + + + + + + + + + + + + + + + + + + + + + + + The address attribute describes the attached content with a unique ID/GUID/URI that + can be referenced for sharing, hyperlinking or other purposes. + + + + + + + + + The contentIdentificationSharingAndConditionGroup provides a set of attributes for + identifying content and for marking it for sharing and conditional filtering. + + + + + + + + + + + + + + + + + + This type includes the common attributes and allows character data. + + + + + + + + + + + + + The emptyType type is intended for empty element w/o attributes. + There is no schema type for empty. + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/baseConditional.xsd b/tools/Sandcastle/Schemas/Authoring/baseConditional.xsd new file mode 100644 index 0000000000..b0ee03aacb --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/baseConditional.xsd @@ -0,0 +1,234 @@ + + + + + + + This schema describes MAML, the Microsoft Assistance Markup Language. + MAML is intended for software documentation. In particular, it is + intended to accomodate the needs of Microsoft documentation. + + + The schema is broken into three main areas: end user, developer and + IT Pro. These areas adequaltely categorize Microsoft + documentation. + + + The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5. + Each backwards-incompatible revision to Maml will require that the date fields be appropriately + incremented in uri of the updated version of the Maml schema. + + + + + + This portion of the schema was created by alexstoc in April 2003. + + + + + + + + + + + + + + + This element is used to hold a programming language. + + + false + paragraph + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element holds the identifier for a platform (such as an operating system version). + + + false + paragraph + + + + + + + + + + + + + + + + + + + + + This element holds the identifier for a platform used in conditional markup. + + + false + paragraph + + + + + + + + + + + + + + + + + + + + + + + + This element holds the identifier for a medium used in conditional markup. + + + false + paragraph + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element holds the identifier for a user-defined condition used in conditional markup. + + + false + paragraph + + + + + + + + + + + + + + This element is a collection of platform elements. + + + n/a + structure + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/block.xsd b/tools/Sandcastle/Schemas/Authoring/block.xsd new file mode 100644 index 0000000000..ab87271c6d --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/block.xsd @@ -0,0 +1,42 @@ + + + + + + + This schema definition defines block inline types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + + The block complexType describes a simple block-only + content model. It is intended as the content + model for structural elements. + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/blockCommon.xsd b/tools/Sandcastle/Schemas/Authoring/blockCommon.xsd new file mode 100644 index 0000000000..58caa7d704 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/blockCommon.xsd @@ -0,0 +1,169 @@ + + + + + + + This schema definition defines block inline types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + The para element describes a paragraph. It is the most basic + documentation unit. + + + true + paragraph + + + + + + + + The title element describes the name of a part of the document. + + + true + paragraph + + + + + + + + The title element describes the name of a part of the document. + + + true + paragraph + + + + + + + + The title element describes the name of a part of the document. + + + false + paragraph + + + + + + + + The alert element describes an slim alert structure + that largely mimicks the block alert structure. + + + n/a + structure + + + + + + + + The class attribute describes the type of alert. + + + + + + + + + + + The quote element describes a quotation. + + + true + paragraph + + + + + + + + This element is replaced at build time by the shared content + to which it refers using the parameters provided by the user. + The parameters can be simple text or can include XML markup. + In most cases the parameter values will not be localizable content. + + + n/a + paragraph + + + + + + + + This element contains an introduction to some + piece of documentation. + + + n/a + section + + + + + + + + This element holds a general discussion. + + + n/a + section + + + + + + + + This element holds a conclusion to some piece + of documentation. + + + n/a + section + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/blockSoftware.xsd b/tools/Sandcastle/Schemas/Authoring/blockSoftware.xsd new file mode 100644 index 0000000000..dce4d7b19a --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/blockSoftware.xsd @@ -0,0 +1,112 @@ + + + + + + + This schema definition defines block inline types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + The code element describes a code fragment. + + + false + paragraph + + + + + + + + + + + The comment element allows for the description of code/developer + comments within a code block. + + + true + paragraph + + + + + + + + + The language attribute describes the programming language used in a code sample or + some other programattic structure. + + + + + + + + + + + + + + + + + + + + + + This element holds a reference to a block of code. + + + false + paragraph + + + + + + + + + + + + + + + The computerOutput element describes UI or console output. + + + true + paragraph + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/conditionSet.xsd b/tools/Sandcastle/Schemas/Authoring/conditionSet.xsd new file mode 100644 index 0000000000..8e963d69f8 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/conditionSet.xsd @@ -0,0 +1,63 @@ + + + + + + + This schema describes MAML, the Microsoft Assistance Markup Language. + MAML is intended for software documentation. In particular, it is + intended to accomodate the needs of Microsoft documentation. + + + The schema is broken into three main areas: end user, developer and + IT Pro. These areas adequaltely categorize Microsoft + documentation. + + + The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5. + Each backwards-incompatible revision to Maml will require that the date fields be appropriately + incremented in uri of the updated version of the Maml schema. + + + + + + + + + + + + + + + + + + + + + + This element is used to hold a set of conditions. + + + n/a + section + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/developer.xsd b/tools/Sandcastle/Schemas/Authoring/developer.xsd new file mode 100644 index 0000000000..039fbcb337 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/developer.xsd @@ -0,0 +1,585 @@ + + + + + + This schema describes MAML, the Microsoft Assistance Markup Language. + MAML is intended for software documentation. In particular, it is + intended to accomodate the needs of Microsoft documentation. + + + The schema is broken into three main areas: end user, developer and + IT Pro. These areas adequaltely categorize Microsoft + documentation. + + + The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5. + Each backwards-incompatible revision to Maml will require that the date fields be appropriately + incremented in uri of the updated version of the Maml schema. + + + + + + + + + + + + + + + + + + + This is the root element of a reference document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This is the root element of a 'how to' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'conceptual' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'walkthrough' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of an 'orientation' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'sample' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'troubleshooting' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'general reference' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a document that contains reference and syntax. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of an 'error message' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of an 'UI reference' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of an 'orientation' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'technology summary' document. + + + n/a + section + + + + + + + + + This element is the root of an 'architecture' document. + + + n/a + section + + + + + + + + + This element is the root of an 'scenarios' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + This element is the root of an 'UI reference' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a 'sample' document. + + + n/a + section + + + + + + + + + + + + + + This element is the root of a 'glossary' document. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element is the root of a document that contains reference and syntax. + + + n/a + section + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/developerReference.xsd b/tools/Sandcastle/Schemas/Authoring/developerReference.xsd new file mode 100644 index 0000000000..4787cb77e2 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/developerReference.xsd @@ -0,0 +1,504 @@ + + + + + + + This schema describes MAML, the Microsoft Assistance Markup Language. + MAML is intended for software documentation. In particular, it is + intended to accomodate the needs of Microsoft documentation. + + + The schema is broken into three main areas: end user, developer and + IT Pro. These areas adequaltely categorize Microsoft + documentation. + + + The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5. + Each backwards-incompatible revision to Maml will require that the date fields be appropriately + incremented in uri of the updated version of the Maml schema. + + + + + + This portion of the schema was created by alexstoc in April 2003. + + + + + + + + + + + + + + + + + + false + paragraph + + + + + + + + + + false + paragraph + + + + + + + + + + false + paragraph + + + + + + + + + + false + paragraph + + + + + + + + + + false + paragraph + + + + + + + + + + + + + + + + + + + + n/a + section + + + + + + + + + + This element is used to mark code entities that are only + intended for internal use and are not intended to be used + by external developers. This element should be used rarely. + The desire to use this element may indicate a design problem + with the library that should be fixed by the internal developers + before the product is released. + + + n/a + section + + + + + + + + This element is used to mark code entities that should use the documentation + of its base. + + + n/a + section + + + + + + + + This element contains a description of the return value of a function or property. + + + n/a + section + + + + + + + + This element contains a discussion of the thread safety characteristics of the current item. + + + n/a + section + + + + + + + + This element contains information that is only relevant to implementers of the current item. + + + n/a + section + + + + + + + + This element contains information that is only relevant to callers of the current item. + + + n/a + section + + + + + + + + This element contains information that is only relevant to inheritors of the current item. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + This is a reference to another code entity that performs a + function similar to that of the current code entity. Unlike the + current entity, the target of the reference is CLS-compliant. + + + n/a + section + + + + + + + + This is a reference to another code entity that performs + the same function as the current code entity. It is typically used + for mapping from an operator to the equivalent function (such as + from op_Equality to Equals). + + + n/a + section + + + + + + + + This is used to indicate that a code entity is obsolete.It may contain + a reference to another code entity that users are encouraged to use instead of the + current code entity. + + + n/a + section + + + + + + + + It may contain a reference to a unmanaged code entity. + + + n/a + section + + + + + + + + This element contains a description of a generic or template parameter. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of genericParameter elements. + + + n/a + section + + + + + + + + This element contains a description of a functional parameter. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of parameter elements. + + + n/a + section + + + + + + + + This element contains a description of one type of exception. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of exception elements. + + + n/a + section + + + + + + + + This element holds a discussion of a particular permission required + to use the current code element. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of permission elements. + + + n/a + section + + + + + + + + + + + + + + + This element contains a collection of platforms + along with a discussion of the behavior of the current code entity on those platforms. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of platformNote elements. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element contains the documentation for a single code entity. + A code entity is a type, member, or overload-set. + The code entity is identified by the one and only codeEntityReference element + that is a child of this element. + + + n/a + section + + + + + + + + + + + + + + This element is a simple collection of codeEntity elements. + + + n/a + section + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/developerStructure.xsd b/tools/Sandcastle/Schemas/Authoring/developerStructure.xsd new file mode 100644 index 0000000000..a075c14f05 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/developerStructure.xsd @@ -0,0 +1,308 @@ + + + + + + + This schema describes MAML, the Microsoft Assistance Markup Language. + MAML is intended for software documentation. In particular, it is + intended to accomodate the needs of Microsoft documentation. + + + The schema is broken into three main areas: end user, developer and + IT Pro. These areas adequaltely categorize Microsoft + documentation. + + + The namespace uri for this version of Maml is: http://ddue.schemas.microsoft.com/authoring/2003/5. + Each backwards-incompatible revision to Maml will require that the date fields be appropriately + incremented in uri of the updated version of the Maml schema. + + + + + + This portion of the schema was created by alexstoc in April 2003. + + + + + + + + + + + + + + + + + + + This element contains a summary, introduction, or short description of the current item. + This text typically appears in a topic and may also be used as the description of the topic + that appears in a jump table when the topic is being linked to. + + + n/a + section + + + + + + + + This element contains a detailed discussion of the current item. + + + n/a + section + + + + + + + + This element holds legacy content that has not been subdivided + into elements according to the latest standards. + + + n/a + section + + + + + + + + This element holds a general discussion. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element holds a discussion of a code example. + + + n/a + section + + + + + + + + + + + + + + This element is a collection of codeExample elements. + + + n/a + section + + + + + + + This element holds instructions for building a code example. + + + n/a + section + + + + + + + This element holds a discussion of error handling and other + issues related to writing solid code. + + + n/a + section + + + + + + + + This element holds a discussion of security issues. + + + n/a + section + + + + + + + + + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + false + block + + + + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + n/a + section + + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + n/a + section + + + + + + + + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + false + block + + + + + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + false + block + + + + + + + + + + + + This element holds syntax obtained from a converted document. + + + n/a + section + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/glossary.xsd b/tools/Sandcastle/Schemas/Authoring/glossary.xsd new file mode 100644 index 0000000000..c27053d486 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/glossary.xsd @@ -0,0 +1,103 @@ + + + + + + + This schema definition defines question and answer types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + The glossary element describes a set of terms and their definitions. + + n/a + + + + + + + + + + + + + + + + + The glossaryDiv element describes a titled division within a glossary. + n/a + + + + + + + + + + + + + + The glossaryEntry is a single definition in the glossary with a set of terms attached. + n/a + + + + + + + + n/a + + + + + + + + + + + + + + + + The various terms that are associated with this entry. Each term has attributes to specify its use and other idenitfying attributes + n/a + + + + + + true + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Schemas/Authoring/hierarchy.xsd b/tools/Sandcastle/Schemas/Authoring/hierarchy.xsd new file mode 100644 index 0000000000..68c26f5231 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/hierarchy.xsd @@ -0,0 +1,167 @@ + + + + + + + This schema definition defines common hierarchy types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The section element describes a section within a document. + The section element supports recursion. + + + n/a + section + + + + + + + + The sectionSimple element describes a section within a document. + This element is similar to the section element; however, it is not + recursive. + + + n/a + section + + + + + + + + + + + + + + + + + + + + + + + + This element holds a collection of section elements. + + + n/a + section + + + + + + + The sampleRef element contains a reference to an external code sample. + + + + + + + + + + + + + + + + + + + + + + + + + + + + The relatedTopicsLink is used to link to other topics that might be interesting to the reader. + + + n/a + section + + + + + + + + + + + + This element holds a collection of section elements. + + + n/a + section + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/inline.xsd b/tools/Sandcastle/Schemas/Authoring/inline.xsd new file mode 100644 index 0000000000..14e7ba63c3 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/inline.xsd @@ -0,0 +1,64 @@ + + + + + + + This schema aggregates inline elements from other inline + schemas. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The inlineType complexType describes a simple inline-only + content model. It provides both text and elements with + similarly simple content models. + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/inlineCommon.xsd b/tools/Sandcastle/Schemas/Authoring/inlineCommon.xsd new file mode 100644 index 0000000000..84e07ef1c4 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/inlineCommon.xsd @@ -0,0 +1,364 @@ + + + + + + This schema defines common inline elements. + + + + + + + + + + The quoteInline element describes an inline quotation. + + + true + character + + + + + + + The date element describes a date. + + + true + character + + + + + + + The foreignPhrase element describes a phrase that is of a language + that is different than the primary language of the document. + + + true + character + + + + + + + The phrase element is a wrapper element for a run of text. + It is solely a container and does not specify any semantics + on its own. + + + true + character + + + + + + + This element marks bolded text in legacy documents. DO NOT USE IT in authoring new documents. + + + true + character + + + + + + + This element marks italicized text in legacy documents. DO NOT USE IT in authoring new documents. + + + true + character + + + + + + + This element marks underlined text in legacy documents. DO NOT USE IT in authoring new documents. + + + true + character + + + + + + + + + + + + + + + + + This element marks a subscript in a mathematical expression. + + + true + character + + + + + + + This element marks a superscript in a mathematical expression. + + + true + character + + + + + + + The notLocalizable element is a wrapper element for a run of text + that should not be localized. + + + false + character + + + + + + + + The copyright element describes the copyright information about a document. + + + n/a + character + + + + + + + + The trademark element describes some manner of + corporate trademark. + + + true + character + + + + + + + The year element describes the year associated with a + particular copyright. + + + true + character + + + + + + + The holder element describes the company who holds a + particular copyright. + + + true + character + + + + + + + + The class attribute describes the type of trademark used. + + + + + + + + + + + + + + + + + + The corporation element describes a corporation. + + + true + character + + + + + + + The country element describes a country. + + + true + character + + + + + + + + This element specifies text that will be displayed after the topic links. + + + n/a + structure + + + + + + + + This element specifies text that will be displayed after the topic links. + + + n/a + structure + + + + + + + + Specifies text that will be output between links. + + + n/a + structure + + + + + + + + The dynamicLink element contains the B-keywords that will be used by K-tables. + + + n/a + structure + + + + + + + + + + + + + + + + + The class attribute describes the type of list. + + + + + + + + + + + + + + + + This element holds the B-keywords. + + + n/a + paragraph + + + + + + + + This element holds the Localized text. + + + true + character + + + + + + + + This element holds the embedded labels, typically for run-in headings. + + + true + character + + + + + + + + + This type describes the set of inline elements that are likely to be + needed for block elements' content models. + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/inlineLinking.xsd b/tools/Sandcastle/Schemas/Authoring/inlineLinking.xsd new file mode 100644 index 0000000000..099024e6d2 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/inlineLinking.xsd @@ -0,0 +1,263 @@ + + + + + + This schema defines common inline elements. + + + + + + + + + + The link element can contain text but this text + is discarded at build time in favor of the actual title of + the link target, so the text in this element is not localizable. + + + false + character + + + + + + + The legacyLink element allows custom text to be used for the link, so + the text is localizable. The link element is to be preferred over the + legacyLink element for all new content. + + + true + character + + + + + + + + The mediaLinkInline element + + + n/a + character + + + + + + + This complexType is intended as the content model for media referencing elements in the schema. + + + + + The caption element describes a summary of an associated object, such as an image. + This text is intended for the alternate text in web representations. + + true + character + + + + + + + A source link targeting the platform object type: image. + The structure required to define a link to an image object. + The mediaLinkInline element represents a reference to an image object + directly (optionally via a presentation object). + + false + structure + + + + + + + + + + + This complexType is intended as the content model for media referencing elements in the schema. + + + + + + A source link targeting the platform object type: image. + The structure required to define a link to an image object. + The mediaLinkInline element represents a reference to an image object + directly (optionally via a presentation object). + + false + structure + + + + + + + + + + + + + + + + + + + + + + + + + + + This element holds a reference to a code entity. + + + false + character + + + + + + + This element holds a reference to a parameter. + + + false + character + + + + + + + This type describes the set of inline elements that are + used for referring to code elements and parameters. + + + + + + + + + + + + + + + + + + + + + + + + + + true + character + + + + + + + + + + + + + + + n/a + character + + + + + + + + The externalLink element describes links that are external to Microsoft + and must be managed through a redirection scheme. + + + n/a + character + + + + + + + + The linkText element describes the text of a link. + + + true + character + + + + + + + The linkAlternateText element describes the alternate + text of the link, used for "alt text" on the Web. + + + true + character + + + + + + + The linkUri element describes the URI of the link. + + + true + character + + + + + + + + + + + This type describes the set of inline elements that are likely to be + needed for block elements' content models. + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/inlineSoftware.xsd b/tools/Sandcastle/Schemas/Authoring/inlineSoftware.xsd new file mode 100644 index 0000000000..9bfb6d8479 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/inlineSoftware.xsd @@ -0,0 +1,351 @@ + + + + + + + This schema definition defines the common reference types within + the Content Studio schema. + + + + + + + + + + + The application element describes the name of an application, + such as Microsoft Windows or Notepad. + + + true + character + + + + + + + + The database element describes a database. + + + true + character + + + + + + + + The fictitiousUri element describes a fictitious internet address, + such as a web or email address. + + + true + character + + + + + + + + + + + + + + + + + + + + + + + The localUri element describes the path of some local resource. + + + true + character + + + + + + + + + + + + + + + + + + + + + + + + + + + The environmentVariable element describes an environment variable in an operating system. + + + true + character + + + + + + + + The errorInline element describes an error. + + + true + character + + + + + + + + The hardware element describes a physical part of a computer system. + + + true + character + + + + + + + + The literal element describes a literal value. + + + true + character + + + + + + + + The markup element describes a string of markup, such as TeX or XML. + + + true + character + + + + + + + + The command element describes the name of an executable or other software + application than can be run. + + + true + character + + + + + + + + The replaceable element describes a part of a command or of a + function that must be replaced by the user. + + + true + character + + + + + + + + + + + The token element describes a symbol that represents a grammatical construct + or is merely a link to something else. Tokens are particularly important + in lexical parsing. + + + true + character + + + + + + + + The codeInline element describes a string of code of a particular computer language. + + + false + character + + + + + + + + + + + + + + + The languageKeyword element describes a keyword of a particular computer language. + + + false + character + + + + + + + + The computerOutputInline element describes output from either a console prompt + or from a UI form. + + + true + character + + + + + + + + The ui element describes a user interface component. + + + true + character + + + + + + + + The system element describes any system commands (eg: command line switches, commands) + + + false + character + + + + + + + + This element is used as a placeholder. + + + true + character + + + + + + + + This element is used for any math equations, etc. + + + false + character + + + + + + + + The newTerm element is used to introduce new technologies, etc + + + true + character + + + + + + + + The unManagedCodeEntityReference element is used to refer to unmanaged code entities. + + + false + character + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/inlineUi.xsd b/tools/Sandcastle/Schemas/Authoring/inlineUi.xsd new file mode 100644 index 0000000000..a87d77d53a --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/inlineUi.xsd @@ -0,0 +1,136 @@ + + + + + + + This schema definition defines the inline UI elements for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + The button element describes various types of buttons. + + + true + character + + + + + + + + + + + + + + + + + + + + + + + + + + + The label element describes the text of a label on a UI control. + + + true + character + + + + + + + + The userInput element describes data that is entered by the user. + + + false + character + + + + + + + + The ui element describes any localizable user input. + + + true + character + + + + + + + + + This type is intended for use for describing user actions + + + + + + The action attribute describes a user action, via either + key combination or mouse. + + + + + + + + + + + + + + + + + + + + This group is intended to be be used for referencing all base UI + elements. + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Schemas/Authoring/space.xsd b/tools/Sandcastle/Schemas/Authoring/space.xsd new file mode 100644 index 0000000000..b899b71ffd --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/space.xsd @@ -0,0 +1,13 @@ + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/standardCodes.xsd b/tools/Sandcastle/Schemas/Authoring/standardCodes.xsd new file mode 100644 index 0000000000..639907162b --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/standardCodes.xsd @@ -0,0 +1,153 @@ + + + + + This schema document provides language, country and locale types. + The enumerations are programmatically generated from Taxonomy Services. + + author: Allan Revenig (allanr) Taxonomy Services + + + + + + An enumerated type containing a selection of 2 character ISO standard language codes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + An enumerated type containing a selection of 2 character ISO standard country codes. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + A string that must match a specific pattern xx-XX, where x's are letters, representing a Locale. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/Schemas/Authoring/structure.xsd b/tools/Sandcastle/Schemas/Authoring/structure.xsd new file mode 100644 index 0000000000..d97d283074 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/structure.xsd @@ -0,0 +1,142 @@ + + + + + + + This schema definition defines common structure types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + This element holds authored content. + + + n/a + structure + + + + + + + A single definition that goes with this entry + n/a + + + + + + A single item that is being defined + true + + + + + + + + + + + + + + This element is a two column table without a header or footer. + The first column contains the item being defined, the second column + contains the definition of the item. + + + n/a + structure + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/structureList.xsd b/tools/Sandcastle/Schemas/Authoring/structureList.xsd new file mode 100644 index 0000000000..e92b5ca986 --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/structureList.xsd @@ -0,0 +1,89 @@ + + + + + + + This schema definition defines common structure types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + + + + + + + + + + + + + The class attribute describes the type of list. + + + + + + + + + + + + + + + + + The list element describes content that should be displayed as a list. + + + n/a + structure + + + + + + + + The listItem element describes an item within a list. The + content of the listItem element will be treated as a unit. + + + n/a + structure + + + + + + + + + This group describes the common lists that can be used to describe + list data. + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/structureMedia.xsd b/tools/Sandcastle/Schemas/Authoring/structureMedia.xsd new file mode 100644 index 0000000000..0b7f65449d --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/structureMedia.xsd @@ -0,0 +1,41 @@ + + + + + + + This schema document provides the block media elements for the content framework schema. + This schema is part of the base layer. + + + + + + + + + The media element represents media objects of any type. It is intended as a placeholder for images, audio and video. + The rendering program will be responsible to render the referenced object in a reasonable manner. + + n/a + structure + + + + + + + + This group is intended to be used for referencing all block media elements. + + + + + + diff --git a/tools/Sandcastle/Schemas/Authoring/structureProcedure.xsd b/tools/Sandcastle/Schemas/Authoring/structureProcedure.xsd new file mode 100644 index 0000000000..c2dcc6abba --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/structureProcedure.xsd @@ -0,0 +1,110 @@ + + + + + + + This schema definition defines common structure types for the CS Schema. + This schema is part of the common layer. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + The class attribute describes the type of list. + + + + + + + + + + + + + + + This element is a collection of steps in a procedure. + + + n/a + structure + + + + + + + + + + + + + + + + This element is a step in a procedure. + + + n/a + structure + + + + + + + + + + + + + + + + + This element is the root of a procedure. + + + n/a + section + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/structureTable.xsd b/tools/Sandcastle/Schemas/Authoring/structureTable.xsd new file mode 100644 index 0000000000..bffaa8571f --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/structureTable.xsd @@ -0,0 +1,96 @@ + + + + + + + This schema definition defines common hierarchy types for the CS Schema. + This schema is part of the base layer. + + + + + + + + + + + The table element describes a table model that is conformant to the CALS + table model. + + + n/a + structure + + + + + + + + + + + + + + + The tableHeader element describes a table header. + + + n/a + structure + + + + + + + + The row element describes a row within a table. + + + n/a + structure + + + + + + + + + + + + + The entry element describes an entry within a table. + + + n/a + structure + + + + + + + + + This type is intended for use as the children of table elements. + + + + + + + + + \ No newline at end of file diff --git a/tools/Sandcastle/Schemas/Authoring/xlink.xsd b/tools/Sandcastle/Schemas/Authoring/xlink.xsd new file mode 100644 index 0000000000..852ac8e50d --- /dev/null +++ b/tools/Sandcastle/Schemas/Authoring/xlink.xsd @@ -0,0 +1,219 @@ + + + + + + + This schema definition provides an XLink implementation for any schema. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Offers a shorthand syntax for a common kind of link, an outbound link with exactly two participating resources. + + + + + + Offers full XLink functionality, such as inbound and third-party arcs, as well as links that have arbitrary numbers of participating resources. As a result, the structure of complex links can be fairly complex, including elements for pointing to remote resources, elements for containing local resources, elements for specifying arc traversal rules, and elements for specifying human-readable resource and arc titles. + + + + + + + + + + + + Address the remote resources participating in the link + + + + + + + + + Provide traversal rules among the link's participating resources. + + + + + + + + + Supply local resources that participate in the link. + + + + + + Provide human-readable labels for the link. + + + + + + + XLink conformant elements must contain a type attribute. This is it's definition. + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + arcroleType definition. Value MUST be a URI reference as defined in IETF RFC 2396, except if the URI shceme used is allowed to have absolute and relative forms, the URI portion MUST be absolute. The URI reference identifys some resource that describes the intended property. When no value is supplied, no particular role value is to be inferred + + + + + + titleType definition. Used to describe the meaning of a link or resource in a human-readable fashion, along the same lines as a ROLE or ARCROLE attribute (see roleType and arcroleType definitions). A value is optional; if a value is supplied, it SHOULD contain a string that describes the resource or link. The value MAY be used to make titles available to applications used by visually impaired users, or to create a table of links, or to present help text that appears when a user lets a mouse pointer hover over a starting resource. + + + + + + Defines possible values for show attribute. + new: Application SHOULD load the resource in a new window, frame, pane, or other relevant presentation context. + replace: Application SHOULD load the resource in the same window, frame, pane, or other relevant presentation context in which the starting resource was loaded. + embed: Application SHOULD load the resource presentation in place of the presentation of the starting resource. + other: Behavior of the application is unconstrained by the XLink spec. The application SHOULD look for other markup present in the link to determine the appropriate behavior. + none: Behavior of the application is unconstrained by the XLink spec. No other markup is present to help the application determine the appropriate behavior. + + + + + + + + + + + + Defines possible values for actuate attribute + onLoad: Application SHOULD traverse to the ending resource immediately on loading the starting resource. + onRequest: Application SHOULD traverse from the starting resource to the ending resource only on a post-loading event triggered for the purpose of traversal. An example might be when a user clicks on the presentation of the starting resource, or a software module finishes a countdown that precedes a redirect. + other: The behavior of the application traversing to the ending resource is unconstrained by this specification. The application SHOULD look for other markup present in the link to determine the appropriate behaviour. + none: The behavior of the application traversing to the ending resource is unconstrained by this specification. No other markup is present to help the application determine the appropriate behavior. + + + + + + + + + + + labelType definition. If a 'from' or 'to' attribute value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'from' and 'to' type definitions. + + + + + + fromType definition. If a value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'label' and 'to' type definitions. + + + + + + toType definition. If a value is supplied, it MUST correspond to the same value for some 'label' attribute on a 'locator-' or 'resource-' type element that appears as a direct child inside the same extended-type element as does the arc-type element. See also 'label' and 'from' type definitions. + + + + diff --git a/tools/Sandcastle/Schemas/Reflection/reflection.xsd b/tools/Sandcastle/Schemas/Reflection/reflection.xsd new file mode 100644 index 0000000000..5f8fe530a1 --- /dev/null +++ b/tools/Sandcastle/Schemas/Reflection/reflection.xsd @@ -0,0 +1,641 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/Sandcastle/sandcastle.targets b/tools/Sandcastle/sandcastle.targets new file mode 100644 index 0000000000..13a9ec8d19 --- /dev/null +++ b/tools/Sandcastle/sandcastle.targets @@ -0,0 +1,152 @@ + + + + + + vs2005 + + $(WINDIR)\Microsoft.NET\Framework\v2.0.50727 + $(ProjectRoot)\tools\Sandcastle + $(DxRoot)\ProductionTools + $(DxRoot)\ProductionTransforms + $(DxRoot)\Presentation\$(PresentationStyle) + $(PROGRAMFILES)\Html Help Workshop\hhc.exe + + $(OutputPath)\$(OutputAssembly).dll + + $(DocOutputPath)\api + $(ProjectRoot)\obj\Doc\$(Configuration) + $(ProjectRoot)\obj\Doc\Tmp + $(ProjectRoot)\obj\Doc\Reflection + $(DocIntermediatePath)\chm + + $(ChmDir)\toc.xml + $(DocOutputPath)\$(OutputAssembly).chm + $(DocOutputPath)\$(OutputAssembly).HxT + $(DocOutputPath)\$(OutputAssembly).hxs + $(DocOutputPath)\$(OutputAssembly).hxc + $(chmDir)\$(OutputAssembly).hhk + $(chmDir)\$(OutputAssembly).hhp + $(DocIntermediatePath)\reflection.xml + $(DocIntermediatePath)\manifest.xml + $(DocIntermediatePath)\reflection_base.xml + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/tools/builddrop.ps1 b/tools/builddrop.ps1 index b51b2c9e16..20fb911ad1 100644 --- a/tools/builddrop.ps1 +++ b/tools/builddrop.ps1 @@ -81,6 +81,8 @@ function Build() { } else { msbuild $RootDir\src\$ProductName.sln /p:Configuration=$Configuration /p:Sign=$Signed /t:rebuild > $nul } + Write-Host "Building documentation..." + msbuild $RootDir\src\Documentation\build.proj /p:Configuration=$Configuration > $nul if ($lastexitcode -ne 0) { throw "Build failure." } } @@ -90,6 +92,9 @@ function AssembleDrop() { Copy-Item "$BinDir\$Configuration\$ProductName.???" $DropDir\Bin Copy-Item -recurse $RootDir\Samples $DropDir Copy-Item -Recurse $RootDir\Doc\*.htm* $DropDir + [void] (md $DropDir\specs) + Copy-Item -Recurse $RootDir\Doc\specs\*.htm* $DropDir\specs + Copy-Item $RootDir\Doc\$ProductName.chm $DropDir # Do a little cleanup of files that we don't want to inclue in the drop ("obj", "*.user", "*.sln.cache", "*.suo", "*.user", ".gitignore", "*.ldf", "*Trace.txt", "*~") |% {