Inheritance: Properties
コード例 #1
0
        public OANullProperty(OAProperties parent)
        {
            if (parent == null)
                throw new ArgumentNullException("parent");

            this._parent = parent;
        }
コード例 #2
0
        //=====================================================================

        /// <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;
            }
        }
コード例 #3
0
ファイル: OANullProperty.cs プロジェクト: Xtremrules/dot42
 public OANullProperty(OAProperties parent)
 {
     this.parent = parent;
 }
コード例 #4
0
ファイル: OAProperty.cs プロジェクト: Xtremrules/dot42
 public OAProperty(OAProperties parent, PropertyInfo pi)
 {
     this.parent = parent;
     this.pi = pi;
 }
コード例 #5
0
 /// <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;
 }
コード例 #6
0
 public OAProperty(OAProperties parent, PropertyInfo pi)
 {
     this.parent = parent;
     this.pi     = pi;
 }
コード例 #7
0
ファイル: OANullProperty.cs プロジェクト: zyj0021/SHFB
 public OANullProperty(OAProperties parent)
 {
     this.parent = parent;
 }
コード例 #8
0
 public OANullProperty(OAProperties parent)
 {
     _parent = parent;
 }
コード例 #9
0
 public OANullProperty(OAProperties parent)
 {
     _parent = parent;
 }