Coding Standards

We use StyleCop to standardize most of our source code.

File Headers

All our file headers must contain the following beginning line number 0 (or 1 for the VB indexed minds):

//-----------------------------------------------------------------------
// <copyright file="<FileName>" company="FastNET Services">
//     Copyright (c) 2008-2009. All Right Reserved.
// </copyright>
// <license>
//    GPLv2
// </license>
// <warranty>
//     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING
//     BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
//     NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
//     DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
//     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
// </warranty>
//-----------------------------------------------------------------------

Code Snippets
GateShift File Header.snippet

Last edited May 20, 2009 at 12:43 AM by TMYates, version 4

Comments

No comments yet.