Click or drag to resize

AuditData Class

Specific information related to an audit
Inheritance Hierarchy

Namespace:  SanteDB.Core.Auditing
Assembly:  SanteDB.Core.Model (in SanteDB.Core.Model.dll) Version: 2.2.1
Syntax
public class AuditData : IdentifiedData

The AuditData type exposes the following members.

Constructors
  NameDescription
Public methodAuditData
Initializes a new instance of the AuditData class.
Public methodAuditData(DateTimeOffset, ActionType, OutcomeIndicator, EventIdentifierType, AuditCode)
Initializes a new instance of the AuditData class.
Top
Properties
  NameDescription
Public propertyActionCode
Identifies the action code
Public propertyActors
Represents the actors within the audit event
Public propertyAuditableObjects
Represents other objects of interest
Public propertyBatchOperation
Gets or sets the operation
(Inherited from IdentifiedData.)
Public propertyEventIdentifier
Identifies the event
Public propertyEventTypeCode
Identifies the type of event
Public propertyIsDelayLoadEnabled
True if the class is currently loading associations when accessed
(Inherited from IdentifiedData.)
Public propertyKey
Gets or sets the primary identifying UUID of this object
(Inherited from IdentifiedData.)
Public propertyLoadState
Gets or sets whether the object was partial loaded
(Inherited from IdentifiedData.)
Public propertyMetadata
Metadata about the audit
Public propertyModifiedOn
Represents the modified on
(Overrides IdentifiedDataModifiedOn.)
Public propertyOutcome
Identifies the outcome of the event
Public propertyTag
Gets a tag which changes whenever the object is updated
(Inherited from IdentifiedData.)
Public propertyTimestamp
Timestamp backing property (since XML Serializer does not like DTO)
Public propertyTimestampXml
Event timestamp
Public propertyType
Gets the type registration of this object
(Inherited from IdentifiedData.)
Top
Methods
  NameDescription
Public methodAddAnnotation
Add an annotated object
(Inherited from IdentifiedData.)
Public methodAddMetadata
Add metadata to the audit
Public methodClone
Clone this object
(Inherited from IdentifiedData.)
Public methodCopyAnnotations
Copy annotations from another resource
(Inherited from IdentifiedData.)
Public methodDeepCopy
Provide a deep copy of the specified data
(Inherited from IdentifiedData.)
Protected methodDelayLoadTEntity
Get associated entity
(Inherited from IdentifiedData.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAnnotationsT
Get annotations of specified T
(Inherited from IdentifiedData.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetLocked
Clone the specified data
(Inherited from IdentifiedData.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsEmpty
Determines w
(Inherited from IdentifiedData.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemoveAnnotation
Remove annotation
(Inherited from IdentifiedData.)
Public methodSemanticEquals
Determines the semantic equality of this object an obj
(Inherited from IdentifiedData.)
Public methodShouldSerializeBatchOperation
Should serialize batch operation
(Inherited from IdentifiedData.)
Public methodShouldSerializeKey
True if key should be serialized
(Inherited from IdentifiedData.)
Public methodShouldSerializeModifiedOn
Never serialize modified on
(Inherited from IdentifiedData.)
Public methodToDisplay
Represent as a display string
(Overrides IdentifiedDataToDisplay.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Protected fieldm_annotations
A list of custom tags which were added to this object
(Inherited from IdentifiedData.)
Top
Extension Methods
  NameDescription
Public Extension MethodAction
Set the action on the audit
(Defined by AuditExtensions.)
Public Extension MethodConvertTReturn
The purpose of this method is to convert object me to TReturn. Why? Because if you have an instance of Act that actually needs to be a SubstanceAdministration we can't just cast so we have to copy.
(Defined by ExtensionMethods.)
Public Extension MethodGetInstanceOfTDomain
Gets an instance of TDomain from me
(Defined by ModelExtensions.)
Public Extension MethodWithAct
Add act object to the audit
(Defined by AuditExtensions.)
Public Extension MethodWithAction
With the specified action code
(Defined by AuditExtensions.)
Public Extension MethodWithEventIdentifier
Event identiifer set
(Defined by AuditExtensions.)
Public Extension MethodWithEventType(EventTypeCodes)Overloaded.
With an enum set event type
(Defined by AuditExtensions.)
Public Extension MethodWithEventType(String, String)Overloaded.
With event type
(Defined by AuditExtensions.)
Public Extension MethodWithHttpInformation
Add HTTP information
(Defined by AuditExtensions.)
Public Extension MethodWithLocalDevice
Add local device information
(Defined by AuditExtensions.)
Public Extension MethodWithOutcome
Append the outcome indicator to the audit
(Defined by AuditExtensions.)
Public Extension MethodWithPatient
With object of patient
(Defined by AuditExtensions.)
Public Extension MethodWithPerson
Add patient object to the audit
(Defined by AuditExtensions.)
Public Extension MethodWithPolicyAuthorization
Add policy authorization to the audit
(Defined by AuditExtensions.)
Public Extension MethodWithProvider
Add provider object to the audit
(Defined by AuditExtensions.)
Public Extension MethodWithQueryPerformed
Add a query performed data element
(Defined by AuditExtensions.)
Public Extension MethodWithSystemObjects
With a system object
(Defined by AuditExtensions.)
Public Extension MethodWithTimestamp
Add timestamp
(Defined by AuditExtensions.)
Public Extension MethodWithUser
Append user information
(Defined by AuditExtensions.)
Top
See Also