protected TypeDocumentItem(TypeDocument document, MemberInfo member, MethodInfo memberMethod) { this._document = document; this._member = member; this._memberMethod = memberMethod; this._visibilityFilter = this.GetVisibilityFilter(); this._statusFilter = TypeDocumentFilter.Current; try { object[] customAttributes = this._member.GetCustomAttributes(typeof(ObsoleteAttribute), false); if ((customAttributes != null) && (customAttributes.Length != 0)) { this._statusFilter = TypeDocumentFilter.Obsolete; } } catch { } if (member.DeclaringType == member.ReflectedType) { this._typeFilter = TypeDocumentFilter.Declared; } else { this._typeFilter = TypeDocumentFilter.Inherited; } }
public ClassViewPageBuilder(ClassViewProjectData projectData, TypeDocument document) { this._projectData = projectData; this._document = document; base.SetPageColors(Color.Black, Color.LightGoldenrodYellow, Color.DarkGreen, Color.Green); base.SetPageMargins(new BoxEdges(10, 10, 10, 10)); base.SetPageFont("Tahoma", 8f); }
public TypeViewTreeNode(TypeDocument document) : base(document.Type.Name, 0x16, 0x16) { this._document = document; }
void IDocumentView.LoadFromDocument(Document document) { this._document = (TypeDocument) document; System.Type type = this._document.Type; if (this._detailsTabControl == null) { this.InitializeUserInterface(); } this._descriptionView.SetCurrentDocument(this._document); this.LoadDocumentItems(); }
Document IDocumentFactory.CreateDocument(DocumentProjectItem projectItem, bool readOnly, DocumentMode mode, DocumentViewType initialView, out DocumentWindow documentWindow, out DesignerHost designerHost) { if (projectItem == null) { throw new ArgumentNullException("projectItem"); } Document document = new TypeDocument(projectItem); designerHost = new DesignerHost(document); document.Load(true); documentWindow = new TypeDocumentWindow(designerHost, document); return document; }
public void SetCurrentDocument(TypeDocument document) { this._currentDocument = document; }
public PropertyItem(TypeDocument document, PropertyInfo pi, MethodInfo underlyingMethod) : base(document, pi, underlyingMethod) { }
public TypePageBuilder(ClassViewProjectData projectData, TypeDocument document) : base(projectData, document) { }
public FieldItem(TypeDocument document, FieldInfo fi) : base(document, fi) { }
void IDisposable.Dispose() { this._type = null; this._owner = null; }
public TypeDocumentStorage(TypeDocument owner) { this._owner = owner; }
public MemberPageBuilder(ClassViewProjectData projectData, TypeDocument document, TypeDocumentItem item) : base(projectData, document) { this._item = item; }
public EventItem(TypeDocument document, EventInfo ei, MethodInfo underlyingMethod) : base(document, ei, underlyingMethod) { }
protected TypeDocumentItem(TypeDocument document, MemberInfo member) : this(document, member, null) { }
public MethodItem(TypeDocument document, MethodInfo method) : base(document, method) { }
public MethodItem(TypeDocument document, ConstructorInfo method) : base(document, method) { this._isConstructor = true; }