CodePaste Logo
New Snippet New Snippet Recent Snippets Recent Snippets My Snippets My Snippets Web Code Search Snippets Search
Sign inor Register
Format:
Recent snippets matching tags of Continuous Integration
#If DEBUG = False Then
<Obsolete("This class/method is a stub and should not be in production.", True)> _
Public Class StubAttribute
#Else
<Obsolete("This class/method is a stub and should not be in production.", False)> _
Public Class StubAttribute
#End If
    Inherits Attribute
 
    Private _value As String
by Aron Tsang   September 07, 2010 @ 1:54am
178 Views
no comments
 
#If DEBUG Then
    <Obsolete("This should not be in production", False)> _
    Public Sub BreakBuildIfIsNotDebug()
 
    End Sub
#Else
       <Obsolete("This should not be in production", True)> _
    Public Sub BreakBuildIfIsNotDebug()
 
    End Sub
by Aron Tsang   September 06, 2010 @ 10:00am
244 Views
1 comments
 
brought to you by:
West Wind Techologies



If you find this site useful and use it frequently please consider making a donation to support this free service.
Donate