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 macro
C#
@foreach(var pic in Model.stfuGalleryImage.Where( "Visible" ) ) {
              <figure>
                 <img src="@pic.galleryImage" alt="@pic.galleryImageTitle" data-tags="@pic.galleryImageTags" />
                @if ( @pic.galleryImageDescription != "" ) { 
                  <figcaption class="opaque">@pic.galleryImageDescription</figcaption>
                }
              </figure>
}
@foreach(var vid in Model.stfuGalleryVideo.Where( "Visible" ) ) {
              <figure title="@vid.galleryImageTitle" data-tags="@vid.galleryImageTags">
by Jon R. Humphrey   January 31, 2012 @ 5:17am
12 Views
2 comments
 
mcd=md $1&cd $1
by Al Gonzalez   November 08, 2010 @ 1:16pm
188 Views
no comments
 
mdsd=echo off &&for /F "tokens=2,3,4 delims=/ " %i in ('date /t') do set dtName=%k%i%j$Tmd $1%dtName%$2$Tset dtName=&& echo on
by Al Gonzalez   November 08, 2010 @ 1:14pm
150 Views
no comments
 
' Import ...
 
Public Module EnvironmentEvents
 
' Autogenerated code ...
 
    Private Sub BuildEvents_OnBuildDone(ByVal Scope As EnvDTE.vsBuildScope, ByVal Action As EnvDTE.vsBuildAction) Handles BuildEvents.OnBuildDone
        If (DTE.ToolWindows.ErrorList.ErrorItems.Count = 0) Then
            SelectRootNode()
            DTE.ExecuteCommand("TestDriven.NET.RunTests")
by Dennis Traub   June 17, 2010 @ 9:40pm
349 Views
no comments
 
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports EnvDTE100
Imports System.Diagnostics
Imports System.IO
Imports System.Threading
Imports System.ComponentModel
by Keith   May 31, 2010 @ 5:32pm
362 Views
no comments
 
mtsd=echo off &&for /F "tokens=2,3,4 delims=/ " %i in ('date /t') do set dtName=%k%i%j$Tfor /F "tokens=1,2,3 delims=: " %i in ('time /t') do set dtName=%dtName%_%i%j%k$Tmd $1%dtName%$2$Tset dtName=&& echo on
by Al Gonzalez   February 10, 2010 @ 2:27pm
261 Views
no comments
 
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports System.Diagnostics
 
Public Module Environment
 
 
#Region " CollapseAll Support "
by Mark Wise   December 28, 2009 @ 2:25pm
490 Views
no comments
 
Sub ToggleMvcBuildViews()
    DTE.ExecuteCommand("Project.UnloadProject")
    DTE.ExecuteCommand("OtherContextMenus.StubProject.EditProjectFile")
 
    Dim wasSetToTrue As Boolean = SetMvcBuildView(True)
    Dim wasSetToFalse As Boolean
    If Not wasSetToTrue Then
        wasSetToFalse = SetMvcBuildView(False)
    End If
by Al Gonzalez   December 08, 2009 @ 9:31pm
710 Views
no comments
 
Sub RemoveExclusiveAttributes()
    Dim originalSyntax = DTE.Find.PatternSyntax
    Dim originalWhat = DTE.Find.FindWhat
    Dim originalTarget = DTE.Find.Target
    Dim originalAction = DTE.Find.Action
 
    DTE.Find.PatternSyntax = vsFindPatternSyntax.vsFindPatternSyntaxLiteral
    DTE.Find.FindWhat = "[Exclusive]"
    DTE.Find.Target = vsFindTarget.vsFindTargetCurrentProject
    DTE.Find.Action = vsFindAction.vsFindActionFind
by Jeff Handley   October 22, 2009 @ 10:49pm
279 Views
no comments
 
Imports System
Imports EnvDTE
Imports EnvDTE80
Imports EnvDTE90
Imports System.Diagnostics
 
Public Module Tools
    Public Sub DateTimeStamp()
        Dim textSelection As EnvDTE.TextSelection
        textSelection = DTE.ActiveDocument.Selection
by kopelli   September 28, 2009 @ 1:37pm
Tags: Macro
236 Views
no 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