Web Log di Adrian Florea

"You know you've achieved perfection in design, not when you have nothing more to add, but when you have nothing more to take away." Antoine de Saint-Exupery
posts - 440, comments - 2715, trackbacks - 3944

My Links


Post Categories

Image Galleries

.RO Blogs

.RO People

.RO Sites





I metodi della classe interna System.__Filters non sono ancora static

Nel commento della classe interna System.__Filters si può leggere:

"The following are the built in filters defined for this class. These should really be defined as static methods. They are used in as delegates which currently doesn't support static methods. We will change this once the compiler supports delegates."

o in quello del costruttore static della classe System.Type:

"Because the current compiler doesn't support static delegates the _Filters object is an object that we create to contain all of the filters."

Lo so, è un'osservazione un po' da pignolo :-) ma i metodi di questa classe (System.__Filters) sono ancora instance (dal luglio 1998...) e non static, sebbene i delegate, come ben sapiamo, si possono già utilizzare per la richiamata di metodi static.

Print | posted on lunedì 12 aprile 2004 02:25 | Filed Under [ Pattern Dappertutto Bugs? ]

Powered by:
Powered By Subtext Powered By ASP.NET