Merge from booking branch
This commit is contained in:
parent
25906d0227
commit
9a2652739b
266 changed files with 12833 additions and 2337 deletions
61
booking/Settings/ThanksConfigurationElement.cs
Normal file
61
booking/Settings/ThanksConfigurationElement.cs
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
using System;
|
||||
using System.Configuration;
|
||||
|
||||
namespace Yavsc
|
||||
{
|
||||
/// <summary>
|
||||
/// Thanks configuration element.
|
||||
/// </summary>
|
||||
public class ThanksConfigurationElement : ConfigurationElement
|
||||
{
|
||||
/// <summary>
|
||||
/// Gets or sets the name.
|
||||
/// </summary>
|
||||
/// <value>The name.</value>
|
||||
[ConfigurationProperty("name", IsKey=true, IsRequired=true)]
|
||||
public string Name {
|
||||
get {
|
||||
return (string) base ["name"];
|
||||
}
|
||||
set { base ["name"] = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or sets the URL.
|
||||
/// </summary>
|
||||
/// <value>The URL.</value>
|
||||
[ConfigurationProperty("url")]
|
||||
public string Url {
|
||||
get {
|
||||
return (string) base ["url"];
|
||||
}
|
||||
set { base ["url"] = value; }
|
||||
}
|
||||
/// <summary>
|
||||
/// Gets or sets the image.
|
||||
/// </summary>
|
||||
/// <value>The image.</value>
|
||||
[ConfigurationProperty("image")]
|
||||
public string Image {
|
||||
get {
|
||||
return (string) base ["image"];
|
||||
}
|
||||
set { base ["image"] = value; }
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets or sets the display.
|
||||
/// </summary>
|
||||
/// <value>
|
||||
/// The displaied text when no image is provided and we
|
||||
/// don't want use the name attribute.
|
||||
/// </value>
|
||||
[ConfigurationProperty("display")]
|
||||
public string Display {
|
||||
get {
|
||||
return (string) base ["display"];
|
||||
}
|
||||
set { base ["display"] = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue