MFIdentifier Methods

Methods

_Resolve Internal resolving method.
Equals(MFIdentifier) Equality of two MFIdentifiers. For resolved identifiers, type and ID must match. If either one is unresolved, aliases or original ids must match.
Equals(Object) Equality with any other object.
(Overrides ObjectEquals(Object))
GetHashCode Get Hash Code.
(Overrides ObjectGetHashCode)
GetUnresolvedType  
IsNullOrEmpty Indicates whether specified MFIdentifier is null or empty.
IsNullOrUnresolved Indicates whether specified MFIdentifier is null or empty or not Resolved.
IsObjIDString Indicates if the passed string matches a valid ObjID format.
IsObjVerString Indicates if the passed string matches a valid ObjVer format.
IsValidGuid Indicates whether the passed string is a valid M-Files formatted GUID. {00000000-0000-0000-0000-000000000000}
ParseObjIDString Parses a string into an ObjID object.
Resolve(Vault, Type, Boolean) Update this MFIdentifier to contain resolved ID of the alias, if it is not already resolved. Returns itself to allow command chaining.
Resolve(Vault, Type, Int32, Boolean) Update this MFIdentifier to contain resolved ID of the alias, if it is not already resolved. Returns itself to allow command chaining.
ResolveID Resolves the id of a vault element by reference.
Set Helper function able to set the identifier value to almost any object type. Accepts MFIdentifier, string, int, enum, and other that cast to string. Returns itself to allow command chaining.
SetAsID Indicates whether the MFIdentifier was intially set as an id. Allows serialization to match deserialized values, or to skip resolution.
ShouldSerializeAlias Method deciding should we include Alias into serialization output. Yes when we have an alias.
ShouldSerializeID Method deciding should we include ID into serialization output. Yes only when we dont have an alias.
ToString Returns this instance of Alias value, if not avail, returns string of ID.
(Overrides ObjectToString)

See Also