Struct Movable<T>
Inherited Members
      System.ValueType.Equals(System.Object)
    
    
      System.ValueType.GetHashCode()
    
    
      System.ValueType.ToString()
    
    
      System.Object.Equals(System.Object, System.Object)
    
    
      System.Object.GetType()
    
    
      System.Object.ReferenceEquals(System.Object, System.Object)
    
  Namespace: LibSugar
Assembly: LibSugar.dll
Syntax
public struct Movable<T> : IMovable<Movable<T>>, IDisposable where T : IDisposable
  Type Parameters
| Name | Description | 
|---|---|
| T | 
Constructors
| Improve this Doc View SourceMovable(T)
Declaration
public Movable(T value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | value | 
Fields
| Improve this Doc View SourceValue
Declaration
public T Value
  Field Value
| Type | Description | 
|---|---|
| T | 
Properties
| Improve this Doc View SourceIsMoved
Declaration
public readonly bool IsMoved { get; }
  Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
| Improve this Doc View SourceDispose()
Declaration
public void Dispose()
  Move()
Declaration
public Movable<T> Move()
  Returns
| Type | Description | 
|---|---|
| Movable<T> | 
Operators
| Improve this Doc View SourceImplicit(T to Movable<T>)
Declaration
public static implicit operator Movable<T>(T value)
  Parameters
| Type | Name | Description | 
|---|---|---|
| T | value | 
Returns
| Type | Description | 
|---|---|
| Movable<T> | 
Implicit(Movable<T> to T)
Declaration
public static implicit operator T(Movable<T> self)
  Parameters
| Type | Name | Description | 
|---|---|---|
| Movable<T> | self | 
Returns
| Type | Description | 
|---|---|
| T | 
Implements
      System.IDisposable
  
  Extension Methods
      Sugar.Borrow<T>(T)
  
  
      Sugar.Owner<T>(T)