Struct ObjectId
  
  
  
  
  
  Assembly: SociallyDistant.Framework.dll
  Syntax
  
    public struct ObjectId : ISerializable
   
  Constructors
  
  ObjectId(int)
  
  
  Declaration
  
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | id |  | 
    
  
  Fields
  Invalid
  
  
  Declaration
  
    public static readonly ObjectId Invalid
   
  Field Value
  
  Properties
  
  Id
  
  
  Declaration
  
    public int Id { get; set; }
   
  Property Value
  
  
  IsInvalid
  
  
  Declaration
  
    public bool IsInvalid { get; }
   
  Property Value
  
  Methods
  
  Equals(ObjectId)
  
  
  Declaration
  
    public bool Equals(ObjectId other)
   
  Parameters
  
  Returns
  
  
  Equals(object?)
  Indicates whether this instance and a specified object are equal.
Declaration
  
    public override bool Equals(object? obj)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | object | obj | The object to compare with the current instance. | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | bool | true if objand this instance are the same type and represent the same value; otherwise, false. | 
    
  
  Overrides
  
  
  GetHashCode()
  Returns the hash code for this instance.
Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | int | A 32-bit signed integer that is the hash code for this instance. | 
    
  
  Overrides
  
  
  Read(IDataReader)
  
  
  Declaration
  
    public void Read(IDataReader reader)
   
  Parameters
  
  
  ToString()
  Returns the fully qualified type name of this instance.
Declaration
  
    public override string ToString()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | string | The fully qualified type name. | 
    
  
  Overrides
  
  
  Write(IDataWriter)
  
  
  Declaration
  
    public void Write(IDataWriter writer)
   
  Parameters
  
  Operators
  
  operator ==(ObjectId, ObjectId)
  
  
  Declaration
  
    public static bool operator ==(ObjectId left, ObjectId right)
   
  Parameters
  
  Returns
  
  
  implicit operator ObjectId(int)
  
  
  Declaration
  
    public static implicit operator ObjectId(int value)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | int | value |  | 
    
  
  Returns
  
  
  operator !=(ObjectId, ObjectId)
  
  
  Declaration
  
    public static bool operator !=(ObjectId left, ObjectId right)
   
  Parameters
  
  Returns
  
  Implements