C# Class System.Runtime.Serialization.ObjectToIdCache

ファイルを表示 Open project: dotnet/corefx

Public Methods

Method Description
GetId ( object obj, bool &newId ) : int
ObjectToIdCache ( ) : System.Collections
ReassignId ( int oldObjId, object oldObj, object newObj ) : int

Private Methods

Method Description
ComputeStartPosition ( object o ) : int
FindElement ( object obj, bool &isEmpty, bool &isWrapped ) : int
GetPrime ( int min ) : int
Rehash ( ) : void
RemoveAt ( int position ) : void

Method Details

GetId() public method

public GetId ( object obj, bool &newId ) : int
obj object
newId bool
return int

ObjectToIdCache() public method

public ObjectToIdCache ( ) : System.Collections
return System.Collections

ReassignId() public method

public ReassignId ( int oldObjId, object oldObj, object newObj ) : int
oldObjId int
oldObj object
newObj object
return int