Assembly: VMAppCore.dll This class is to represent the objectbase.
Inheritance
object ← ObservableObject ← LinkableBase ← ObjectBaseDerived
Object<TEventCore>Implements
IObservableObject, IDisposableObject, ILinkable, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, ILinkContainerEvent, IVerifiable, IHistoryObjectSerializableInherited Members
LinkableBase.OnDeserialization(object), ObservableObject.Dispose(), ObservableObject.RaisePropertyChanged(string), ObservableObject.RaisePropertyChanged(string, object, object), ObservableObject.Dispose(bool), ObservableObject.DisposeManagedResources(), ObservableObject.DisposeUnmanagedResources(), ObservableObject.IsDisposed, ObservableObject.TryDisposing, ObservableObject.Disposed, ObservableObject.Disposing, ObservableObject.PropertyChangedExtension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)Constructors
ObjectBase()
Initializes a new instance of the ObjectBase class.ObjectBase(SerializationInfo, StreamingContext)
Initializes a new instance of the ObjectBase class.Parameters
info SerializationInfo
The info.
__unnamed001 StreamingContext
Properties
ClearChildInfoBeforeDeserialize
Gets a value indicating whether [clear child info before deserialize].Property Value
boolContainer
Gets the container.Property Value
IOwnedDocument
Gets the document.Property Value
DocumentID
Get the object idProperty Value
IdentifierIsChildExternable
Gets a value indicating whether this instance’s child is Externable.Property Value
boolIsExternable
Gets a value indicating whether this instance is Externable.Property Value
boolKernelKey
Gets the kernelkey.Property Value
ObjectBase.ConvertKeyKey
Gets or sets the convertkey.Property Value
ObjectBase.ConvertKeyKeyImpl
Property Value
UIntPtrObjectState
Gets the object state.Property Value
ObjectStateTypeObjectStateForCircularError
Gets the object state for circular error.Property Value
ObjectStateTypeOwner
Gets the owner.Property Value
ObjectBaseSkipModified
Gets or sets a value indicating whether [skip modified flag].Property Value
boolTopologyEntityTypeName
Get the object type nameProperty Value
stringUntypedEventCore
Gets the untypedeventcore.Property Value
ObjectEventCoreMethods
AddPostDeserialize(StreamingContext)
Add thi object to Post deserialize object list.Parameters
context StreamingContext
The StreamingContext.
CheckAndUpdateLink(HashSet<ObjectBase>)
Parameters
lstObj HashSet<ObjectBase>
ConnectProxy()
CreateEntityWhenUpdateContents(Action)
Parameters
action Action
CustomGetObjectData(SerializationInfo, StreamingContext)
Customize the GetObjectData function.Parameters
info SerializationInfo
The info.
context StreamingContext
The context.
DestroyObject(object, LinkEventArgs)
Destroy object.Parameters
objNotifier object
The event notifier.
arg LinkEventArgs
The event argument.
DestroyObject(DestroyEventArgs)
Destroy object.Parameters
arg DestroyEventArgs
The event argument.
DestroyObject()
Destroy object.Dispose(bool)
Parameters
A_0 bool
DisposeManagedResources()
Dispose managed resourcesDoWorkAfterUpdateContents()
After update contents, do work.FindObjectOnXmlDeserialize(string)
Get object by fullname.Parameters
strFullName string
The fullname.
Returns
ObjectBase The Object.FixUp(ObjectBase)
Before destroy the old object, perform a work.Parameters
ob ObjectBase
The old object.
Returns
booltrue if success; otherwise, false.
GetArgumentList(LinkedList<ObjectBase>)
Parameters
lstObj LinkedList<ObjectBase>
GetDestroyEventExtraData()
Returns
objectGetObjectByKey(UIntPtr)
Get object by key.Parameters
key UIntPtr
The key.
Returns
ObjectBase The Object.GetTargetListForUpdate()
Gets a updated objects.Returns
List<IEventProvider>Initialize(ConvertFactor)
Initializes member through unit convert factor.Parameters
factor Unit.ConvertFactor
The unit convert factor.
IsEqualArray<T>(T[], T[])
Equal two arrayParameters
arA T[]
The array A.
arB T[]
The array B.
Returns
boolType Parameters
T
IsEqualList(List<double>, List<double>)
Parameters
lstA List<double>
lstB List<double>
Returns
boolIsSerializableEvent(Delegate)
Determines whether is [serializable event] [the specified delegate].Parameters
del Delegate
The delegate.
Returns
booltrue if is [serializable event] [the specified delegate]; otherwise, false.
LinkAddedToDocument(object, AddToDocEventArgs)
Add linked object to a document.Parameters
objNotifier object
The linked object.
arg AddToDocEventArgs
The AddToDocEventArgs instance containing the event data.
LinkAddedToDocumentCore(IOwned, bool)
Parameters
owner IOwned
bBackup bool
LinkRemovedFromDocument(object, RemoveFromDocEventArgs)
Remove linked object to a document.Parameters
objNotifier object
The linked object.
arg RemoveFromDocEventArgs
The AddToDocEventArgs instance containing the event data.
LinkRequestDestroy(object, LinkEventArgs)
Request for destroy the linked object.Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The LinkEventArgs instance containing the event data.
LinkRequestDestroying(object, LinkEventArgs)
Request for destroying the linked object.Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The LinkEventArgs instance containing the event data.
LinkRequestUpdate(object, LinkEventArgs)
Request for update the linked object.Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The LinkEventArgs instance containing the event data.
LinkRequestUpdating(object, LinkEventArgs)
Request for updating the linked object.Parameters
objNotifier object
The linked object.
arg LinkEventArgs
The LinkEventArgs instance containing the event data.
OnDeserialization(object)
Called when [deserialization].Parameters
sender object
The sender.
OnLinkReserved(ILink, object, EventArgs)
Parameters
A_0 ILink
A_1 object
A_2 EventArgs
PostAddToDocument()
PostRemoveFromDocument(Document)
Parameters
document Document
RemoveFromCreatedList()
ReplaceEventCore(ObjectEventCore)
Replace event core.Parameters
coreNew ObjectEventCore
The object EventCore.
ResetInvalidEntity()
RollbackEvent()
SetContainer(IOwned, bool)
Parameters
obOwner IOwned
bBackup bool
SetFlagWhenXMLFile(string, bool)
Set flag when property file openParameters
strFilePath string
The file path.
bValue bool
The flag.
SetIconColor(Canvas)
Set color for icon.Parameters
canvas Canvas
The canvas.
SetModified(ModifiedType)
Called when object modified.Parameters
type ModifiedResult.ModifiedType
The modifed type.
SetModified()
Called when object modified.SetModified(ModifiedType, IDocument)
Parameters
type ModifiedResult.ModifiedType
doc IDocument
SetModifiedCore(ModifiedType)
Called when object modified.Parameters
type ModifiedResult.ModifiedType
The modified type
SetOldNameWithNewEntity(ObjectBase, ObjectBase)
Change for the new name.Parameters
obNew ObjectBase
The new object.
obOld ObjectBase
The old object.
SkipUpdateObjectImpl()
Skip the object that updated.Returns
boolUpdateContents(XmlReader, ObjectBase, string)
Update object.Parameters
reader XmlReader
The reader for object information.
obOld ObjectBase
The old object.
strRootElement string
The root element name.
Returns
ObjectBase The Object.UpdateContents(XmlReader, ObjectBase)
Update object.Parameters
reader XmlReader
The reader for object information.
obOld ObjectBase
The old object.
Returns
ObjectBase The Object.UpdateContents(string, string)
Update object.Parameters
strXml string
The xml for object information.
strRootElement string
The root element name.
Returns
ObjectBase The Object.UpdateContents(string)
Update object.Parameters
strXml string
The xml for object information.
Returns
ObjectBase The Object.Verify(VerifiedResult)
Verify.Parameters
vr VerifiedResult
The Verified result.
raise_Destroying(object, Identifier)
Parameters
sender object
args Identifier
raise_OnAdded(object, AddToDocEventArgs)
Parameters
objNotifier object
args AddToDocEventArgs
raise_OnContentsUpdated(object, EventArgs)
Parameters
value0 object
value1 EventArgs
raise_OnDestroy(object, LinkEventArgs)
Parameters
objNotifier object
args LinkEventArgs
raise_OnDestroying(object, LinkEventArgs)
Parameters
objNotifier object
args LinkEventArgs
raise_OnRemoved(object, RemoveFromDocEventArgs)
Parameters
obj object
args RemoveFromDocEventArgs
raise_OnUpdate(object, LinkEventArgs)
Parameters
objNotifier object
args LinkEventArgs
raise_OnUpdating(object, LinkEventArgs)
Parameters
objNotifier object
args LinkEventArgs
Destroying
Occurs when [on destroying].Event Type
EventHandler<Identifier>OnAdded
Occurs when [on add].Event Type
EventHandler<AddToDocEventArgs>OnContentsUpdated
Event Type
EventHandlerOnDestroy
Occurs when [on destroy].Event Type
EventHandler<LinkEventArgs>OnDestroying
Occurs when [on destroying].Event Type
EventHandler<LinkEventArgs>OnRemoved
Occurs when [on remove].Event Type
EventHandler<RemoveFromDocEventArgs>OnUpdate
Occurs when [on update].Event Type
EventHandler<LinkEventArgs>OnUpdating
Occurs when [on updating].Event Type
EventHandler<LinkEventArgs>Operators
implicit operator ObjectBase(UIntPtr)
Cast operator.Parameters
key UIntPtr
The key.
Returns
ObjectBaseimplicit operator UIntPtr(ObjectBase)
Cast operator.Parameters
ob ObjectBase
The object.