Tuesday, May 17, 2011

Productivity tips

Productivity tips : Use the following snippet to create Item Templates. Also Read this article for more info

Click Here for a complete list of Item Template parameters

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
//========================================================================
// <copyright file="$safeitemname$.cs" company="$registeredorganization$">
//      Copyright (c) 2011 All Rights Reserved
// </copyright>
// <author>Shardul Ghanti</author>
// <projectName>$rootnamespace$</projectName>
// <email>Shardul.Ghanti@logica.com</email>
// <CreationDate>$time$</CreationDate>
//========================================================================

namespace $rootnamespace$
{
    /// <summary>
    /// <value>$safeitemname$</value>
    /// </summary>
   public class $safeitemname$
    {
        #region Constructors
        public $safeitemname$()
        {
        // Parameter-less Constructor Code
        }
    #endregion

        #region Fields

    #endregion

        #region Properties

    #endregion

        #region Methods

    #endregion
    }

}


============================================


Public Enums


using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


//========================================================================
// <copyright file="$safeitemname$.cs" company="$registeredorganization$">
//      Copyright (c) 2011 All Rights Reserved
// </copyright>
// <author>Shardul Ghanti</author>
// <projectName>$rootnamespace$</projectName>
// <email>Shardul.Ghanti@logica.com</email>
// <CreationDate>$time$</CreationDate>
//========================================================================

namespace $rootnamespace$
{
    /// <summary>
    /// <value>$safeitemname$</value>
    /// </summary>
   public enum $safeitemname$ : int
   {


   }

}



No comments:

Post a Comment