Class with comments that say "Do not use"
-
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)Wouldn't have classed that as a message for Coding Horrors, but more a question for the Lounge? The .net framework documentation is full of classes and methods that have 'Not to be used directly from user code, internal use only' or words to that effect.
Dave Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.com -
Wouldn't have classed that as a message for Coding Horrors, but more a question for the Lounge? The .net framework documentation is full of classes and methods that have 'Not to be used directly from user code, internal use only' or words to that effect.
Dave Don't forget to rate messages!
Find Me On: Web|Facebook|Twitter|LinkedIn
Waving? dave.m.auld[at]googlewave.com -
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)It looks to me like the "Do not press" red button :laugh:
I have no smart signature yet...
-
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)Abhinav S wrote:
Anyone else came across any class / namespace MS provides that says "Do not use".
The whole of VB? At least it should :-).
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
-
Abhinav S wrote:
Anyone else came across any class / namespace MS provides that says "Do not use".
The whole of VB? At least it should :-).
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
-
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)Lots of places; especially where a class/method has been deprecated in favour of a newer version.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
Lots of places; especially where a class/method has been deprecated in favour of a newer version.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
No problem, can't expect to make a statement like that without comment from the VBers knocking around :laugh:
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
-
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)That was done by mistake. See: http://forums-silverlight-dit.neudesic.com/forums/p/115994/262528.aspx[^]
Regards, Nish
Blog: blog.voidnish.com Most recent article: An MVVM friendly approach to adding system menu entries in a WPF application
-
Lots of places; especially where a class/method has been deprecated in favour of a newer version.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
No problem, can't expect to make a statement like that without comment from the VBers knocking around :laugh:
Dalek Dave: There are many words that some find offensive, Homosexuality, Alcoholism, Religion, Visual Basic, Manchester United, Butter. Pete o'Hanlon: If it wasn't insulting tools, I'd say you were dumber than a bag of spanners.
-
That was done by mistake. See: http://forums-silverlight-dit.neudesic.com/forums/p/115994/262528.aspx[^]
Regards, Nish
Blog: blog.voidnish.com Most recent article: An MVVM friendly approach to adding system menu entries in a WPF application
-
If a can of gasoline had a picture with a lit match with an X through it, would that mean you would want to throw a lit match in the can. :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
-
That was done by mistake. See: http://forums-silverlight-dit.neudesic.com/forums/p/115994/262528.aspx[^]
Regards, Nish
Blog: blog.voidnish.com Most recent article: An MVVM friendly approach to adding system menu entries in a WPF application
So in other words, instead of a "Do not use" comment, it really should say, "Don't forget to cast". :)
Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]
-
I came across this class today -
RenderingEventArgs
. This is part of the SilverlightSystem.Windows.Media
namespace. When I tried to use it, intellisense gave me a message "Do not use". If you go to its definition, all thta the code comment tells me is "Do not use". Now that's interesting. Anyone else came across any class / namespace MS provides that says "Do not use". :)