mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 11:21:39 -10:00
* System.Web.UI/*.cs * System.Web.UI.WebControls.cs -- trying to make build. A nightmare!! svn path=/trunk/mcs/; revision=1629
93 lines
1.5 KiB
C#
Executable File
93 lines
1.5 KiB
C#
Executable File
/**
|
|
* Namespace: System.Web.UI.WebControls
|
|
* Class: AdCreatedEventArgs
|
|
*
|
|
* Author: Gaurav Vaish
|
|
* Maintainer: [email protected]
|
|
* Implementation: yes
|
|
* Contact: <[email protected]>
|
|
* Status: 100%
|
|
*
|
|
* (C) Gaurav Vaish (2001)
|
|
*/
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Web;
|
|
using System.Web.UI;
|
|
|
|
namespace System.Web.UI.WebControls
|
|
{
|
|
public sealed class AdCreatedEventArgs: EventArgs
|
|
{
|
|
|
|
private IDictionary adProperties;
|
|
private string alternateText;
|
|
private string imageUrl;
|
|
private string navigateUrl;
|
|
|
|
public AdCreatedEventArgs(IDictionary adProperties): base()
|
|
{
|
|
Initialize();
|
|
this.adProperties = adProperties;
|
|
if(adProperties!=null)
|
|
{
|
|
imageUrl = (string)adProperties["ImageUrl"];
|
|
navigateUrl = (string)adProperties["NavigateUrl"];
|
|
alternateText = (string)adProperties["AlternateText"];
|
|
}
|
|
}
|
|
|
|
private void Initialize()
|
|
{
|
|
alternateText = string.Empty;
|
|
imageUrl = string.Empty;
|
|
navigateUrl = string.Empty;
|
|
}
|
|
|
|
public IDictionary AdProperties
|
|
{
|
|
get
|
|
{
|
|
return adProperties;
|
|
}
|
|
}
|
|
|
|
public string AlternateText
|
|
{
|
|
get
|
|
{
|
|
return alternateText;
|
|
}
|
|
set
|
|
{
|
|
alternateText = value;
|
|
}
|
|
}
|
|
|
|
public string ImageUrl
|
|
{
|
|
get
|
|
{
|
|
return imageUrl;
|
|
}
|
|
set
|
|
{
|
|
imageUrl = value;
|
|
}
|
|
}
|
|
|
|
public string NavigateUrl
|
|
{
|
|
get
|
|
{
|
|
return navigateUrl;
|
|
}
|
|
set
|
|
{
|
|
navigateUrl = value;
|
|
}
|
|
}
|
|
}
|
|
}
|