An Entity of Type: software, from Named Graph: http://dbpedia.org, within Data Space: dbpedia.org

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.

Property Value
dbo:abstract
  • 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. (en)
  • 方法级联调用(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 (zh)
dbo:wikiPageExternalLink
dbo:wikiPageID
  • 41071310 (xsd:integer)
dbo:wikiPageLength
  • 7452 (xsd:nonNegativeInteger)
dbo:wikiPageRevisionID
  • 1086396511 (xsd:integer)
dbo:wikiPageWikiLink
dbp:wikiPageUsesTemplate
dcterms:subject
gold:hypernym
rdf:type
rdfs:comment
  • 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. (en)
  • 方法级联调用(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 (zh)
rdfs:label
  • Method cascading (en)
  • 方法级联调用 (zh)
owl:sameAs
prov:wasDerivedFrom
foaf:isPrimaryTopicOf
is dbo:wikiPageWikiLink of
is foaf:primaryTopic of
Powered by OpenLink Virtuoso    This material is Open Knowledge     W3C Semantic Web Technology     This material is Open Knowledge    Valid XHTML + RDFa
This content was extracted from Wikipedia and is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License