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 link
C#
using System.Collections.Generic;
using System.Linq;
using System.Text.RegularExpressions;
using System.Web;
 
namespace System.Text {
    public static class StringTransformer {
        static readonly string linkFormat = "<a href=\"{0}\" title=\"{0}\" target=\"{2}\" class=\"{3}\">{1}</a>";
 
        /// <summary>
by SandRock   January 20, 2012 @ 11:21am
Tags: C#, url, html, link
105 Views
no comments
 
C++
/*
 * Дек (свързан списък)
 *
 * @author Михаил Николов
 * @version 1.0
 * @date 4.06.2011
 *
 */
#include <iostream>
100 Views
no comments
 
C++
/*
 * Опашка (свързан списък)
 *
 * @author Михаил Николов
 * @version 1.0
 * @date 4.06.2011
 *
 */
#include <iostream>
91 Views
no comments
 
function updatePerson() {
    
    person.firstName = "Jimmy";
    person.lastName = "Row";
    $(person).trigger("changeData",["firstName",person.firstName])
             .trigger("changeData",["lastName",person.lastName]);
}
by Rick Strahl   October 25, 2010 @ 2:36pm
382 Views
no comments
 
C++
/********************/
/* ListaCirculara.h */
/********************/
 
#ifndef LISTA_CIRCULARA
#define LISTA_CIRCULARA
 
struct nod
{
    nod *next;
by Parvulescu Cosmin   January 22, 2010 @ 7:46am
163 Views
no comments
 
C++
/**************************/
/* ListaDubluInlantuita.h */
/**************************/
 
#ifndef LISTA_DUBLA
#define LISTA_DUBLA
 
struct nod
{
    nod *llink;
by Parvulescu Cosmin   January 22, 2010 @ 7:44am
154 Views
no comments
 
C++
/***************************/
/* ListaSimpluInlantuita.h */
/***************************/
 
#ifndef LISTA_SIMPLA
#define LISTA_SIMPLA
 
struct nod
{
    int val;
by Parvulescu Cosmin   January 22, 2010 @ 5:28am
163 Views
no comments
 
C#
/// <summary>
/// Creates a string list that contains the hierrarchy leading to the current page
/// </summary>
/// <param name="currentPage"></param>
/// <param name="ReplaceStartWithLangCode"></param>
/// <param name="ReverseSort"></param>
/// <returns></returns>
public static List<string> GetBreadCrumb(PageData currentPage, bool ReplaceStartWithLangCode, bool ReverseSort)
{
   if (currentPage != null)
642 Views
no comments
 
C#
/// <summary>
/// Get all pages from the LinkItemCollection property
/// </summary>
/// <returns>PageDataCollection</returns>
public PageDataCollection GetLinkCollectionPages(string propertyName)
{
   PageDataCollection pages = new PageDataCollection();
   LinkItemCollection links = CurrentPage[propertyName] != null ? CurrentPage.Property[propertyName].Value as LinkItemCollection : null;
   if (links != null)
   {
541 Views
no comments
 
C#
[Serializable]
public class LinkedList : IList, ICollection, IEnumerable
{
    // Fields
    private int _modId;
    private int _nodeIndex;
    private Node _rootNode;
 
    // Methods
    public LinkedList()
by Athens Springer   October 29, 2009 @ 12:56pm
290 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