View context.ts
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
import { Injectable } from '@angular/core'; | |
@Injectable() | |
export class DndContext { | |
dropEffect = 'none'; | |
isDragging = false; | |
itemType = undefined; | |
dragData: any = undefined; | |
// stopDragOver= new Map<string, () => void>(); | |
stopDragOver: () => void = undefined; |
View explorer.model.ts
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
import { Map, Record, List } from 'immutable'; | |
export interface FolderTree { | |
id: string; | |
name: string; | |
subFolders: FolderTree[]; | |
dialogs: DialogSummary[]; | |
} | |
export interface DialogSummary { | |
id: string; |
View ConcurrentLinkedList.cs
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
#pragma warning disable 420 | |
namespace System.Collections.Concurrent | |
{ | |
using Azure.Framework; | |
using Diagnostics; | |
using Diagnostics.Contracts; | |
using Generic; | |
using Runtime.InteropServices; | |
using Runtime.Serialization; |
View EventMessage.cs
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
/// <summary> | |
/// Wraps an <see cref = "IEvent">event</see> | |
/// to be transportable by NServiceBus. | |
/// </summary> | |
[Serializable] | |
[DataContract(Namespace = MessageNamespace)] | |
public class EventMessage<TEvent> : EventMessage, IEventMessage<TEvent> where TEvent : class | |
{ | |
public EventMessage(IPublishedEvent<TEvent> @event) : base(@event) | |
{ |