This file contains hidden or 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
| import { Component, OnInit } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-learningapproach', | |
| templateUrl: './learningapproach.component.html', | |
| styleUrls: ['./learningapproach.component.scss'] | |
| }) | |
| export class LearningapproachComponent implements OnInit { | |
| constructor() { } |
This file contains hidden or 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 UnityResolver : IDependencyResolver | |
| { | |
| protected IUnityContainer container; | |
| public UnityResolver(IUnityContainer container) | |
| { | |
| if (container == null) | |
| { | |
| throw new ArgumentNullException("container"); | |
| } |
This file contains hidden or 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; | |
| using System.Collections.Generic; | |
| using System.Data; | |
| using System.Data.Entity; | |
| using System.Data.Entity.Infrastructure; | |
| using System.Linq; | |
| using System.Net; | |
| using System.Net.Http; | |
| using System.Web.Http; | |
| using System.Web.Http.Description; |
This file contains hidden or 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
| import { Component, OnInit, Input, ChangeDetectionStrategy, OnChanges, ChangeDetectorRef } from '@angular/core'; | |
| import { Observable } from 'rxjs'; | |
| import { TouchSequence } from 'selenium-webdriver'; | |
| @Component({ | |
| selector: 'app-child', | |
| template: ` | |
| <h2>Items : {{_data.counter}} </h2> | |
| <button (click)='0'>Refresh</button> | |
| `, |
This file contains hidden or 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
| import { EventEmitter, Component, OnInit, Input, OnChanges, ChangeDetectionStrategy, SimpleChange, Output } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-child', | |
| templateUrl:'app-child.component.html', | |
| styleUrls: ['./app-child.component.css'] |
This file contains hidden or 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
| import { Component, OnInit } from '@angular/core'; | |
| @Component({ | |
| selector: 'app-root', | |
| templateUrl: './app.component.html', | |
| styleUrls: ['./app.component.css'] | |
| }) | |
| export class AppComponent implements OnInit { |
This file contains hidden or 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
| <div class="card text-center"> | |
| <img class="img-fluid" [src]="tshirt.fimage"/> | |
| <div class="card-header"> | |
| {{tshirt.name}} | |
| <button (click)='cancel()' type="button" class="close" aria-label="Close"> | |
| <span aria-hidden="true">×</span> | |
| </button> | |
| </div> | |
| <div class="card-body"> |
This file contains hidden or 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
| <div class="container"> | |
| <div class="page-header"> | |
| <h1 class="text-danger text-center">Foo T-Shirt Company</h1> | |
| </div> | |
| <hr /> | |
| <br /> | |
| <div class="row"> |
This file contains hidden or 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
| getProducts() { | |
| return [ | |
| { | |
| "productId": 1, | |
| "productName": "Leaf Rake", | |
| "productCode": "GDN-0011", | |
| "releaseDate": "March 19, 2019", | |
| "description": "Leaf rake with 48-inch wooden handle.", | |
| "price": 19.95, | |
| "starRating": 3.2, |
This file contains hidden or 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
| changeName = function () { | |
| dbrepo.name = 'set by code '; | |
| } |