C# Class Scriban.Runtime.ArrayAccessor

Inheritance: IListAccessor
显示文件 Open project: lunet-io/scriban

Public Properties

Property Type Description
Default ArrayAccessor

Public Methods

Method Description
GetLength ( object target ) : int
GetValue ( object target, int index ) : object
SetValue ( object target, int index, object value ) : void

Private Methods

Method Description
ArrayAccessor ( ) : System

Method Details

GetLength() public method

public GetLength ( object target ) : int
target object
return int

GetValue() public method

public GetValue ( object target, int index ) : object
target object
index int
return object

SetValue() public method

public SetValue ( object target, int index, object value ) : void
target object
index int
value object
return void

Property Details

Default public_oe static_oe property

public static ArrayAccessor,Scriban.Runtime Default
return ArrayAccessor