Files
mono/mcs/class/System.Web/System.Web.UI.WebControls/AdCreatedEventArgs.cs
T
Chris Toshok dc85d267f5 2005-09-01 Chris Toshok <[email protected]>
* System.Web.UI.WebControls/Button.cs,
	System.Web.UI.WebControls/ButtonField.cs,
	System.Web.UI.WebControls/DataControlField.cs,
	System.Web.UI.WebControls/BaseCompareValidator.cs,
	System.Web.UI.WebControls/AutoGeneratedField.cs,
	System.Web.UI.WebControls/CustomValidator.cs,
	System.Web.UI.WebControls/Content.cs,
	System.Web.UI.WebControls/BoundField.cs,
	System.Web.UI.WebControls/AdRotator.cs,
	System.Web.UI.WebControls/ButtonColumn.cs,
	System.Web.UI.WebControls/CompareValidator.cs,
	System.Web.UI.WebControls/AdCreatedEventArgs.cs: More corcompare
	work.  Stub things out, and add attributes.


svn path=/trunk/mcs/; revision=49303
2005-09-01 22:41:03 +00:00

80 lines
2.1 KiB
C#

//
// Copyright (C) 2005 Novell, Inc (http://www.novell.com)
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to
// permit persons to whom the Software is furnished to do so, subject to
// the following conditions:
//
// The above copyright notice and this permission notice shall be
// included in all copies or substantial portions of the Software.
//
// 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.
//
//
// System.Web.UI.WebControls.AdCreatedEventArgs.cs
//
// Author:
// Jackson Harper ([email protected])
//
using System;
using System.Collections;
namespace System.Web.UI.WebControls {
public
#if !NET_2_0
sealed
#endif
class AdCreatedEventArgs : EventArgs {
private IDictionary properties;
private string alt_text;
private string img_url;
private string nav_url;
public AdCreatedEventArgs (IDictionary adProperties)
{
properties = adProperties;
if (properties != null) {
alt_text = (string) properties ["AlternateText"];
img_url = (string) properties ["ImageUrl"];
nav_url = (string) properties ["NavigateUrl"];
}
}
public IDictionary AdProperties {
get { return properties; }
}
public string AlternateText {
get { return alt_text; }
set { alt_text = value; }
}
public string ImageUrl {
get { return img_url; }
set { img_url = value; }
}
public string NavigateUrl {
get { return nav_url; }
set { nav_url = value; }
}
}
}