ResultItem.cs :  » Database » SQL-Power-Injector » SQLPowerInjector » C# / CSharp Open Source

Home
C# / CSharp Open Source
1.2.6.4 mono .net core
2.2.6.4 mono core
3.Aspect Oriented Frameworks
4.Bloggers
5.Build Systems
6.Business Application
7.Charting Reporting Tools
8.Chat Servers
9.Code Coverage Tools
10.Content Management Systems CMS
11.CRM ERP
12.Database
13.Development
14.Email
15.Forum
16.Game
17.GIS
18.GUI
19.IDEs
20.Installers Generators
21.Inversion of Control Dependency Injection
22.Issue Tracking
23.Logging Tools
24.Message
25.Mobile
26.Network Clients
27.Network Servers
28.Office
29.PDF
30.Persistence Frameworks
31.Portals
32.Profilers
33.Project Management
34.RSS RDF
35.Rule Engines
36.Script
37.Search Engines
38.Sound Audio
39.Source Control
40.SQL Clients
41.Template Engines
42.Testing
43.UML
44.Web Frameworks
45.Web Service
46.Web Testing
47.Wiki Engines
48.Windows Presentation Foundation
49.Workflows
50.XML Parsers
C# / C Sharp
C# / C Sharp by API
C# / CSharp Tutorial
C# / CSharp Open Source » Database » SQL Power Injector 
SQL Power Injector » SQLPowerInjector » ResultItem.cs
//*********************************************************************
//                                   //
//  SQL Power Injector 1.2 Copyright (c) 2006-2007 Francois Larouche //
//                                   //
//  Author  : francois.larouche@sqlpowerinjector.com         //
//  Web Site: www.sqlpowerinjector.com                 //
//                                   //
//*******************************************************************//
using System;
using System.Xml.Serialization;

namespace SQLPowerInjector{
  /// <summary>
  /// Summary description for ResultItem.
  /// </summary>
  internal class CResultItem
  {
    private string  _status;
    private string  _SQLError;

    public CResultItem()
    {
      _status  = "";
      _SQLError = "";
    }

    public CResultItem(string st, string SQLErr)
    {
      _status  = st;
      _SQLError = SQLErr;
    }

    public string ItemStatus
    {
      get { return _status; }
      set { _status = value; }
    }
  
    public string ItemSQLError
    {
      get { return _SQLError; }
      set { _SQLError = value; }
    }
  }

  internal class VariableRangeResultItem
  {
    private string  _result;

    public VariableRangeResultItem()
    {
      _result  = "";
    }

    public VariableRangeResultItem(string result)
    {
      _result  = result;
    }

    public string ItemResultString
    {
      get { return _result; }
      set { _result = value; }
    }
  }

  internal class CLoadPageCookie
  {
    private string  _name;
    private string  _value;

    public CLoadPageCookie()
    {
      _name  = "";
      _value = "";
    }

    public CLoadPageCookie(string name, string cookieValue)
    {
      _name  = name;
      _value = cookieValue;
    }

    public string LoadPageCookieName
    {
      get { return _name; }
      set { _name = value; }
    }
  
    public string LoadPageCookieValue
    {
      get { return _value; }
      set { _value = value; }
    }
  }

  [Serializable]
  public class CHtmlInputInject
  {
    private string _name;
    private string _startStr;
    private string _varyingStr;
    private string _endStr;
    private bool _isSelected;

    public CHtmlInputInject()
    {
      _name  = "";
      _startStr = "";
      _varyingStr = "";
      _endStr = "";
      _isSelected = false;
    }

    public CHtmlInputInject(string name, string startingString, string varyingString, string endingString, bool isSelected)
    {
      _name = name;
      _startStr = startingString;
      _varyingStr = varyingString;
      _endStr = endingString;
      _isSelected = isSelected;
    }

    [XmlAttribute]
    public string ItemName
    {
      get { return _name; }
      set { _name = value; }
    }
  
    [XmlAttribute]
    public string ItemStartingString
    {
      get { return _startStr; }
      set { _startStr = value; }
    }

    [XmlAttribute]
    public string ItemVaryingString
    {
      get { return _varyingStr; }
      set { _varyingStr = value; }
    }

    [XmlAttribute]
    public string ItemEndingString
    {
      get { return _endStr; }
      set { _endStr = value; }
    }
    
    [XmlAttribute]
    public bool ItemIsSelected
    {
      get { return _isSelected; }
      set { _isSelected = value; }
    }
  }

  [Serializable]
  public class CHtmlInputNotInject
  {
    private string _name;
    private string _inputValue;

    public CHtmlInputNotInject()
    {
      _name  = "";
      _inputValue = "";
    }

    public CHtmlInputNotInject(string name, string inputValue)
    {
      _name  = name;
      _inputValue = inputValue;
    }

    [XmlAttribute]
    public string ItemName
    {
      get { return _name; }
      set { _name = value; }
    }
  
    [XmlAttribute]
    public string ItemInputValue
    {
      get { return _inputValue; }
      set { _inputValue = value; }
    }
  }

  [Serializable]
  public class CCookieInject
  {
    private string _name;
    private string _startStr;
    private string _varyingStr;
    private string _endStr;
    private bool _isSelected;
    private bool _useIt;
    private bool _isExpired;

    public CCookieInject()
    {
      _name  = "";
      _startStr = "";
      _varyingStr = "";
      _endStr = "";
      _isSelected = false;
      _useIt = true;
      _isExpired = false;
    }

    public CCookieInject(string name, string startingString, string varyingString, string endingString, bool isSelected, bool useIt, bool isExpired)
    {
      _name = name;
      _startStr = startingString;
      _varyingStr = varyingString;
      _endStr = endingString;
      _isSelected = isSelected;
      _useIt = useIt;
      _isExpired = isExpired;
    }

    [XmlAttribute]
    public string CookieName
    {
      get { return _name; }
      set { _name = value; }
    }
  
    [XmlAttribute]
    public string CookieStartingString
    {
      get { return _startStr; }
      set { _startStr = value; }
    }

    [XmlAttribute]
    public string CookieVaryingString
    {
      get { return _varyingStr; }
      set { _varyingStr = value; }
    }

    [XmlAttribute]
    public string CookieEndingString
    {
      get { return _endStr; }
      set { _endStr = value; }
    }
    
    [XmlAttribute]
    public bool CookieIsSelected
    {
      get { return _isSelected; }
      set { _isSelected = value; }
    }

    [XmlAttribute]
    public bool CookieIsUsed
    {
      get { return _useIt; }
      set { _useIt = value; }
    }

    [XmlAttribute]
    public bool CookieIsExpired
    {
      get { return _isExpired; }
      set { _isExpired = value; }
    }
  }
}
www.java2v.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.