public override void Dispose() { if (this.classes != null) { this.classes.Dispose(); } if (this.delegates != null) { this.delegates.Dispose(); } if (this.enumerators != null) { this.enumerators.Dispose(); } if (this.interfaces != null) { this.interfaces.Dispose(); } if (this.structures != null) { this.structures.Dispose(); } if (this.snippetMembers != null) { this.snippetMembers.Dispose(); } if (this.properties != null) { this.properties.Dispose(); } if (this.methods != null) { this.methods.Dispose(); } if (this.fields != null) { this.fields.Dispose(); } if (this.constructors != null) { this.constructors.Dispose(); } this.classes = null; this.delegates = null; this.enumerators = null; this.interfaces = null; this.structures = null; if (this.resources != null) { this.resources.Dispose(); this.resources = null; } this.fields = null; this.constructors = null; base.Dispose(); }
public override void TranslateMembers(IFieldParentType parent, IFieldMembers fieldMembers) { string regionText = ""; bool bRegion = false; if (bRegion = (options.AutoRegionsFor(AutoRegionAreas.Properties) && (fieldMembers.GetCountForTarget(parent) > 0))) { regionText = String.Format(_OIL._Core.MaintenanceResources.AutoRegions_BasePattern, parent.Name, " data members"); this.TranslateConceptRegionStart(regionText); } TranslateMembers((IFieldParentType)parent, (IFieldMembersBase)fieldMembers); if (bRegion) { this.TranslateConceptRegionEnd(regionText); } }
public abstract void TranslateMembers(IFieldParentType parent, IFieldMembers fieldMembers);