FailureDefinitionAccessor
Description:
A class that provides access to the details of a FailureDefinition after the definition has been defined.
A class that provides access to the details of a FailureDefinition after the definition has been defined.
public class FailureDefinitionAccessor : IDisposable
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| Dispose() | None | Releases all resources used by the FailureDefinitionAccessor | |
| Equals | None | Determines whether the specified object is equal to the current object. (Inherited from Object ) | Object |
| GetApplicableResolutionTypes() | IList<FailureResolutionType> | Retrieves a list of resolution types applicable to the failure. | |
| GetDefaultResolutionType() | FailureResolutionType | Retrieves the default resolution type for the failure. | |
| GetDescriptionText() | String | Retrieves the description text of the failure. | |
| GetHashCode | None | Serves as the default hash function. (Inherited from Object ) | Object |
| GetId() | FailureDefinitionId | Retrieves the unique identifier of the FailureDefinition. | |
| GetResolutionCaption(FailureResolutionType) | String | Retrieves the caption for a specific resolution type. | |
| GetSeverity() | FailureSeverity | Retrieves severity of the failure. | |
| GetType | None | Gets the Type of the current instance. (Inherited from Object ) | Object |
| HasResolutions() | Boolean | Checks if the FailureDefinition has at least one resolution. | |
| IsResolutionApplicable(FailureResolutionType) | Boolean | Checks if the given resolution type is applicable to the failure. | |
| SetDefaultResolutionType(FailureResolutionType) | None | Sets the default resolution type for the failure. | |
| ToString | None | Returns a string that represents the current object. (Inherited from Object ) | Object |
| Name | Return Type | Description | Inherited From |
|---|---|---|---|
| IsValidObject | Boolean | Specifies whether the .NET object represents a valid Revit entity. |