This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@viewModel DotVVM.Samples.NestedViewModel.ViewModels.Projects.ProjectDetailViewModel, DotVVM.Samples.NestedViewModel | |
@masterPage Views/MasterPage.dotmaster | |
<dot:Content ContentPlaceHolderID="MainContent"> | |
<div DataContext="{value: Project}"> | |
<h1 InnerText="{value: Title}" /> | |
<small InnerText="{value: Manager.FullName}" /> | |
<p InnerText="{value: Description}" /> | |
</div> | |
</dot:Content> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@viewModel DotVVM.Samples.NestedViewModel.ViewModels.Projects.ProjectDetailViewModel, DotVVM.Samples.NestedViewModel | |
@masterPage Views/MasterPage.dotmaster | |
@import DotVVM.Samples.NestedViewModel.Resources | |
<dot:Content ContentPlaceHolderID="MainContent"> | |
<div DataContext="{value: Project}"> | |
<h1 InnerText="{value: Title}" /> | |
<br> | |
<dot:Literal Text="{resource: Texts.Label_Manager}" /><small InnerText="{value: Manager.FullName}" /> | |
<dot:Button Click="{command: _parent.InitModal()}" Visible="{value !_parent.IsModalVisible}" Text="{resource: Texts.Label_ChangeManager}"></dot:Button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Project : IEntity<int> | |
{ | |
public string Description { get; set; } | |
public string Title { get; set; } | |
public int Id { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function CreateDirtTree($folderRoot, $level) | |
{ | |
if(-not $(Test-Path $folderRoot)) | |
{ | |
Write-Error "Path do not exist" | |
return | |
} | |
if(-not $level){ | |
$level = 1 | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
namespace ICS_project.DAL.Entities | |
{ | |
public abstract class MessageBase : EntityBase | |
{ | |
// compiler generate for you code from MessageBase1.cs, and initialize property with default value | |
public DateTime CreationDate { get; } = DateTime.Now; | |
public string Content { get; set; } | |
public UserEntity User { get; set; } | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% Soubory musí být v kódování, které je nastaveno v příkazu \usepackage[...]{inputenc} | |
\documentclass[% | |
% draft, % Testovací překlad | |
12pt, % Velikost základního písma je 12 bodů | |
a4paper, % Formát papíru je A4 | |
% oneside, % Jednostranný tisk (výchozí) | |
%% Z následujicich voleb lze použít maximálně jednu: | |
% dvipdfm % výstup bude zpracován programem 'dvipdfm' do PDF | |
% dvips % výstup bude zpracován programem 'dvips' do PS |
OlderNewer