Skip to content

Instantly share code, notes, and snippets.

View tucaz's full-sized avatar

tucaz tucaz

View GitHub Profile
var div = new Div("indent")
.Add(new CheckBox("checkbox hascc", "chkHasCC").Value("true"))
if (isEdit)
{
div.First<CheckBox>().Checked();
}
var header = new H3("line", "HON Customer Information")
.Add(new Br());
var div = new Div("indent")
.Add(new CheckBox("checkbox hascc", "chkHasCC"))
.Add(new P("", "Please select this box if your company has a HON assigned customer code.")
.Add(new Span("", " If you need assistance, please ")
.Add(new A("externalLink", "Contact Us", "HREF_MISSING", "_blank"))
)
)
VENDO
Xbox 360 Pro - Modelo Falcon
Acessórios:
1 Cabo A/C
1 Cabo Vídeo Componente
1 Cabo HDMI
1 HS 60gb
public class NHibernateHelper
{
private static string _databaseConnectionString;
private static string DatabaseConnectionString
{
get
{
if (String.IsNullOrEmpty(_databaseConnectionString))
{
_databaseConnectionString = ConfigurationUtil.GetDeploymentValue("ConnectionStringProfile");
/// <summary>
/// Factory de controllers utilizada no lugar da padrão
/// para usar o Unity pra resolver as dependências dos objetos
/// </summary>
public class UnityControllerFactory : DefaultControllerFactory
{
readonly IUnityContainer _container;
public UnityControllerFactory(IUnityContainer container)
{
[TestMethod]
public void CanSaveAndDeleteAFunctionButNotTheApplication()
{
//Arrange
Application myApp = new Application()
{
Description = "MyApp",
KeyName = "MyApp",
Name = "My App",
Url = "http://www.myapp.com"