Reference<T>

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.builtin

Implements

 

constructor (Func<T>, Action<T>)

 

constructor(aRead: Func<T>; aWrite: Action<T>)

 

Reference<T>(Func<T> aRead, Action<T> aWrite)

 

init(_ aRead: Func<T>, _ aWrite: Action<T>)

Parameters:

  • aRead:
  • aWrite:

constructor (T)

 

constructor(aValue: T)

 

Reference<T>(T aValue)

 

init(_ aValue: T)

Parameters:

  • aValue:

Get

 

// .NET, .NET Standard 2.0, Island
method Get: Object
// macOS
method Get: Object

 

// .NET, .NET Standard 2.0, Island
Object Get()
// macOS
Object Get()

 

// .NET, .NET Standard 2.0, Island
func Get() -> Object
// macOS
func Get() -> Object

 

// .NET, .NET Standard 2.0, Island
func Get() interface{}
// macOS
func Get() Object

Get (Reference<T>): T

 

class method Get(aVal: Reference<T>): T

 

static T Get(Reference<T> aVal)

 

static func Get(_ aVal: Reference<T>) -> T

 

func Get(aVal Reference<T>) T

Parameters:

  • aVal:

Read

 

property Read: Func<T> read;

 

Func<T> Read { get; }

 

var Read: Func<T> { get{} }

 

Read Func<T>

Set (Object) .NET, .NET Standard 2.0, Island

 

method Set(o: Object)

 

void Set(Object o)

 

func Set(_ o: Object)

 

func Set(o interface{})

Parameters:

  • o:

Set (Object) macOS

 

method Set(o: Object)

 

void Set(Object o)

 

func Set(_ o: Object)

 

void Set(Object o)

 

func Set(o Object)

Parameters:

  • o:

Set (Reference<T>, T)

 

class method Set(aVal: Reference<T>; aValue: T)

 

static void Set(Reference<T> aVal, T aValue)

 

static func Set(_ aVal: Reference<T>, _ aValue: T)

 

func Set(aVal Reference<T>, aValue T)

Parameters:

  • aVal:
  • aValue:

Value

 

property Value: T read write;

 

T Value { get; set; }

 

var Value: T { get{} set{} }

 

Value T

Write

 

property Write: Action<T> read;

 

Action<T> Write { get; }

 

var Write: Action<T> { get{} }

 

Write Action<T>

 

Read

 

property Read: Func<T> read;

 

Func<T> Read { get; }

 

var Read: Func<T> { get{} }

 

Read Func<T>

Value

 

property Value: T read write;

 

T Value { get; set; }

 

var Value: T { get{} set{} }

 

Value T

Write

 

property Write: Action<T> read;

 

Action<T> Write { get; }

 

var Write: Action<T> { get{} }

 

Write Action<T>

 

Get (Reference<T>): T

 

class method Get(aVal: Reference<T>): T

 

static T Get(Reference<T> aVal)

 

static func Get(_ aVal: Reference<T>) -> T

 

func Get(aVal Reference<T>) T

Parameters:

  • aVal:

Set (Reference<T>, T)

 

class method Set(aVal: Reference<T>; aValue: T)

 

static void Set(Reference<T> aVal, T aValue)

 

static func Set(_ aVal: Reference<T>, _ aValue: T)

 

func Set(aVal Reference<T>, aValue T)

Parameters:

  • aVal:
  • aValue:

 

constructor (Func<T>, Action<T>)

 

constructor(aRead: Func<T>; aWrite: Action<T>)

 

Reference<T>(Func<T> aRead, Action<T> aWrite)

 

init(_ aRead: Func<T>, _ aWrite: Action<T>)

Parameters:

  • aRead:
  • aWrite:

constructor (T)

 

constructor(aValue: T)

 

Reference<T>(T aValue)

 

init(_ aValue: T)

Parameters:

  • aValue:

Get

 

// .NET, .NET Standard 2.0, Island
method Get: Object
// macOS
method Get: Object

 

// .NET, .NET Standard 2.0, Island
Object Get()
// macOS
Object Get()

 

// .NET, .NET Standard 2.0, Island
func Get() -> Object
// macOS
func Get() -> Object

 

// .NET, .NET Standard 2.0, Island
func Get() interface{}
// macOS
func Get() Object

Set (Object) .NET, .NET Standard 2.0, Island

 

method Set(o: Object)

 

void Set(Object o)

 

func Set(_ o: Object)

 

func Set(o interface{})

Parameters:

  • o:

Set (Object) macOS

 

method Set(o: Object)

 

void Set(Object o)

 

func Set(_ o: Object)

 

void Set(Object o)

 

func Set(o Object)

Parameters:

  • o: