content stringlengths 263 5.24M | pred_label stringclasses 1
value | pred_score_pos float64 0.6 1 |
|---|---|---|
<!DOCTYPE html>
<html>
<head>
<title>Example 8.3: Multiple Lights </title>
<link rel ="icon" type ="image/x-icon" href="./assets/favicon.png">
<!-- the following says there are javascript source code contained in
the external source files
-->
<!-- external libr... | __label__POS | 0.648677 |
'use strict';
ecomApp.factory('OrderService', ['$http', '$q','$cookies', function($http, $q,$cookies){
return {
addNewOrder: function(orderDTO) {
// $http.defaults.headers.common.Authorization = 'Bearer ' + $cookies.get("access_token");
return $http.post(sessionStorage.getItem('apiUrl')+'/cor... | __label__POS | 0.624418 |
<!DOCTYPE html>
<html>
<head>
<title>Example 8.7: Shadow Shaders </title>
<link rel ="icon" type ="image/x-icon" href="./assets/favicon.png">
<!-- the following says there are javascript source code contained in
the external source files
-->
<!-- external libra... | __label__POS | 0.820875 |
'use strict';
ecomApp.factory('ProductService', ['$http', '$q', function($http, $q){
return {
getProductsByCategory: function(category) {
return $http.get(sessionStorage.getItem('apiUrl')+'/product/productsByCategory?category='+category)
.then(
function(response){
return response.da... | __label__POS | 0.930453 |
'use strict';
ecomApp.controller('ProductController', ['$scope', 'ProductService','CartService','$location','$routeParams', function($scope, ProductService,CartService,$location,$routeParams) {
var prodCtrl=this;
$scope.inventory=null;
$scope.quantities = [];
$scope.isStockAvailable = true;
... | __label__POS | 0.684119 |
'use strict';
var ecomAdminApp = angular.module('ecomAdminApp', ['ecomApp']);
ecomAdminApp.controller('AdminController', ['$scope','OrderService','UserService','$http','$window', function($scope,OrderService,UserService,$http,$window) {
var adminCtrl = this;
$scope.shippingOrder=null;
$scope.deliveringOrder=... | __label__POS | 0.739509 |
'use strict';
ecomApp.controller('CartController', ['$scope','$location','CartService','ProductService', function($scope,$location,CartService,ProductService) {
var cartCtrl=this;
$scope.productImgs={}
$scope.init = function () {
if($scope.myCart.lineItems!=null){
for(var i=0;i<$scope.myCart.lineItems... | __label__POS | 0.712274 |
using System;
using System.Collections.Generic;
namespace UnityEngine.PostProcessing
{
using UnityObject = Object;
public sealed class MaterialFactory : IDisposable
{
Dictionary<string, Material> m_Materials;
public MaterialFactory()
{
m_Materials = new Dictionary<stri... | __label__POS | 0.814606 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { Component, Output, EventEmitter, ViewEncapsulation } from "@angular/core";
import { Product } from "./product.model";
import { ProductFormGroup } from "./form.model";
import { Model } from "./repository.model";
@Component({
selector: "paProductForm",
templateUrl: "productForm.component.html",
//st... | __label__POS | 0.820489 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.729647 |
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace UnityEditor.PostProcessing
{
public static class ReflectionUtils
{
static Dictionary<KeyValuePair<object, string>, FieldInfo> s_FieldInfoFromPaths = new Dictionary<KeyVal... | __label__POS | 0.785867 |
using UnityEngine;
namespace UnityEditor.PostProcessing
{
public static class FxStyles
{
public static GUIStyle tickStyleRight;
public static GUIStyle tickStyleLeft;
public static GUIStyle tickStyleCenter;
public static GUIStyle preSlider;
public static GUIStyle preSlid... | __label__POS | 0.995713 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.729647 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Component, Output, EventEmitter, ViewEncapsulation,
Inject, SkipSelf } from "@angular/core";
import { Product } from "../model/product.model";
import { ProductFormGroup } from "../model/form.model";
import { Model } from "../model/repository.model";
import { VALUE_SERVICE } from "../common/valueDisplay... | __label__POS | 0.711826 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.811905 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ProductComponent } from './component';
import { FormsModule, ReactiveFormsModule... | __label__POS | 0.605827 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.716748 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
package com.apress.cems.util;
import javax.validation.constraints.NotEmpty;
/**
* Created by iuliana.cosmina on 3/30/15.
*/
public class CriteriaDto {
private String fieldName;
@NotEmpty
private String fieldValue;
private Boolean exactMatch;
/**
* Field needed just to communicate a mes... | __label__POS | 0.660212 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.729647 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.81237 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.716222 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.883578 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import { ApplicationRef, Component } from "@angular/core";
import { Model } from "./repository.model";
import { Product } from "./product.model";
@Component({
selector: "app",
templateUrl: "template.html"
})
export class ProductComponent {
model: Model = new Model();
constructor(ref: ApplicationRef) {... | __label__POS | 0.699232 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
using System;
namespace UnityEngine.Rendering.PostProcessing
{
// This asset is used to store references to shaders and other resources we might need at
// runtime without having to use a `Resources` folder. This allows for better memory management,
// better dependency tracking and better interoperability... | __label__POS | 0.958476 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
using System;
using System.Collections.Generic;
namespace UnityEngine.Rendering.PostProcessing
{
public sealed class PostProcessProfile : ScriptableObject
{
[Tooltip("A list of all settings & overrides.")]
public List<PostProcessEffectSettings> settings = new List<PostProcessEffectSettings>();
... | __label__POS | 0.752394 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.7972 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
import { Injectable } from "@angular/core";
@Injectable()
export class Model {
// private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == ... | __label__POS | 0.826711 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
import { Injectable } from "@angular/core";
@Injectable()
export class Model {
// private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == ... | __label__POS | 0.826711 |
using System;
using System.Collections.Generic;
namespace UnityEngine.Rendering.PostProcessing
{
public sealed class PropertySheetFactory
{
readonly Dictionary<Shader, PropertySheet> m_Sheets;
public PropertySheetFactory()
{
m_Sheets = new Dictionary<Shader, PropertySheet>(... | __label__POS | 0.759372 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.81237 |
using System;
namespace UnityEngine.Rendering.PostProcessing
{
// Temporary code dump until the texture format refactor goes into trunk...
public static class TextureFormatUtilities
{
public static RenderTextureFormat GetUncompressedRenderTextureFormat(Texture texture)
{
if (tex... | __label__POS | 0.743295 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.756771 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.712025 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.719651 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponent... | __label__POS | 0.81237 |
using System;
using System.Linq;
namespace UnityEditor.Rendering.PostProcessing
{
public sealed class SerializedParameterOverride
{
public SerializedProperty overrideState { get; private set; }
public SerializedProperty value { get; private set; }
public Attribute[] attributes { get; pr... | __label__POS | 0.62427 |
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace UnityEditor.Rendering.PostProcessing
{
public static class Styling
{
public static readonly GUIStyle smallTickbox;
public static readonly GUIStyle miniLabelButton;
public static readonly Texture2D paneOptionsIconD... | __label__POS | 0.976822 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component... | __label__POS | 0.712025 |
using System;
using UnityEngine;
using UnityEngine.Rendering.PostProcessing;
namespace UnityEditor.Rendering.PostProcessing
{
[Decorator(typeof(RangeAttribute))]
public sealed class RangeDecorator : AttributeDecorator
{
public override bool OnGUI(SerializedProperty property, SerializedProperty over... | __label__POS | 0.856323 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
'use strict';
ecomApp.factory('OrderService', ['$http', '$q','$cookies', function($http, $q,$cookies){
return {
addNewOrder: function(orderDTO) {
// $http.defaults.headers.common.Authorization = 'Bearer ' + $cookies.get("access_token");
return $http.post(sessionStorage.getItem('apiUrl')+'/cor... | __label__POS | 0.624418 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor(private dataSource: StaticDat... | __label__POS | 0.877568 |
'use strict';
ecomApp.factory('ProductService', ['$http', '$q', function($http, $q){
return {
getProductsByCategory: function(category) {
return $http.get(sessionStorage.getItem('apiUrl')+'/product/productsByCategory?category='+category)
.then(
function(response){
return response.da... | __label__POS | 0.930453 |
'use strict';
ecomApp.controller('ProductController', ['$scope', 'ProductService','CartService','$location','$routeParams', function($scope, ProductService,CartService,$location,$routeParams) {
var prodCtrl=this;
$scope.inventory=null;
$scope.quantities = [];
$scope.isStockAvailable = true;
... | __label__POS | 0.684119 |
'use strict';
var ecomAdminApp = angular.module('ecomAdminApp', ['ecomApp']);
ecomAdminApp.controller('AdminController', ['$scope','OrderService','UserService','$http','$window', function($scope,OrderService,UserService,$http,$window) {
var adminCtrl = this;
$scope.shippingOrder=null;
$scope.deliveringOrder=... | __label__POS | 0.730685 |
'use strict';
ecomApp.controller('CartController', ['$scope','$location','CartService','ProductService', function($scope,$location,CartService,ProductService) {
var cartCtrl=this;
$scope.productImgs={}
$scope.init = function () {
if($scope.myCart.lineItems!=null){
for(var i=0;i<$scope.myCart.lineItems... | __label__POS | 0.712274 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.90246 |
<!--
Created by IntelliJ IDEA.
User: iulianacosmina
Date: 2019-07-14
Time: 11:43
-->
<!DOCTYPE HTML>
<html xmlns:th="http://www.thymeleaf.org" th:with="lang=${#locale.language}, theme=${#themes.code('name')}" th:lang="${lang}" th:theme="${theme}">
<head th:fragment="cemsHead(title)">
<link rel="icon" type="image/pn... | __label__POS | 0.658662 |
# Working with Visual Studio
When I wrote Pro Angular, I promised an update that would explain how to use Visual Studio for Angular development. When I started to write that update, it grew into something more substantial as I worked through the issues of getting Angular to play nicely with ASP.NET Core MVC.
The resu... | __label__POS | 0.973803 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { ProductComponent } from "./component";
import { FormsModule, ReactiveFormsModule } from "@angular/forms";
import { PaAttrDirective } from "./attr.directive";
import { PaModel } from "./twoway.directive";
impor... | __label__POS | 0.625287 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { NgModule } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { AppComponent } from './app.component';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { ProductComponent } from './component';
import { FormsModule, ReactiveFormsModule... | __label__POS | 0.605827 |
package com.apress.cems.practice.util;
import javax.validation.constraints.NotEmpty;
/**
* Created by iuliana.cosmina on 3/30/15.
*/
public class CriteriaDto {
private String fieldName;
@NotEmpty
private String fieldValue;
private Boolean exactMatch;
/**
* Field needed just to communic... | __label__POS | 0.659817 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataSo... | __label__POS | 0.891078 |
import {
Component, Output, EventEmitter, ViewEncapsulation,
Inject, SkipSelf
} from "@angular/core";
import { Product } from "./product.model";
import { ProductFormGroup } from "./form.model";
import { Model } from "./repository.model";
import { VALUE_SERVICE } from "./valueDisplay.directive";
@Component({
... | __label__POS | 0.648443 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
... | __label__POS | 0.855074 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.883578 |
"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Refl... | __label__POS | 0.631411 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.658084 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == id;
constructor() {
this.dataSource = new Simple... | __label__POS | 0.871885 |
import { Directive, HostBinding, Input,
SimpleChange, KeyValueDiffer, KeyValueDiffers,
ChangeDetectorRef } from "@angular/core";
import { DiscountService } from "./discount.service";
@Directive({
selector: "td[pa-price]",
exportAs: "discount"
})
export class PaDiscountAmountDirective {
private diff... | __label__POS | 0.615057 |
import { Injectable } from "@angular/core";
import {
ActivatedRouteSnapshot, RouterStateSnapshot,
Router
} from "@angular/router";
import { Observable, Subject } from "rxjs";
import { MessageService } from "../messages/message.service";
import { Message } from "../messages/message.model";
import { FormComponen... | __label__POS | 0.833622 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { Subject }... | __label__POS | 0.711094 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
@Injectable()
export class Model {
//private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p:Product, id:number) => p.id == id;
... | __label__POS | 0.882379 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
import { Injectable } from "@angular/core";
@Injectable()
export class Model {
// private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number | any) => p.id == ... | __label__POS | 0.83553 |
import { Product } from "./product.model";
import { SimpleDataSource } from "./datasource.model";
export class Model {
private dataSource: SimpleDataSource;
private products: Product[];
private locator = (p: Product, id: number) => p.id == id;
constructor() {
this.dataSource = new SimpleDataS... | __label__POS | 0.8745 |
"use strict";
var product_model_1 = require("./product.model");
var datasource_model_1 = require("./datasource.model");
var Model = (function () {
function Model() {
var _this = this;
this.locator = function (p, id) { return p.id == id; };
this.dataSource = new datasource_model_1.SimpleDataS... | __label__POS | 0.869977 |
import { ApplicationRef, Component } from "@angular/core";
import { Model } from "./repository.model";
import { Product } from "./product.model";
@Component({
selector: "app",
templateUrl: "app/template.html"
})
export class ProductComponent {
model: Model = new Model();
constructor(ref: ApplicationR... | __label__POS | 0.654177 |
import { NgModule } from "@angular/core";
import { BrowserModule } from "@angular/platform-browser";
import { FormsModule } from "@angular/forms";
import { ModelModule } from "../model/model.module";
import { TableComponent } from "./table.component";
import { FormComponent } from "./form.component";
import { SharedSta... | __label__POS | 0.654209 |
import { Injectable } from "@angular/core";
import { Product } from "./product.model";
import { StaticDataSource } from "./static.datasource";
@Injectable()
export class Model {
private products: Product[];
private locator = (p: Product, id?: number) => p.id == id;
constructor(private dataSource: StaticDa... | __label__POS | 0.870452 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.