C# 클래스 IronRuby.Builtins.RubyStructOps

파일 보기 프로젝트 열기: jschementi/iron 1 사용 예제들

공개 메소드들

메소드 설명
CreateAnonymousWithFirstAttribute ( BlockParam block, RubyClass self, string firstAttribute, string attributeNames ) : object

비공개 메소드들

메소드 설명
AllocatorUndefined ( RubyClass self ) : void
Create ( BlockParam block, RubyClass self, string className, string attributeNames ) : object

Struct#new Creates Struct classes with the specified name and members

Each ( BlockParam block, RubyStruct self ) : object
EachPair ( BlockParam block, RubyStruct self ) : object
Equal ( BinaryOpStorage eqlStorage, RubyStruct self, object other ) : bool
Equals ( BinaryOpStorage equals, RubyStruct self, object obj ) : bool
GetMembers ( RubyStruct self ) : RubyArray
GetSize ( RubyStruct self ) : int
GetValue ( ConversionStorage conversionStorage, RubyStruct self, object index ) : object
GetValue ( RubyStruct self, [ name ) : object
GetValue ( RubyStruct self, int index ) : object
Hash ( UnaryOpStorage hashStorage, ConversionStorage fixnumCast, RubyStruct self ) : int
InitializeCopy ( RubyStruct self, [ source ) : RubyStruct
Inspect ( RubyStruct self ) : MutableString
NewAnonymousStruct ( BlockParam block, RubyClass self, [ firstAttibuteName ) : object
NewStruct ( BlockParam block, RubyClass self, [ className ) : object
NormalizeIndex ( int itemCount, int index ) : int
Reinitialize ( RubyStruct self ) : void
Select ( CallSiteStorage each, BlockParam predicate, RubyStruct self ) : object
SetValue ( ConversionStorage conversionStorage, RubyStruct self, object index, object value ) : object
SetValue ( RubyStruct self, [ name, object value ) : object
SetValue ( RubyStruct self, int index, object value ) : object
Values ( RubyStruct self ) : RubyArray
ValuesAt ( ConversionStorage fixnumCast, RubyStruct self ) : RubyArray

메소드 상세

CreateAnonymousWithFirstAttribute() 공개 정적인 메소드

public static CreateAnonymousWithFirstAttribute ( BlockParam block, RubyClass self, string firstAttribute, string attributeNames ) : object
block IronRuby.Runtime.BlockParam
self RubyClass
firstAttribute string
attributeNames string
리턴 object