private void CopyConfig(BaseReflectionDocumenterConfig config) { #region Documentation Control this.AssemblyVersionInfo=config.AssemblyVersionInfo; this.UseNamespaceDocSummaries=config.UseNamespaceDocSummaries; this.AutoPropertyBackerSummaries=config.AutoPropertyBackerSummaries; this.AutoDocumentConstructors=config.AutoDocumentConstructors; this.SdkDocLanguage=config.SdkDocLanguage; #endregion #region missing this.ShowMissingSummaries=config.ShowMissingSummaries; this.ShowMissingRemarks=config.ShowMissingRemarks; this.ShowMissingParams=config.ShowMissingParams; this.ShowMissingReturns=config.ShowMissingReturns; this.ShowMissingValues=config.ShowMissingValues; #endregion #region visibility this.DocumentInheritedMembers=config.DocumentInheritedMembers; this.DocumentInheritedFrameworkMembers=config.DocumentInheritedFrameworkMembers; this.DocumentExplicitInterfaceImplementations=config.DocumentExplicitInterfaceImplementations; this.DocumentInternals=config.DocumentInternals; this.DocumentProtected=config.DocumentProtected; this.DocumentSealedProtected=config.DocumentSealedProtected; this.DocumentPrivates=config.DocumentPrivates; this.DocumentProtectedInternalAsProtected=config.DocumentProtectedInternalAsProtected; this.DocumentEmptyNamespaces=config.DocumentEmptyNamespaces; this.SkipNamespacesWithoutSummaries=config.SkipNamespacesWithoutSummaries; this.EditorBrowsableFilter=config.EditorBrowsableFilter; #endregion #region Attributes this.DocumentAttributes=config.DocumentAttributes; this.DocumentInheritedAttributes=config.DocumentInheritedAttributes; this.ShowTypeIdInAttributes=config.ShowTypeIdInAttributes; this.DocumentedAttributes=config.DocumentedAttributes; #endregion #region additional info this.CopyrightText=config.CopyrightText; this.CopyrightHref=config.CopyrightHref; this.FeedbackEmailAddress=config.FeedbackEmailAddress; this.Preliminary=config.Preliminary; #endregion #region threadsafety this.IncludeDefaultThreadSafety=config.IncludeDefaultThreadSafety; this.StaticMembersDefaultToSafe=config.StaticMembersDefaultToSafe; this.InstanceMembersDefaultToSafe=config.InstanceMembersDefaultToSafe; #endregion }
/// <summary> /// constructor for ReflectionEngineParameters. /// </summary> public ReflectionEngineParameters(Project project, BaseReflectionDocumenterConfig config) { CopyProject(project); CopyConfig(config); }