public OANullProperty(OAProperties parent) { if (parent == null) throw new ArgumentNullException("parent"); this._parent = parent; }
//===================================================================== /// <summary> /// Constructor /// </summary> /// <param name="project">The project node</param> public OASandcastleBuilderProject(ProjectNode project) : base(project) { if(project != null) { properties = new OAProperties(project.NodeProperties); // TODO: Is there a better way to handle these? // TODO: Can we get rid of the TargetFramework, AssemblyName and RootNamespace // project properties this way too? // The IDE always requests these for some reason when closing a project but we // don't contain them so we'll just add entries for them that return null. // There may be others. They are logged to the Output Window when encountered. properties.Properties["DesignTimeReferences"] = properties.Properties["SDEProjectExtender.NETCFVersion"] = properties.Properties["SDEProjectExtender.PlatformFamily"] = properties.Properties["WebSiteType"] = null; } }
public OANullProperty(OAProperties parent) { this.parent = parent; }
public OAProperty(OAProperties parent, PropertyInfo pi) { this.parent = parent; this.pi = pi; }
/// <summary> /// Initializes new instance of OANestedProjectProperty object based on specified /// parent ProjectNode and Property name. /// </summary> /// <param name="parent">Parent properties collection.</param> /// <param name="name">Project property name.</param> internal OANestedProjectProperty(OANestedProjectProperties parent, string name) { this.parent = parent; this.name = name; }
public OANullProperty(OAProperties parent) { _parent = parent; }