Method cascading

http://dbpedia.org/resource/Method_cascading an entity of type: Software

In object-oriented programming, method cascading is syntax which allows multiple methods to be called on the same object. This is particularly applied in fluent interfaces. For example, in Dart, the cascade: a..b ..c; is equivalent to the individual calls: a.b;a.c; Method cascading is much less common than method chaining – it is found only in a handful of object-oriented languages, while chaining is very common. A form of cascading can be implemented using chaining, but this restricts the interface; see , below. rdf:langString
方法级联调用(Method cascading)是面向对象编程语言中对同一个对象调用其多个方法时的一种语法糖。特别适用于实现流畅接口。 例如在Dart语言中: a..b ..c; 等价于单独调用: a.b;a.c; Visual Basic允许对同一个对象调用任意多次的方法或属性: With ExpressionThatReturnsAnObject .SomeFunction(42) .Property = valueEnd With With..End With块在Visual Basic中可以嵌套: With ExpressionThatReturnsAnObject .SomeFunction(42) .Property = value With .SubObject .SubProperty = otherValue .AnotherMethod(42) End WithEnd With rdf:langString
rdf:langString Method cascading
rdf:langString 方法级联调用
xsd:integer 41071310
xsd:integer 1086396511
rdf:langString In object-oriented programming, method cascading is syntax which allows multiple methods to be called on the same object. This is particularly applied in fluent interfaces. For example, in Dart, the cascade: a..b ..c; is equivalent to the individual calls: a.b;a.c; Method cascading is much less common than method chaining – it is found only in a handful of object-oriented languages, while chaining is very common. A form of cascading can be implemented using chaining, but this restricts the interface; see , below.
rdf:langString 方法级联调用(Method cascading)是面向对象编程语言中对同一个对象调用其多个方法时的一种语法糖。特别适用于实现流畅接口。 例如在Dart语言中: a..b ..c; 等价于单独调用: a.b;a.c; Visual Basic允许对同一个对象调用任意多次的方法或属性: With ExpressionThatReturnsAnObject .SomeFunction(42) .Property = valueEnd With With..End With块在Visual Basic中可以嵌套: With ExpressionThatReturnsAnObject .SomeFunction(42) .Property = value With .SubObject .SubProperty = otherValue .AnotherMethod(42) End WithEnd With
xsd:nonNegativeInteger 7452

data from the linked data cloud