summaryrefslogtreecommitdiffstats
path: root/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs')
-rw-r--r--tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs70
1 files changed, 12 insertions, 58 deletions
diff --git a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs
index 00c17f2..656da13 100644
--- a/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs
+++ b/tools/Sandcastle/Source/BuildAssembler/BuildComponents/Targets.cs
@@ -1,5 +1,8 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-//
+// Copyright © Microsoft Corporation.
+// This source file is subject to the Microsoft Permissive License.
+// See http://www.microsoft.com/resources/sharedsource/licensingbasics/sharedsourcelicenses.mspx.
+// All other rights reserved.
+
using System;
using System.Collections.Generic;
using System.Text;
@@ -13,28 +16,11 @@ namespace BuildComponents {
internal string id;
- internal string container;
-
- internal string file;
-
public string Id {
get {
return (id);
}
}
-
- public string Container {
- get {
- return (container);
- }
- }
-
- public string File {
- get {
- return (file);
- }
- }
-
}
// Namespace
@@ -57,8 +43,6 @@ namespace BuildComponents {
// apidata
- protected string name;
-
protected string subgroup;
// containers
@@ -69,32 +53,8 @@ namespace BuildComponents {
protected string containingAssembly;
- // templates
-
- protected string[] templates;
-
- // typedata
-
- private object visibility;
-
- private bool isAbstract;
-
- private bool isSealed;
-
- private bool isSerializable;
-
- // family
-
- private SimpleTypeReference parentType;
-
// other
- public string Name {
- get {
- return (name);
- }
- }
-
public NamespaceReference Namespace {
get {
return (containingNamespace);
@@ -107,12 +67,6 @@ namespace BuildComponents {
}
}
- public string[] Templates {
- get {
- return (templates);
- }
- }
-
}
// Construction of targets from Xml
@@ -144,7 +98,7 @@ namespace BuildComponents {
public partial class NamespaceTarget {
- public static NamespaceTarget Create (XmlReader apidata) {
+ public static new NamespaceTarget Create (XmlReader apidata) {
NamespaceTarget target = new NamespaceTarget();
string name = apidata.GetAttribute("name");
@@ -172,16 +126,16 @@ namespace BuildComponents {
public partial class TypeTarget {
- public static TypeTarget Create (XmlReader api) {
+ public static new TypeTarget Create (XmlReader api) {
api.ReadToFollowing("apidata");
- string subgroup = api.GetAttribute("subgroup");
+ //string subgroup = api.GetAttribute("subgroup");
api.ReadToFollowing("typedata");
- string visibilityValue = api.GetAttribute("visibility");
- string abstractValue = api.GetAttribute("abstract");
- string sealedValue = api.GetAttribute("sealed");
- string serializableValue = api.GetAttribute("serealizable");
+ //string visibilityValue = api.GetAttribute("visibility");
+ //string abstractValue = api.GetAttribute("abstract");
+ //string sealedValue = api.GetAttribute("sealed");
+ //string serializableValue = api.GetAttribute("serealizable");
api.ReadToFollowing("library");
string containingAssemblyValue = api.GetAttribute("assembly");