text
stringlengths
9
39.2M
dir
stringlengths
26
295
lang
stringclasses
185 values
created_date
timestamp[us]
updated_date
timestamp[us]
repo_name
stringlengths
1
97
repo_full_name
stringlengths
7
106
star
int64
1k
183k
len_tokens
int64
1
13.8M
```xml /* * Wire * * This program is free software: you can redistribute it and/or modify * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * * along with this program. If not, see path_to_url * */ import {app, BrowserWindow, ipcMain, session} from 'electron'; import * as path from 'path'; import {pathToFileURL} from 'url'; import {EVENT_TYPE} from '../lib/eventType'; import * as locale from '../locale'; import {config} from '../settings/config'; const appPath = path.join(app.getAppPath(), config.electronDirectory); const promptHtmlPath = pathToFileURL(path.join(appPath, 'html/proxy-prompt.html')).href; const proxyPromptWindowAllowList = [promptHtmlPath, pathToFileURL(path.join(appPath, 'css/proxy-prompt.css'))]; const preloadPath = path.join(appPath, 'dist/preload/menu/preload-proxy-prompt.js'); const windowSize = { HEIGHT: 350, WIDTH: 550, }; const showWindow = async () => { let proxyPromptWindow: BrowserWindow | undefined; if (!proxyPromptWindow) { proxyPromptWindow = new BrowserWindow({ alwaysOnTop: true, backgroundColor: '#ececec', fullscreen: false, height: windowSize.HEIGHT, maximizable: false, minimizable: false, resizable: false, show: false, title: config.name, webPreferences: { javascript: true, nodeIntegration: false, nodeIntegrationInWorker: false, preload: preloadPath, sandbox: false, session: session.fromPartition('proxy-prompt-window'), spellcheck: false, webviewTag: false, }, width: windowSize.WIDTH, }); proxyPromptWindow.setMenuBarVisibility(false); // Prevent any kind of navigation // will-navigate is broken with sandboxed env, intercepting requests instead // see path_to_url proxyPromptWindow.webContents.session.webRequest.onBeforeRequest(async ({url}, callback) => { // Only allow those URLs to be opened within the window if (proxyPromptWindowAllowList.includes(url)) { return callback({cancel: false}); } callback({redirectURL: promptHtmlPath}); }); ipcMain.on(EVENT_TYPE.PROXY_PROMPT.LOCALE_VALUES, (event, labels: locale.i18nLanguageIdentifier[]) => { if (proxyPromptWindow) { const isExpected = event.sender.id === proxyPromptWindow.webContents.id; if (isExpected) { const resultLabels: Record<string, string> = {}; labels.forEach(label => (resultLabels[label] = locale.getText(label))); event.reply(EVENT_TYPE.PROXY_PROMPT.LOCALE_RENDER, resultLabels); } } }); proxyPromptWindow.on('closed', () => (proxyPromptWindow = undefined)); await proxyPromptWindow.loadURL(promptHtmlPath); if (proxyPromptWindow) { proxyPromptWindow.webContents.send(EVENT_TYPE.PROXY_PROMPT.LOADED); } } proxyPromptWindow.show(); }; export const ProxyPromptWindow = {showWindow}; ```
/content/code_sandbox/electron/src/window/ProxyPromptWindow.ts
xml
2016-07-26T13:55:48
2024-08-16T03:45:51
wire-desktop
wireapp/wire-desktop
1,075
711
```xml import { ItemDataType, DataProps, WithAsProps, ToArray } from '@/internals/types'; export interface SelectNode<T> { itemData: ItemDataType<T>; cascadePaths: ItemDataType<T>[]; isLeafNode: boolean; } export interface CascadeColumn<T> { items: readonly ItemDataType<T>[]; parentItem?: ItemDataType<T>; layer?: number; } export interface CascadeTreeProps<T, V = T> extends WithAsProps, DataProps<ItemDataType<T>> { /** * Initial value */ defaultValue?: V; /** * Selected value */ value?: V; /** * Sets the width of the menu */ columnWidth?: number; /** * Sets the height of the menu */ columnHeight?: number; /** * Disabled items */ disabledItemValues?: ToArray<NonNullable<T>>; /** * Whether dispaly search input box */ searchable?: boolean; /** * Custom render columns */ renderColumn?: (childNodes: React.ReactNode, column: CascadeColumn<T>) => React.ReactNode; /** * Custom render tree node */ renderTreeNode?: (node: React.ReactNode, itemData: ItemDataType<T>) => React.ReactNode; /** * Custom render search items */ renderSearchItem?: (node: React.ReactNode, items: ItemDataType<T>[]) => React.ReactNode; /** * Called when the option is selected */ onSelect?: ( value: ItemDataType<T>, selectedPaths: ItemDataType<T>[], event: React.SyntheticEvent ) => void; /** * Called after the value has been changed */ onChange?: (value: V, event: React.SyntheticEvent) => void; /** * Called when searching */ onSearch?: (value: string, event: React.SyntheticEvent) => void; /** * Asynchronously load the children of the tree node. */ getChildren?: (childNodes: ItemDataType<T>) => ItemDataType<T>[] | Promise<ItemDataType<T>[]>; } ```
/content/code_sandbox/src/CascadeTree/types.ts
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
458
```xml import { sync, SyncOpts } from 'resolve'; import fs from 'fs'; import path from 'path'; import { toNormalizedRealPath } from './common'; import type { PackageJson } from './types'; const PROOF = 'a-proof-that-main-is-captured.js'; function parentDirectoriesContain(parent: string, directory: string) { let currentParent = parent; while (true) { if (currentParent === directory) { return true; } const newParent = path.dirname(currentParent); if (newParent === currentParent) { return false; } currentParent = newParent; } } interface FollowOptions extends Pick<SyncOpts, 'basedir' | 'extensions'> { ignoreFile?: string; catchReadFile?: (file: string) => void; catchPackageFilter?: (config: PackageJson, base: string, dir: string) => void; } export function follow(x: string, opts: FollowOptions) { // TODO async version return new Promise<string>((resolve) => { resolve( sync(x, { basedir: opts.basedir, extensions: opts.extensions, isFile: (file) => { if ( opts.ignoreFile && path.join(path.dirname(opts.ignoreFile), PROOF) === file ) { return true; } let stat; try { stat = fs.statSync(file); } catch (e) { const ex = e as NodeJS.ErrnoException; if (ex && (ex.code === 'ENOENT' || ex.code === 'ENOTDIR')) return false; throw ex; } return stat.isFile() || stat.isFIFO(); }, isDirectory: (directory) => { if ( opts.ignoreFile && parentDirectoriesContain(opts.ignoreFile, directory) ) { return false; } let stat; try { stat = fs.statSync(directory); } catch (e) { const ex = e as NodeJS.ErrnoException; if (ex && (ex.code === 'ENOENT' || ex.code === 'ENOTDIR')) { return false; } throw ex; } return stat.isDirectory(); }, readFileSync: (file) => { if (opts.ignoreFile && opts.ignoreFile === file) { return Buffer.from(`{"main":"${PROOF}"}`); } if (opts.catchReadFile) { opts.catchReadFile(file); } return fs.readFileSync(file); }, packageFilter: (config, base, dir) => { if (opts.catchPackageFilter) { opts.catchPackageFilter(config, base, dir); } return config; }, /** function to synchronously resolve a potential symlink to its real path */ // realpathSync?: (file: string) => string; realpathSync: (file) => { const file2 = toNormalizedRealPath(file); return file2; }, }) ); }); } ```
/content/code_sandbox/lib/follow.ts
xml
2016-08-08T19:41:59
2024-08-16T09:12:35
pkg
vercel/pkg
24,257
647
```xml import { UntypedFormGroup, ValidationErrors } from "@angular/forms"; import { FormGroupControls, FormValidationErrorsService as FormValidationErrorsAbstraction, AllValidationErrors, } from "../abstractions/form-validation-errors.service"; export class FormValidationErrorsService implements FormValidationErrorsAbstraction { getFormValidationErrors(controls: FormGroupControls): AllValidationErrors[] { let errors: AllValidationErrors[] = []; Object.keys(controls).forEach((key) => { const control = controls[key]; if (control instanceof UntypedFormGroup) { errors = errors.concat(this.getFormValidationErrors(control.controls)); } const controlErrors: ValidationErrors = controls[key].errors; if (controlErrors !== null) { Object.keys(controlErrors).forEach((keyError) => { errors.push({ controlName: key, errorName: keyError, }); }); } }); return errors; } } ```
/content/code_sandbox/libs/angular/src/platform/services/form-validation-errors.service.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
198
```xml import { Coordinate } from '@antv/coord'; import { isTranspose } from '../../utils/coordinate'; import { ShapeComponent as SC, Vector2 } from '../../runtime'; import { Funnel } from './funnel'; export type PyramidOptions = Record<string, any>; /** * Adjust and return the new `points`. */ function getPyramidPoints( points: Vector2[], nextPoints: Vector2[], coordinate: Coordinate, ) { const [p0, p1, p2, p3] = points; if (isTranspose(coordinate)) { const newP1: Vector2 = [ nextPoints ? nextPoints[0][0] : (p1[0] + p2[0]) / 2, p1[1], ]; const newP2: Vector2 = [ nextPoints ? nextPoints[3][0] : (p1[0] + p2[0]) / 2, p2[1], ]; return [p0, newP1, newP2, p3]; } const newP1: Vector2 = [ p1[0], nextPoints ? nextPoints[0][1] : (p1[1] + p2[1]) / 2, ]; const newP2: Vector2 = [ p2[0], nextPoints ? nextPoints[3][1] : (p1[1] + p2[1]) / 2, ]; return [p0, newP1, newP2, p3]; } /** * Render pyramid in different coordinate and using color channel for stroke and fill attribute. */ export const Pyramid: SC<PyramidOptions> = (options, context) => { return Funnel({ adjustPoints: getPyramidPoints, ...options }, context); }; Pyramid.props = { defaultMarker: 'square', }; ```
/content/code_sandbox/src/shape/interval/pyramid.ts
xml
2016-05-26T09:21:04
2024-08-15T16:11:17
G2
antvis/G2
12,060
410
```xml import { getEntityManager } from 'toolkit/extension/utils/ynab'; import { YNABTransaction } from 'toolkit/types/ynab/data/transaction'; interface Activities { Account: string; Date: string; Payee: any; Category: string; Memo: string; Amount: string; } export default function copyTransactionsToClipboard(transactions: YNABTransaction[]) { const entityManager = getEntityManager(); const activities = transactions.map<Activities>((transaction) => { const parentEntityId = transaction?.parentEntityId; let payeeId = transaction?.payeeId; if (parentEntityId) { payeeId = entityManager.transactionsCollection.findItemByEntityId(parentEntityId)?.payeeId; } const payee = entityManager.payeesCollection.findItemByEntityId(payeeId); return { Account: transaction?.accountName, Date: ynab.formatDateLong(transaction?.date.toString()), Payee: payee?.name ?? 'Unknown', Category: transaction?.subCategoryNameWrapped, Memo: transaction?.memo, Amount: ynab.formatCurrency(transaction?.amount), }; }); const replacer = (_key: string, value: null | string) => (value === null ? '' : value); const header = Object.keys(activities[0]) as (keyof Activities)[]; let csv = activities.map((row) => header.map((fieldName) => JSON.stringify(row[fieldName], replacer)).join('\t') ); csv.unshift(header.join('\t')); navigator.clipboard.writeText(csv.join('\r\n')); } ```
/content/code_sandbox/src/extension/features/general/category-activity-copy/copyTransactionsToClipboard.ts
xml
2016-01-03T05:38:10
2024-08-13T16:08:09
toolkit-for-ynab
toolkit-for-ynab/toolkit-for-ynab
1,418
346
```xml /* eslint-disable @typescript-eslint/no-non-null-assertion */ // import pnp, pnp logging system, and any other selective imports needed import { spfi, SPFI, SPFx } from "@pnp/sp"; import "@pnp/sp/webs"; import "@pnp/sp/lists"; import "@pnp/sp/items"; import "@pnp/sp/batching"; import { LogLevel, PnPLogging } from "@pnp/logging"; import { WebPartContext } from "@microsoft/sp-webpart-base"; import { graphfi, GraphFI, SPFx as graphSPFx } from "@pnp/graph"; import "@pnp/graph/groups"; import "@pnp/graph/users"; let _sp: SPFI; let _graph: GraphFI; export const getSP = (context: WebPartContext): SPFI => { if (context !== null) { //You must add the @pnp/logging package to include the PnPLogging behavior it is no longer a peer dependency // The LogLevel set's at what level a message will be written to the console _sp = spfi().using(SPFx(context)).using(PnPLogging(LogLevel.Warning)); } return _sp; }; export const getGraph = (context: WebPartContext): GraphFI => { if (context !== null) { //You must add the @pnp/logging package to include the PnPLogging behavior it is no longer a peer dependency // The LogLevel set's at what level a message will be written to the console _graph = graphfi() .using(graphSPFx(context)) .using(PnPLogging(LogLevel.Warning)); } return _graph; }; ```
/content/code_sandbox/samples/react-personal-tools-list/src/webparts/myTools/data/pnpjs-config.ts
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
352
```xml import { useEffect } from 'react'; import { connect } from 'react-redux'; import { ONE_SECOND_IN_MS } from '../../helpers/constants'; import { setProtectionTimerTime, toggleProtectionSuccess } from '../../actions'; let interval: any = null; interface ProtectionTimerProps { protectionDisabledDuration?: number; toggleProtectionSuccess: (...args: unknown[]) => unknown; setProtectionTimerTime: (...args: unknown[]) => unknown; } const ProtectionTimer = ({ protectionDisabledDuration, toggleProtectionSuccess, setProtectionTimerTime, }: ProtectionTimerProps) => { useEffect(() => { if (protectionDisabledDuration !== null && protectionDisabledDuration < ONE_SECOND_IN_MS) { toggleProtectionSuccess({ disabledDuration: null }); } if (protectionDisabledDuration) { interval = setInterval(() => { setProtectionTimerTime(protectionDisabledDuration - ONE_SECOND_IN_MS); }, ONE_SECOND_IN_MS); } return () => { clearInterval(interval); }; }, [protectionDisabledDuration]); return null; }; const mapStateToProps = (state: any) => { const { dashboard } = state; const { protectionEnabled, protectionDisabledDuration } = dashboard; return { protectionEnabled, protectionDisabledDuration }; }; const mapDispatchToProps = { toggleProtectionSuccess, setProtectionTimerTime, }; export default connect(mapStateToProps, mapDispatchToProps)(ProtectionTimer); ```
/content/code_sandbox/client/src/components/ProtectionTimer/index.ts
xml
2016-07-06T10:31:47
2024-08-16T18:17:06
AdGuardHome
AdguardTeam/AdGuardHome
24,082
289
```xml // Types import type { DirectiveBinding } from 'vue' interface ResizeDirectiveBinding extends Omit<DirectiveBinding, 'modifiers'> { value: () => void modifiers?: { active?: boolean quiet?: boolean } } function mounted (el: HTMLElement, binding: ResizeDirectiveBinding) { const handler = binding.value const options: AddEventListenerOptions = { passive: !binding.modifiers?.active, } window.addEventListener('resize', handler, options) el._onResize = Object(el._onResize) el._onResize![binding.instance!.$.uid] = { handler, options, } if (!binding.modifiers?.quiet) { handler() } } function unmounted (el: HTMLElement, binding: ResizeDirectiveBinding) { if (!el._onResize?.[binding.instance!.$.uid]) return const { handler, options } = el._onResize[binding.instance!.$.uid]! window.removeEventListener('resize', handler, options) delete el._onResize[binding.instance!.$.uid] } export const Resize = { mounted, unmounted, } export default Resize ```
/content/code_sandbox/packages/vuetify/src/directives/resize/index.ts
xml
2016-09-12T00:39:35
2024-08-16T20:06:39
vuetify
vuetifyjs/vuetify
39,539
248
```xml import { Column, Entity } from "../../../src/index" import { ObjectIdColumn } from "../../../src/decorator/columns/ObjectIdColumn" import { ObjectId } from "../../../src/driver/mongodb/typings" @Entity("sample34_post") export class Post { @ObjectIdColumn() id: ObjectId @Column() title: string @Column() text: string @Column("int", { nullable: false, }) likesCount: number } ```
/content/code_sandbox/sample/sample34-mongodb/entity/Post.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
102
```xml // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #include "ui/gfx/screen.h" #import <ApplicationServices/ApplicationServices.h> #import <Cocoa/Cocoa.h> #include <stdint.h> #include <map> #include "base/logging.h" #include "base/mac/sdk_forward_declarations.h" #include "base/macros.h" #include "base/timer/timer.h" #include "ui/gfx/display.h" #include "ui/gfx/display_change_notifier.h" namespace { // The delay to handle the display configuration changes. // See comments in ScreenMac::HandleDisplayReconfiguration. const int64_t kConfigureDelayMs = 500; gfx::Rect ConvertCoordinateSystem(NSRect ns_rect) { // Primary monitor is defined as the monitor with the menubar, // which is always at index 0. NSScreen* primary_screen = [[NSScreen screens] firstObject]; float primary_screen_height = [primary_screen frame].size.height; gfx::Rect rect(NSRectToCGRect(ns_rect)); rect.set_y(primary_screen_height - rect.y() - rect.height()); return rect; } NSScreen* GetMatchingScreen(const gfx::Rect& match_rect) { // Default to the monitor with the current keyboard focus, in case // |match_rect| is not on any screen at all. NSScreen* max_screen = [NSScreen mainScreen]; int max_area = 0; for (NSScreen* screen in [NSScreen screens]) { gfx::Rect monitor_area = ConvertCoordinateSystem([screen frame]); gfx::Rect intersection = gfx::IntersectRects(monitor_area, match_rect); int area = intersection.width() * intersection.height(); if (area > max_area) { max_area = area; max_screen = screen; } } return max_screen; } gfx::Display GetDisplayForScreen(NSScreen* screen) { NSRect frame = [screen frame]; CGDirectDisplayID display_id = [[[screen deviceDescription] objectForKey:@"NSScreenNumber"] unsignedIntValue]; gfx::Display display(display_id, gfx::Rect(NSRectToCGRect(frame))); NSRect visible_frame = [screen visibleFrame]; NSScreen* primary = [[NSScreen screens] firstObject]; // Convert work area's coordinate systems. if ([screen isEqual:primary]) { gfx::Rect work_area = gfx::Rect(NSRectToCGRect(visible_frame)); work_area.set_y(frame.size.height - visible_frame.origin.y - visible_frame.size.height); display.set_work_area(work_area); } else { display.set_bounds(ConvertCoordinateSystem(frame)); display.set_work_area(ConvertCoordinateSystem(visible_frame)); } CGFloat scale; if ([screen respondsToSelector:@selector(backingScaleFactor)]) scale = [screen backingScaleFactor]; else scale = [screen userSpaceScaleFactor]; if (gfx::Display::HasForceDeviceScaleFactor()) scale = gfx::Display::GetForcedDeviceScaleFactor(); display.set_device_scale_factor(scale); // CGDisplayRotation returns a double. Display::SetRotationAsDegree will // handle the unexpected situations were the angle is not a multiple of 90. display.SetRotationAsDegree(static_cast<int>(CGDisplayRotation(display_id))); return display; } class ScreenMac : public gfx::Screen { public: ScreenMac() { displays_ = BuildDisplaysFromQuartz(); CGDisplayRegisterReconfigurationCallback( ScreenMac::DisplayReconfigurationCallBack, this); } ~ScreenMac() override { CGDisplayRemoveReconfigurationCallback( ScreenMac::DisplayReconfigurationCallBack, this); } gfx::Point GetCursorScreenPoint() override { NSPoint mouseLocation = [NSEvent mouseLocation]; // Flip coordinates to gfx (0,0 in top-left corner) using primary screen. NSScreen* screen = [[NSScreen screens] firstObject]; mouseLocation.y = NSMaxY([screen frame]) - mouseLocation.y; return gfx::Point(mouseLocation.x, mouseLocation.y); } gfx::NativeWindow GetWindowUnderCursor() override { NOTIMPLEMENTED(); return gfx::NativeWindow(); } gfx::NativeWindow GetWindowAtScreenPoint(const gfx::Point& point) override { NOTIMPLEMENTED(); return gfx::NativeWindow(); } int GetNumDisplays() const override { return GetAllDisplays().size(); } std::vector<gfx::Display> GetAllDisplays() const override { return displays_; } gfx::Display GetDisplayNearestWindow(gfx::NativeView view) const override { NSWindow* window = nil; #if !defined(USE_AURA) if (view) window = [view window]; #endif if (!window) return GetPrimaryDisplay(); NSScreen* match_screen = [window screen]; if (!match_screen) return GetPrimaryDisplay(); return GetDisplayForScreen(match_screen); } gfx::Display GetDisplayNearestPoint(const gfx::Point& point) const override { NSPoint ns_point = NSPointFromCGPoint(point.ToCGPoint()); NSArray* screens = [NSScreen screens]; NSScreen* primary = [screens objectAtIndex:0]; ns_point.y = NSMaxY([primary frame]) - ns_point.y; for (NSScreen* screen in screens) { if (NSMouseInRect(ns_point, [screen frame], NO)) return GetDisplayForScreen(screen); } return GetPrimaryDisplay(); } // Returns the display that most closely intersects the provided bounds. gfx::Display GetDisplayMatching(const gfx::Rect& match_rect) const override { NSScreen* match_screen = GetMatchingScreen(match_rect); return GetDisplayForScreen(match_screen); } // Returns the primary display. gfx::Display GetPrimaryDisplay() const override { // Primary display is defined as the display with the menubar, // which is always at index 0. NSScreen* primary = [[NSScreen screens] firstObject]; gfx::Display display = GetDisplayForScreen(primary); return display; } void AddObserver(gfx::DisplayObserver* observer) override { change_notifier_.AddObserver(observer); } void RemoveObserver(gfx::DisplayObserver* observer) override { change_notifier_.RemoveObserver(observer); } static void DisplayReconfigurationCallBack(CGDirectDisplayID display, CGDisplayChangeSummaryFlags flags, void* userInfo) { if (flags & kCGDisplayBeginConfigurationFlag) return; static_cast<ScreenMac*>(userInfo)->HandleDisplayReconfiguration(); } void HandleDisplayReconfiguration() { // Given that we need to rebuild the list of displays, we want to coalesce // the events. For that, we use a timer that will be reset every time we get // a new event and will be fulfilled kConfigureDelayMs after the latest. if (configure_timer_.get() && configure_timer_->IsRunning()) { configure_timer_->Reset(); return; } configure_timer_.reset(new base::OneShotTimer()); configure_timer_->Start( FROM_HERE, base::TimeDelta::FromMilliseconds(kConfigureDelayMs), this, &ScreenMac::ConfigureTimerFired); } private: void ConfigureTimerFired() { std::vector<gfx::Display> old_displays = displays_; displays_ = BuildDisplaysFromQuartz(); change_notifier_.NotifyDisplaysChanged(old_displays, displays_); } std::vector<gfx::Display> BuildDisplaysFromQuartz() const { // Don't just return all online displays. This would include displays // that mirror other displays, which are not desired in this list. It's // tempting to use the count returned by CGGetActiveDisplayList, but active // displays exclude sleeping displays, and those are desired. // It would be ridiculous to have this many displays connected, but // CGDirectDisplayID is just an integer, so supporting up to this many // doesn't hurt. CGDirectDisplayID online_displays[128]; CGDisplayCount online_display_count = 0; if (CGGetOnlineDisplayList(arraysize(online_displays), online_displays, &online_display_count) != kCGErrorSuccess) { return std::vector<gfx::Display>(1, GetPrimaryDisplay()); } typedef std::map<int64_t, NSScreen*> ScreenIdsToScreensMap; ScreenIdsToScreensMap screen_ids_to_screens; for (NSScreen* screen in [NSScreen screens]) { NSDictionary* screen_device_description = [screen deviceDescription]; int64_t screen_id = [[screen_device_description objectForKey:@"NSScreenNumber"] unsignedIntValue]; screen_ids_to_screens[screen_id] = screen; } std::vector<gfx::Display> displays; for (CGDisplayCount online_display_index = 0; online_display_index < online_display_count; ++online_display_index) { CGDirectDisplayID online_display = online_displays[online_display_index]; if (CGDisplayMirrorsDisplay(online_display) == kCGNullDirectDisplay) { // If this display doesn't mirror any other, include it in the list. // The primary display in a mirrored set will be counted, but those that // mirror it will not be. ScreenIdsToScreensMap::iterator foundScreen = screen_ids_to_screens.find(online_display); if (foundScreen != screen_ids_to_screens.end()) { displays.push_back(GetDisplayForScreen(foundScreen->second)); } } } if (!displays.size()) return std::vector<gfx::Display>(1, GetPrimaryDisplay()); return displays; } // The displays currently attached to the device. std::vector<gfx::Display> displays_; // The timer to delay configuring outputs. See also the comments in // HandleDisplayReconfiguration(). scoped_ptr<base::OneShotTimer> configure_timer_; gfx::DisplayChangeNotifier change_notifier_; DISALLOW_COPY_AND_ASSIGN(ScreenMac); }; } // namespace namespace gfx { #if !defined(USE_AURA) Screen* CreateNativeScreen() { return new ScreenMac; } #endif } ```
/content/code_sandbox/orig_chrome/ui/gfx/screen_mac.mm
xml
2016-09-27T03:41:10
2024-08-16T10:42:57
miniblink49
weolar/miniblink49
7,069
2,193
```xml export default function handleRequest( request: Request, ) { return new Response("This is a custom entry.server response"); } ```
/content/code_sandbox/packages/remix/test/fixtures-vite/05-custom-entry-server/app/entry.server.ts
xml
2016-09-09T01:12:08
2024-08-16T17:39:45
vercel
vercel/vercel
12,545
28
```xml import { MigrationInterface } from "../../../../../src/migration/MigrationInterface" import { QueryRunner } from "../../../../../src/query-runner/QueryRunner" export class ExampleMigration1530542855524 implements MigrationInterface { public async up(queryRunner: QueryRunner): Promise<void> {} public async down(queryRunner: QueryRunner): Promise<void> {} } ```
/content/code_sandbox/test/functional/migrations/show-command/migration/1530542855524-ExampleMigration.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
73
```xml import 'reflect-metadata'; import { assert } from 'chai'; import { InversifyContainerFacade } from '../../../src/container/InversifyContainerFacade'; import { ServiceIdentifiers } from '../../../src/container/ServiceIdentifiers'; import { IInversifyContainerFacade } from '../../../src/interfaces/container/IInversifyContainerFacade'; import { IEscapeSequenceEncoder } from '../../../src/interfaces/utils/IEscapeSequenceEncoder'; describe('EscapeSequenceEncoder', () => { describe('encode', () => { let escapeSequenceEncoder: IEscapeSequenceEncoder; before(() => { const inversifyContainerFacade: IInversifyContainerFacade = new InversifyContainerFacade(); inversifyContainerFacade.load('', '', {}); escapeSequenceEncoder = inversifyContainerFacade .get<IEscapeSequenceEncoder>(ServiceIdentifiers.IEscapeSequenceEncoder); }); describe('Variant #1: default', () => { const string: string = 'string'; const expectedString: string = '\\x73\\x74\\x72\\x69\\x6e\\x67'; let actualString: string; before(() => { actualString = escapeSequenceEncoder.encode(string, true); }); it('should return a string where all characters are encoded', () => { assert.equal(actualString, expectedString); }); }); describe('Variant #2: escape `escape sequences`', () => { const string: string = 'abc\'\\r\\n'; const expectedString: string = 'abc\\x27\\x5cr\\x5cn'; let actualString: string; before(() => { actualString = escapeSequenceEncoder.encode(string, false); }); it('should return a string where all `escape sequences` are encoded', () => { assert.equal(actualString, expectedString); }); }); describe('Variant #3: non-ascii character`', () => { const string: string = ''; const expectedString: string = '\\u0442\\u0435\\u0441\\u0442'; let actualString: string; before(() => { actualString = escapeSequenceEncoder.encode(string, true); }); it('should return a string where all non-ascii characters are encoded', () => { assert.equal(actualString, expectedString); }); }); describe('Variant #4: unicode control character`', () => { const string: string = '\x00\x1F\x7F\x9F'; const expectedString: string = '\\x00\\x1f\\x7f\\u009f'; let actualString: string; before(() => { actualString = escapeSequenceEncoder.encode(string, false); }); it('should return a string where all unicode control characters are encoded', () => { assert.equal(actualString, expectedString); }); }); }); }); ```
/content/code_sandbox/test/unit-tests/utils/EscapeSequenceEncoder.spec.ts
xml
2016-05-09T08:16:53
2024-08-16T19:43:07
javascript-obfuscator
javascript-obfuscator/javascript-obfuscator
13,358
613
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import itercumidrange = require( './index' ); /** * Returns an iterator protocol-compliant object. * * @returns iterator protocol-compliant object */ function iterator() { return { 'next': next }; /** * Implements the iterator protocol `next` method. * * @returns iterator protocol-compliant object */ function next() { return { 'value': true, 'done': false }; } } // TESTS // // The function returns an iterator... { itercumidrange( iterator() ); // $ExpectType Iterator } // The compiler throws an error if the function is provided a value other than an iterator protocol-compliant object... { itercumidrange( '5' ); // $ExpectError itercumidrange( 5 ); // $ExpectError itercumidrange( true ); // $ExpectError itercumidrange( false ); // $ExpectError itercumidrange( null ); // $ExpectError itercumidrange( undefined ); // $ExpectError itercumidrange( [] ); // $ExpectError itercumidrange( {} ); // $ExpectError itercumidrange( ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided insufficient arguments... { itercumidrange(); // $ExpectError } ```
/content/code_sandbox/lib/node_modules/@stdlib/stats/iter/cumidrange/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
347
```xml import { generateModels } from './connectionResolver'; import { IContract } from './models/definitions/contracts'; export const IMPORT_EXPORT_TYPES = [ { text: 'Loan Contract', contentType: 'contract', icon: 'server-alt' } ]; export default { importExportTypes: IMPORT_EXPORT_TYPES, insertImportItems: async ({ subdomain, data }: { data: { docs: [IContract] }; subdomain: string; }) => { const models = await generateModels(subdomain); const { docs } = data; let updated = 0; const objects: any = []; try { for (const doc of docs) { if (doc.number) { const contract = await models.Contracts.findOne({ code: doc.number }); if (contract) { await models.Contracts.updateOne( { _id: contract._id }, { $set: { ...doc } } ); updated++; } else { const insertedProduct = await models.Contracts.create(doc); objects.push(insertedProduct); } } else { const insertedProduct = await models.Contracts.create(doc); objects.push(insertedProduct); } } return { objects, updated }; } catch (e) { return { error: e.message }; } }, prepareImportDocs: async ({ subdomain, data }) => { const { result, properties } = data; const bulkDoc: any = []; // Iterating field values for (const fieldValue of result) { let colIndex: number = 0; var res = {}; for (const property of properties) { const value = (fieldValue[colIndex] || '').toString(); if (property.name === 'classification') res[property.name] = value.toUpperCase(); else res[property.name] = value; colIndex++; } bulkDoc.push(res); } return bulkDoc; } }; ```
/content/code_sandbox/packages/plugin-loans-api/src/imports.ts
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
419
```xml export class InjectionError extends TypedInjectError { constructor(public readonly path: InjectionTarget[], public readonly cause: Error) { super(`Could not ${describeInjectAction(path[0])} ${path.map(name).join(' -> ')}. Cause: ${cause.message}`); } } // See path_to_url export class UniqueKeyFailedError<T> extends UnprocessableEntityException { constructor(public readonly fields: ReadonlyArray<keyof T & string>) { const errorBody: UnprocessableEntityBody<T> = { status: 'uniqueness_failed', fields, }; super(errorBody); console.log(`${this.message} created`); } } ```
/content/code_sandbox/packages/instrumenter/testResources/instrumenter/super-call.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
139
```xml <resources> <string name="app_name">FragNav</string> </resources> ```
/content/code_sandbox/frag-nav/src/main/res/values/strings.xml
xml
2016-03-26T23:52:32
2024-08-15T19:57:39
FragNav
ncapdevi/FragNav
1,499
21
```xml import * as React from 'react'; import { WordGameListItem } from './WordService'; export interface IWordHighScoresProps { scores: WordGameListItem[]; } export default class WordHighScores extends React.Component<IWordHighScoresProps, {}> { constructor(props: IWordHighScoresProps) { super(props); } public render(): React.ReactElement<IWordHighScoresProps> { let rank: number = 1; return ( <div> { this.props.scores.length > 0 ? <h3 style={{ textDecoration: 'underline' }}>High Scores</h3> : '' } <table style={{ marginLeft: 'Auto', marginRight: 'Auto' }}> <tbody> { this.props.scores.map(score => ( <tr> <td><b>{rank++ + ') '}</b></td> <td><b>{score.Name} </b></td> <td><span style={{ marginLeft: '10px' }}>Score: {score.Score} </span></td> <td><span style={{ marginLeft: '10px' }}>Seconds: {score.Seconds}</span></td> </tr> )) } </tbody> </table> </div> ); } } ```
/content/code_sandbox/samples/react-word-game/src/webparts/wordGame/components/WordHighScores.tsx
xml
2016-08-30T17:21:43
2024-08-16T18:41:32
sp-dev-fx-webparts
pnp/sp-dev-fx-webparts
2,027
275
```xml import React from 'react'; import { ToggleButton } from 'react-bootstrap'; import Button from '../../../common/Button'; import { FormWrapper } from '../../../styles/main'; import { IUser } from '../../../types'; type Props = { currentUser: IUser; onSave: (doc: { [key: string]: any }) => void; }; export default function Settings(props: Props) { const { currentUser } = props; const notificationSettings = currentUser.notificationSettings || { receiveByEmail: false, receiveBySms: false, }; const [receiveByEmail, setReceiveByEmail] = React.useState( notificationSettings.receiveByEmail ); const [receiveBySms, setreceiveBySms] = React.useState( notificationSettings.receiveBySms ); const onSave = () => { props.onSave({ receiveByEmail, receiveBySms, }); }; return ( <FormWrapper> <h4>{'Notification settings'}</h4> <div className="content"> <ToggleButton id="toggle-check" type="checkbox" variant="outline-primary" checked={receiveByEmail} value="1" onChange={(e) => setReceiveByEmail(e.currentTarget.checked)} color="white" > {' Receive by mail'} </ToggleButton> <br /> <ToggleButton id="toggle-check" type="checkbox" variant="outline-primary" checked={receiveBySms} value="1" onChange={(e) => setreceiveBySms(e.currentTarget.checked)} color="white" > {' Receive by SMS'} </ToggleButton> <div className="right"> <Button btnStyle="success" onClick={onSave} uppercase={false} icon="check-circle" > Save </Button> </div> </div> </FormWrapper> ); } ```
/content/code_sandbox/exm/modules/main/components/notifications/Settings.tsx
xml
2016-11-11T06:54:50
2024-08-16T10:26:06
erxes
erxes/erxes
3,479
410
```xml import type { Command as CoreCommand, Disposable, Uri } from 'vscode'; import { commands } from 'vscode'; import type { Action, ActionContext } from '../api/gitlens'; import type { Command } from '../commands/base'; import type { CoreCommands, CoreGitCommands, TreeViewCommands } from '../constants'; import { Commands } from '../constants'; import { Container } from '../container'; import { isWebviewContext } from './webview'; export type CommandCallback = Parameters<typeof commands.registerCommand>[1]; type CommandConstructor = new (container: Container, ...args: any[]) => Command; const registrableCommands: CommandConstructor[] = []; export function command(): ClassDecorator { return (target: any) => { registrableCommands.push(target); }; } export function registerCommand(command: string, callback: CommandCallback, thisArg?: any): Disposable { return commands.registerCommand( command, function (this: any, ...args) { let context: any; if (command === Commands.GitCommands) { const arg = args?.[0]; if (arg?.command != null) { context = { mode: args[0].command }; if (arg?.state?.subcommand != null) { context.submode = arg.state.subcommand; } } } Container.instance.telemetry.sendEvent('command', { command: command, context: context }); callback.call(this, ...args); }, thisArg, ); } export function registerWebviewCommand(command: string, callback: CommandCallback, thisArg?: any): Disposable { return commands.registerCommand( command, function (this: any, ...args) { Container.instance.telemetry.sendEvent('command', { command: command, webview: isWebviewContext(args[0]) ? args[0].webview : '<missing>', }); callback.call(this, ...args); }, thisArg, ); } export function registerCommands(container: Container): Disposable[] { return registrableCommands.map(c => new c(container)); } export function asCommand<T extends unknown[]>( command: Omit<CoreCommand, 'arguments'> & { arguments: [...T] }, ): CoreCommand { return command; } export function executeActionCommand<T extends ActionContext>(action: Action<T>, args: Omit<T, 'type'>) { return commands.executeCommand(`${Commands.ActionPrefix}${action}`, { ...args, type: action }); } export function createCommand<T extends unknown[]>( command: Commands | TreeViewCommands, title: string, ...args: T ): CoreCommand { return { command: command, title: title, arguments: args, }; } export function executeCommand<U = any>(command: Commands): Thenable<U>; export function executeCommand<T = unknown, U = any>(command: Commands, arg: T): Thenable<U>; export function executeCommand<T extends [...unknown[]] = [], U = any>(command: Commands, ...args: T): Thenable<U>; export function executeCommand<T extends [...unknown[]] = [], U = any>(command: Commands, ...args: T): Thenable<U> { return commands.executeCommand<U>(command, ...args); } export function createCoreCommand<T extends unknown[]>(command: CoreCommands, title: string, ...args: T): CoreCommand { return { command: command, title: title, arguments: args, }; } export function executeCoreCommand<T = unknown, U = any>(command: CoreCommands, arg: T): Thenable<U>; export function executeCoreCommand<T extends [...unknown[]] = [], U = any>( command: CoreCommands, ...args: T ): Thenable<U>; export function executeCoreCommand<T extends [...unknown[]] = [], U = any>( command: CoreCommands, ...args: T ): Thenable<U> { if ( command != 'setContext' && command !== 'vscode.executeDocumentSymbolProvider' && command !== 'vscode.changes' && command !== 'vscode.diff' && command !== 'vscode.open' ) { Container.instance.telemetry.sendEvent('command/core', { command: command }); } return commands.executeCommand<U>(command, ...args); } export function createCoreGitCommand<T extends unknown[]>( command: CoreGitCommands, title: string, ...args: T ): CoreCommand { return { command: command, title: title, arguments: args, }; } export function executeCoreGitCommand<U = any>(command: CoreGitCommands): Thenable<U>; export function executeCoreGitCommand<T = unknown, U = any>(command: CoreGitCommands, arg: T): Thenable<U>; export function executeCoreGitCommand<T extends [...unknown[]] = [], U = any>( command: CoreGitCommands, ...args: T ): Thenable<U>; export function executeCoreGitCommand<T extends [...unknown[]] = [], U = any>( command: CoreGitCommands, ...args: T ): Thenable<U> { Container.instance.telemetry.sendEvent('command/core', { command: command }); return commands.executeCommand<U>(command, ...args); } export function executeEditorCommand<T>(command: Commands, uri: Uri | undefined, args: T) { return commands.executeCommand(command, uri, args); } ```
/content/code_sandbox/src/system/command.ts
xml
2016-08-08T14:50:30
2024-08-15T21:25:09
vscode-gitlens
gitkraken/vscode-gitlens
8,889
1,147
```xml <?xml version="1.0" encoding="utf-8"?> <!-- /* ** ** ** ** path_to_url ** ** Unless required by applicable law or agreed to in writing, software ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ --> <dictionary> <part name = "main" /> </dictionary> ```
/content/code_sandbox/app/src/main/res/xml/dictionary.xml
xml
2016-01-22T21:40:54
2024-08-16T11:54:30
hackerskeyboard
klausw/hackerskeyboard
1,807
72
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import iterRound2 = require( './index' ); /** * Returns an iterator protocol-compliant object. * * @returns iterator protocol-compliant object */ function iterator() { return { 'next': next }; /** * Implements the iterator protocol `next` method. * * @returns iterator protocol-compliant object */ function next() { return { 'value': true, 'done': false }; } } // TESTS // // The function returns an iterator... { iterRound2( iterator() ); // $ExpectType Iterator } // The compiler throws an error if the function is provided a first argument which is not an iterator protocol-compliant object... { iterRound2( '5' ); // $ExpectError iterRound2( 5 ); // $ExpectError iterRound2( true ); // $ExpectError iterRound2( false ); // $ExpectError iterRound2( null ); // $ExpectError iterRound2( undefined ); // $ExpectError iterRound2( [] ); // $ExpectError iterRound2( {} ); // $ExpectError iterRound2( ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided insufficient arguments... { iterRound2(); // $ExpectError } ```
/content/code_sandbox/lib/node_modules/@stdlib/math/iter/special/round2/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
336
```xml import { observer } from "mobx-react-lite" import { FC, useCallback, useState } from "react" import { addTimeSignature, setLoopBegin, setLoopEnd } from "../../actions" import { useStores } from "../../hooks/useStores" import { envString } from "../../localize/envString" import { Localized } from "../../localize/useLocalization" import { RulerStore } from "../../stores/RulerStore" import { ContextMenu, ContextMenuProps, ContextMenuHotKey as HotKey, } from "../ContextMenu/ContextMenu" import { MenuItem } from "../ui/Menu" import { TimeSignatureDialog } from "./TimeSignatureDialog" export interface RulerContextMenuProps extends ContextMenuProps { rulerStore: RulerStore tick: number } export const RulerContextMenu: FC<RulerContextMenuProps> = observer( ({ rulerStore, tick, ...props }) => { const { handleClose } = props const rootStore = useStores() const { song, player } = rootStore const [isOpenTimeSignatureDialog, setOpenTimeSignatureDialog] = useState(false) const isTimeSignatureSelected = rulerStore.selectedTimeSignatureEventIds.length > 0 const onClickAddTimeSignature = useCallback(() => { setOpenTimeSignatureDialog(true) handleClose() }, []) const onClickRemoveTimeSignature = useCallback(() => { song.conductorTrack?.removeEvents( rulerStore.selectedTimeSignatureEventIds, ) handleClose() }, [song]) const onClickSetLoopStart = useCallback(() => { setLoopBegin(rootStore)(tick) handleClose() }, [tick]) const onClickSetLoopEnd = useCallback(() => { setLoopEnd(rootStore)(tick) handleClose() }, [tick]) const closeOpenTimeSignatureDialog = useCallback(() => { setOpenTimeSignatureDialog(false) }, []) return ( <> <ContextMenu {...props}> <MenuItem onClick={onClickSetLoopStart}> <Localized name="set-loop-start" /> <HotKey>{envString.cmdOrCtrl}+Click</HotKey> </MenuItem> <MenuItem onClick={onClickSetLoopEnd}> <Localized name="set-loop-end" /> <HotKey>Alt+Click</HotKey> </MenuItem> <MenuItem onClick={onClickAddTimeSignature}> <Localized name="add-time-signature" /> </MenuItem> <MenuItem onClick={onClickRemoveTimeSignature} disabled={!isTimeSignatureSelected} > <Localized name="remove-time-signature" /> </MenuItem> </ContextMenu> <TimeSignatureDialog open={isOpenTimeSignatureDialog} onClose={closeOpenTimeSignatureDialog} onClickOK={({ numerator, denominator }) => { addTimeSignature(rootStore)(tick, numerator, denominator) }} /> </> ) }, ) ```
/content/code_sandbox/app/src/components/PianoRoll/RulerContextMenu.tsx
xml
2016-03-06T15:19:53
2024-08-15T14:27:10
signal
ryohey/signal
1,238
607
```xml <dict> <key>LayoutID</key> <integer>18</integer> <key>PathMapRef</key> <array> <dict> <key>CodecID</key> <array> <integer>283903586</integer> </array> <key>Headphone</key> <dict/> <key>Inputs</key> <array> <string>Mic</string> <string>LineIn</string> </array> <key>IntSpeaker</key> <dict/> <key>LineIn</key> <dict> <key>MuteGPIO</key> <integer>1342242841</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1078616770</integer> <key>3</key> <integer>1078616770</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspEqualization</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1132560510</integer> <key>7</key> <integer>1064190664</integer> <key>8</key> <integer>-1057196819</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150544383</integer> <key>7</key> <integer>1068848526</integer> <key>8</key> <integer>-1073422534</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>15</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1182094222</integer> <key>7</key> <integer>1063679547</integer> <key>8</key> <integer>-1048213171</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspMultibandDRC</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Crossover</key> <dict> <key>4</key> <integer>1</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1128792064</integer> </dict> <key>Limiter</key> <array> <dict> <key>10</key> <integer>-1068807345</integer> <key>11</key> <integer>1097982434</integer> <key>12</key> <integer>-1038380141</integer> <key>13</key> <integer>1068906038</integer> <key>14</key> <integer>-1036233644</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1101004800</integer> <key>17</key> <integer>1101004800</integer> <key>18</key> <integer>1128792064</integer> <key>19</key> <integer>1101004800</integer> <key>2</key> <integer>1</integer> <key>20</key> <integer>1127866850</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>0</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Mic</key> <dict> <key>MuteGPIO</key> <integer>1342242840</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1078616770</integer> <key>3</key> <integer>1078616770</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspEqualization</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1132560510</integer> <key>7</key> <integer>1064190664</integer> <key>8</key> <integer>-1057196819</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150544383</integer> <key>7</key> <integer>1068848526</integer> <key>8</key> <integer>-1073422534</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>15</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1182094222</integer> <key>7</key> <integer>1063679547</integer> <key>8</key> <integer>-1048213171</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspMultibandDRC</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Crossover</key> <dict> <key>4</key> <integer>1</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1128792064</integer> </dict> <key>Limiter</key> <array> <dict> <key>10</key> <integer>-1068807345</integer> <key>11</key> <integer>1097982434</integer> <key>12</key> <integer>-1038380141</integer> <key>13</key> <integer>1068906038</integer> <key>14</key> <integer>-1036233644</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1101004800</integer> <key>17</key> <integer>1101004800</integer> <key>18</key> <integer>1128792064</integer> <key>19</key> <integer>1101004800</integer> <key>2</key> <integer>1</integer> <key>20</key> <integer>1127866850</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>0</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Outputs</key> <array> <string>IntSpeaker</string> <string>Headphone</string> <string>SPDIFOut</string> </array> <key>PathMapID</key> <integer>18</integer> <key>SPDIFOut</key> <dict/> </dict> </array> </dict> ```
/content/code_sandbox/Resources/ALC662/layout18.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
4,937
```xml /* eslint-disable */ export default { displayName: 'tenant-management', preset: '../../jest.preset.js', setupFilesAfterEnv: ['<rootDir>/src/test-setup.ts'], globals: {}, coverageDirectory: '../../coverage/packages/tenant-management', transform: { '^.+.(ts|mjs|js|html)$': [ 'jest-preset-angular', { tsconfig: '<rootDir>/tsconfig.spec.json', stringifyContentPathRegex: '\\.(html|svg)$', }, ], }, transformIgnorePatterns: ['node_modules/(?!.*.mjs$)'], snapshotSerializers: [ 'jest-preset-angular/build/serializers/no-ng-attributes', 'jest-preset-angular/build/serializers/ng-snapshot', 'jest-preset-angular/build/serializers/html-comment', ], }; ```
/content/code_sandbox/npm/ng-packs/packages/tenant-management/jest.config.ts
xml
2016-12-03T22:56:24
2024-08-16T16:24:05
abp
abpframework/abp
12,657
182
```xml export default function Page() { return ( <> <h1>Next.js 13 + Grafbase</h1> <p> Once you've added some posts using the GraphQL Playground, you can explore each post by clicking the link in the nav. </p> </> ); } ```
/content/code_sandbox/examples/with-grafbase/app/page.tsx
xml
2016-10-05T23:32:51
2024-08-16T19:44:30
next.js
vercel/next.js
124,056
68
```xml import { addNamespaceToPath, titleCase, upperFirst } from './helpers'; describe('addNamespaceToPath', () => { it('should return a path with the namespace key', () => { const path = '/'; const key = 'example'; const result = addNamespaceToPath(path, key); expect(result).toEqual('/namespaces/example/'); }); it('should leave a path with the same namespace key alone', () => { const path = '/namespaces/example'; const key = 'example'; const result = addNamespaceToPath(path, key); expect(result).toEqual('/namespaces/example'); }); it('handles existing noun in path', () => { const path = '/segments'; const key = 'example'; const result = addNamespaceToPath(path, key); expect(result).toEqual('/namespaces/example/segments'); }); it('handles existing noun in path with new key', () => { const path = '/namespaces/example/segments'; const key = 'test'; const result = addNamespaceToPath(path, key); expect(result).toEqual('/namespaces/test/segments'); }); }); describe('upperFirst', () => { it('should convert first char to upper case', () => { const result = upperFirst('test is done'); expect(result).toEqual('Test is done'); }); }); describe('titleCase', () => { it('should convert first char to upper case for each word', () => { const result = titleCase('test is done'); expect(result).toEqual('Test Is Done'); }); }); ```
/content/code_sandbox/ui/src/utils/helpers.test.ts
xml
2016-11-05T00:09:07
2024-08-16T13:44:10
flipt
flipt-io/flipt
3,489
343
```xml import type { ClientCertificate } from 'insomnia/src/models/client-certificate'; import type { CookieJar as InsomniaCookieJar } from 'insomnia/src/models/cookie-jar'; import type { Request } from 'insomnia/src/models/request'; import type { Settings } from 'insomnia/src/models/settings'; import type { sendCurlAndWriteTimelineError, sendCurlAndWriteTimelineResponse } from 'insomnia/src/network/network'; export interface RequestContext { request: Request; timelinePath: string; environment: { id: string; name: string; data: object; }; baseEnvironment: { id: string; name: string; data: object; }; collectionVariables?: object; globals?: object; iterationData?: object; timeout: number; settings: Settings; clientCertificates: ClientCertificate[]; cookieJar: InsomniaCookieJar; // only for the after-response script response?: sendCurlAndWriteTimelineResponse | sendCurlAndWriteTimelineError; } ```
/content/code_sandbox/packages/insomnia-sdk/src/objects/interfaces.ts
xml
2016-04-23T03:54:26
2024-08-16T16:50:44
insomnia
Kong/insomnia
34,054
222
```xml import { LOCKFILE_VERSION, WANTED_LOCKFILE } from '@pnpm/constants' import { filterLockfileByImporters } from '@pnpm/lockfile.filtering' import { type DepPath, type ProjectId } from '@pnpm/types' test('filterByImporters(): only prod dependencies of one importer', () => { const filteredLockfile = filterLockfileByImporters( { importers: { ['project-1' as ProjectId]: { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: { 'dev-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, specifiers: { 'dev-dep': '^1.0.0', 'optional-dep': '^1.0.0', 'prod-dep': '^1.0.0', }, }, ['project-2' as ProjectId]: { dependencies: { 'project-2-prod-dep': '1.0.0', }, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { ['dev-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['optional-dep@1.0.0' as DepPath]: { optional: true, resolution: { integrity: '' }, }, ['prod-dep-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['prod-dep@1.0.0' as DepPath]: { dependencies: { 'prod-dep-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, resolution: { integrity: '' }, }, ['project-2-prod-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, }, }, ['project-1' as ProjectId], { failOnMissingDependencies: true, include: { dependencies: true, devDependencies: false, optionalDependencies: false, }, skipped: new Set<DepPath>(), } ) expect(filteredLockfile).toStrictEqual({ importers: { 'project-1': { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: {}, optionalDependencies: {}, specifiers: { 'dev-dep': '^1.0.0', 'optional-dep': '^1.0.0', 'prod-dep': '^1.0.0', }, }, 'project-2': { dependencies: { 'project-2-prod-dep': '1.0.0', }, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { 'prod-dep-dep@1.0.0': { resolution: { integrity: '' }, }, 'prod-dep@1.0.0': { dependencies: { 'prod-dep-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, resolution: { integrity: '' }, }, }, }) }) // TODO: also fail when filterLockfile() is used test('filterByImporters(): fail on missing packages when failOnMissingDependencies is true', () => { let err!: Error try { filterLockfileByImporters( { importers: { ['project-1' as ProjectId]: { dependencies: { 'prod-dep': '1.0.0', }, specifiers: { 'prod-dep': '^1.0.0', }, }, ['project-2' as ProjectId]: { specifiers: {}, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { ['prod-dep@1.0.0' as DepPath]: { dependencies: { 'prod-dep-dep': '1.0.0', }, resolution: { integrity: '', }, }, }, }, ['project-1' as ProjectId], { failOnMissingDependencies: true, include: { dependencies: true, devDependencies: false, optionalDependencies: false, }, skipped: new Set<DepPath>(), } ) } catch (_: any) { // eslint-disable-line err = _ } expect(err).not.toBeNull() expect(err.message).toEqual(`Broken lockfile: no entry for 'prod-dep-dep@1.0.0' in ${WANTED_LOCKFILE}`) }) test('filterByImporters(): do not fail on missing packages when failOnMissingDependencies is false', () => { const filteredLockfile = filterLockfileByImporters( { importers: { ['project-1' as ProjectId]: { dependencies: { 'prod-dep': '1.0.0', }, specifiers: { 'prod-dep': '^1.0.0', }, }, ['project-2' as ProjectId]: { specifiers: {}, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { ['prod-dep@1.0.0' as DepPath]: { dependencies: { 'prod-dep-dep': '1.0.0', }, resolution: { integrity: '', }, }, }, }, ['project-1' as ProjectId], { failOnMissingDependencies: false, include: { dependencies: true, devDependencies: false, optionalDependencies: false, }, skipped: new Set<DepPath>(), } ) expect(filteredLockfile).toStrictEqual({ importers: { 'project-1': { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: {}, optionalDependencies: {}, specifiers: { 'prod-dep': '^1.0.0', }, }, 'project-2': { specifiers: {}, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { 'prod-dep@1.0.0': { dependencies: { 'prod-dep-dep': '1.0.0', }, resolution: { integrity: '' }, }, }, }) }) test('filterByImporters(): do not include skipped packages', () => { const filteredLockfile = filterLockfileByImporters( { importers: { ['project-1' as ProjectId]: { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: { 'dev-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, specifiers: { 'dev-dep': '^1.0.0', 'optional-dep': '^1.0.0', 'prod-dep': '^1.0.0', }, }, ['project-2' as ProjectId]: { dependencies: { 'project-2-prod-dep': '1.0.0', }, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { ['dev-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['optional-dep@1.0.0' as DepPath]: { optional: true, resolution: { integrity: '' }, }, ['prod-dep-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['prod-dep@1.0.0' as DepPath]: { dependencies: { 'prod-dep-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, resolution: { integrity: '' }, }, ['project-2-prod-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, }, }, ['project-1' as ProjectId], { failOnMissingDependencies: true, include: { dependencies: true, devDependencies: true, optionalDependencies: true, }, skipped: new Set<DepPath>(['optional-dep@1.0.0' as DepPath]), } ) expect(filteredLockfile).toStrictEqual({ importers: { 'project-1': { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: { 'dev-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, specifiers: { 'dev-dep': '^1.0.0', 'optional-dep': '^1.0.0', 'prod-dep': '^1.0.0', }, }, 'project-2': { dependencies: { 'project-2-prod-dep': '1.0.0', }, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { 'dev-dep@1.0.0': { resolution: { integrity: '' }, }, 'prod-dep-dep@1.0.0': { resolution: { integrity: '' }, }, 'prod-dep@1.0.0': { dependencies: { 'prod-dep-dep': '1.0.0', }, optionalDependencies: { 'optional-dep': '1.0.0', }, resolution: { integrity: '' }, }, }, }) }) test('filterByImporters(): exclude orphan packages', () => { const filteredLockfile = filterLockfileByImporters( { importers: { ['project-1' as ProjectId]: { dependencies: { 'prod-dep': '1.0.0', }, specifiers: { 'prod-dep': '^1.0.0', }, }, ['project-2' as ProjectId]: { dependencies: { 'project-2-prod-dep': '1.0.0', }, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { ['orphan@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['prod-dep-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, ['prod-dep@1.0.0' as DepPath]: { dependencies: { 'prod-dep-dep': '1.0.0', }, resolution: { integrity: '' }, }, ['project-2-prod-dep@1.0.0' as DepPath]: { resolution: { integrity: '' }, }, }, }, ['project-1', 'project-2'] as ProjectId[], { failOnMissingDependencies: true, include: { dependencies: true, devDependencies: true, optionalDependencies: true, }, skipped: new Set<DepPath>(), } ) expect(filteredLockfile).toStrictEqual({ importers: { 'project-1': { dependencies: { 'prod-dep': '1.0.0', }, devDependencies: {}, optionalDependencies: {}, specifiers: { 'prod-dep': '^1.0.0', }, }, 'project-2': { dependencies: { 'project-2-prod-dep': '1.0.0', }, devDependencies: {}, optionalDependencies: {}, specifiers: { 'project-2-prod-dep': '^1.0.0', }, }, }, lockfileVersion: LOCKFILE_VERSION, packages: { 'prod-dep-dep@1.0.0': { resolution: { integrity: '' }, }, 'prod-dep@1.0.0': { dependencies: { 'prod-dep-dep': '1.0.0', }, resolution: { integrity: '' }, }, 'project-2-prod-dep@1.0.0': { resolution: { integrity: '' }, }, }, }) }) ```
/content/code_sandbox/lockfile/filtering/test/filterByImporters.ts
xml
2016-01-28T07:40:43
2024-08-16T12:38:47
pnpm
pnpm/pnpm
28,869
2,919
```xml // // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. import * as express from "express"; import * as auth from "firebase-admin/auth"; import * as logger from "../../logger"; import { EventContext } from "../../v1/cloud-functions"; import { getApp } from "../app"; import { isDebugFeatureEnabled } from "../debug"; import { HttpsError, unsafeDecodeToken } from "./https"; export { HttpsError }; const DISALLOWED_CUSTOM_CLAIMS = [ "acr", "amr", "at_hash", "aud", "auth_time", "azp", "cnf", "c_hash", "exp", "iat", "iss", "jti", "nbf", "nonce", "firebase", ]; const CLAIMS_MAX_PAYLOAD_SIZE = 1000; /** * Shorthand auth blocking events from GCIP. * @hidden * @alpha */ export type AuthBlockingEventType = "beforeCreate" | "beforeSignIn"; const EVENT_MAPPING: Record<string, string> = { beforeCreate: "providers/cloud.auth/eventTypes/user.beforeCreate", beforeSignIn: "providers/cloud.auth/eventTypes/user.beforeSignIn", }; /** * The `UserRecord` passed to Cloud Functions is the same * {@link path_to_url | UserRecord} * that is returned by the Firebase Admin SDK. */ export type UserRecord = auth.UserRecord; /** * `UserInfo` that is part of the `UserRecord`. */ export type UserInfo = auth.UserInfo; /** * Helper class to create the user metadata in a `UserRecord` object. */ export class UserRecordMetadata implements auth.UserMetadata { constructor(public creationTime: string, public lastSignInTime: string) {} /** Returns a plain JavaScript object with the properties of UserRecordMetadata. */ toJSON(): AuthUserMetadata { return { creationTime: this.creationTime, lastSignInTime: this.lastSignInTime, }; } } /** * Helper function that creates a `UserRecord` class from data sent over the wire. * @param wireData data sent over the wire * @returns an instance of `UserRecord` with correct toJSON functions */ export function userRecordConstructor(wireData: Record<string, unknown>): UserRecord { // Falsey values from the wire format proto get lost when converted to JSON, this adds them back. const falseyValues: any = { email: null, emailVerified: false, displayName: null, photoURL: null, phoneNumber: null, disabled: false, providerData: [], customClaims: {}, passwordSalt: null, passwordHash: null, tokensValidAfterTime: null, }; const record = { ...falseyValues, ...wireData }; const meta = record.metadata; if (meta) { record.metadata = new UserRecordMetadata( meta.createdAt || meta.creationTime, meta.lastSignedInAt || meta.lastSignInTime ); } else { record.metadata = new UserRecordMetadata(null, null); } record.toJSON = () => { const { uid, email, emailVerified, displayName, photoURL, phoneNumber, disabled, passwordHash, passwordSalt, tokensValidAfterTime, } = record; const json: Record<string, unknown> = { uid, email, emailVerified, displayName, photoURL, phoneNumber, disabled, passwordHash, passwordSalt, tokensValidAfterTime, }; json.metadata = record.metadata.toJSON(); json.customClaims = JSON.parse(JSON.stringify(record.customClaims)); json.providerData = record.providerData.map((entry) => { const newEntry = { ...entry }; newEntry.toJSON = () => entry; return newEntry; }); return json; }; return record as UserRecord; } /** * User info that is part of the `AuthUserRecord`. */ export interface AuthUserInfo { /** * The user identifier for the linked provider. */ uid: string; /** * The display name for the linked provider. */ displayName: string; /** * The email for the linked provider. */ email: string; /** * The photo URL for the linked provider. */ photoURL: string; /** * The linked provider ID (for example, "google.com" for the Google provider). */ providerId: string; /** * The phone number for the linked provider. */ phoneNumber: string; } /** * Additional metadata about the user. */ export interface AuthUserMetadata { /** * The date the user was created, formatted as a UTC string. */ creationTime: string; /** * The date the user last signed in, formatted as a UTC string. */ lastSignInTime: string; } /** * Interface representing the common properties of a user-enrolled second factor. */ export interface AuthMultiFactorInfo { /** * The ID of the enrolled second factor. This ID is unique to the user. */ uid: string; /** * The optional display name of the enrolled second factor. */ displayName?: string; /** * The type identifier of the second factor. For SMS second factors, this is `phone`. */ factorId: string; /** * The optional date the second factor was enrolled, formatted as a UTC string. */ enrollmentTime?: string; /** * The phone number associated with a phone second factor. */ phoneNumber?: string; } /** * The multi-factor related properties for the current user, if available. */ export interface AuthMultiFactorSettings { /** * List of second factors enrolled with the current user. */ enrolledFactors: AuthMultiFactorInfo[]; } /** * The `UserRecord` passed to auth blocking functions from the identity platform. */ export interface AuthUserRecord { /** * The user's `uid`. */ uid: string; /** * The user's primary email, if set. */ email?: string; /** * Whether or not the user's primary email is verified. */ emailVerified: boolean; /** * The user's display name. */ displayName?: string; /** * The user's photo URL. */ photoURL?: string; /** * The user's primary phone number, if set. */ phoneNumber?: string; /** * Whether or not the user is disabled: `true` for disabled; `false` for * enabled. */ disabled: boolean; /** * Additional metadata about the user. */ metadata: AuthUserMetadata; /** * An array of providers (for example, Google, Facebook) linked to the user. */ providerData: AuthUserInfo[]; /** * The user's hashed password (base64-encoded). */ passwordHash?: string; /** * The user's password salt (base64-encoded). */ passwordSalt?: string; /** * The user's custom claims object if available, typically used to define * user roles and propagated to an authenticated user's ID token. */ customClaims?: Record<string, any>; /** * The ID of the tenant the user belongs to, if available. */ tenantId?: string | null; /** * The date the user's tokens are valid after, formatted as a UTC string. */ tokensValidAfterTime?: string; /** * The multi-factor related properties for the current user, if available. */ multiFactor?: AuthMultiFactorSettings; } /** The additional user info component of the auth event context */ export interface AdditionalUserInfo { providerId: string; profile?: any; username?: string; isNewUser: boolean; recaptchaScore?: number; } /** The credential component of the auth event context */ export interface Credential { claims?: { [key: string]: any }; idToken?: string; accessToken?: string; refreshToken?: string; expirationTime?: string; secret?: string; providerId: string; signInMethod: string; } /** Defines the auth event context for blocking events */ export interface AuthEventContext extends EventContext { locale?: string; ipAddress: string; userAgent: string; additionalUserInfo?: AdditionalUserInfo; credential?: Credential; } /** Defines the auth event for 2nd gen blocking events */ export interface AuthBlockingEvent extends AuthEventContext { data: AuthUserRecord; } /** * The reCAPTCHA action options. */ export type RecaptchaActionOptions = "ALLOW" | "BLOCK"; /** The handler response type for `beforeCreate` blocking events */ export interface BeforeCreateResponse { displayName?: string; disabled?: boolean; emailVerified?: boolean; photoURL?: string; customClaims?: object; recaptchaActionOverride?: RecaptchaActionOptions; } /** The handler response type for `beforeSignIn` blocking events */ export interface BeforeSignInResponse extends BeforeCreateResponse { sessionClaims?: object; } interface DecodedPayloadUserRecordMetadata { creation_time?: number; last_sign_in_time?: number; } interface DecodedPayloadUserRecordUserInfo { uid: string; display_name?: string; email?: string; photo_url?: string; phone_number?: string; provider_id: string; } /** @internal */ export interface DecodedPayloadMfaInfo { uid: string; display_name?: string; phone_number?: string; enrollment_time?: string; factor_id?: string; } interface DecodedPayloadUserRecordEnrolledFactors { enrolled_factors?: DecodedPayloadMfaInfo[]; } /** @internal */ export interface DecodedPayloadUserRecord { uid: string; email?: string; email_verified?: boolean; phone_number?: string; display_name?: string; photo_url?: string; disabled?: boolean; metadata?: DecodedPayloadUserRecordMetadata; password_hash?: string; password_salt?: string; provider_data?: DecodedPayloadUserRecordUserInfo[]; multi_factor?: DecodedPayloadUserRecordEnrolledFactors; custom_claims?: any; tokens_valid_after_time?: number; tenant_id?: string; [key: string]: any; } /** @internal */ export interface DecodedPayload { aud: string; exp: number; iat: number; iss: string; sub: string; event_id: string; event_type: string; ip_address: string; user_agent?: string; locale?: string; sign_in_method?: string; user_record?: DecodedPayloadUserRecord; tenant_id?: string; raw_user_info?: string; sign_in_attributes?: { [key: string]: any; }; oauth_id_token?: string; oauth_access_token?: string; oauth_refresh_token?: string; oauth_token_secret?: string; oauth_expires_in?: number; recaptcha_score?: number; [key: string]: any; } /** * Internal definition to include all the fields that can be sent as * a response from the blocking function to the backend. * This is added mainly to have a type definition for 'generateResponsePayload' * @internal */ export interface ResponsePayload { userRecord?: UserRecordResponsePayload; recaptchaActionOverride?: RecaptchaActionOptions; } /** @internal */ export interface UserRecordResponsePayload extends Omit<BeforeSignInResponse, "recaptchaActionOverride"> { updateMask?: string; } type HandlerV1 = ( user: AuthUserRecord, context: AuthEventContext ) => | BeforeCreateResponse | BeforeSignInResponse | void | Promise<BeforeCreateResponse> | Promise<BeforeSignInResponse> | Promise<void>; type HandlerV2 = ( event: AuthBlockingEvent ) => | BeforeCreateResponse | BeforeSignInResponse | void | Promise<BeforeCreateResponse> | Promise<BeforeSignInResponse> | Promise<void>; /** * Checks for a valid identity platform web request, otherwise throws an HttpsError. * @internal */ export function isValidRequest(req: express.Request): boolean { if (req.method !== "POST") { logger.warn(`Request has invalid method "${req.method}".`); return false; } const contentType: string = (req.header("Content-Type") || "").toLowerCase(); if (!contentType.includes("application/json")) { logger.warn("Request has invalid header Content-Type."); return false; } if (!req.body?.data?.jwt) { logger.warn("Request has an invalid body."); return false; } return true; } /** * Decode, but not verify, an Auth Blocking token. * * Do not use in production. Token should always be verified using the Admin SDK. * * This is exposed only for testing. */ function unsafeDecodeAuthBlockingToken(token: string): DecodedPayload { const decoded = unsafeDecodeToken(token) as DecodedPayload; decoded.uid = decoded.sub; return decoded; } /** * Helper function to parse the decoded metadata object into a `UserMetaData` object * @internal */ export function parseMetadata(metadata: DecodedPayloadUserRecordMetadata): AuthUserMetadata { const creationTime = metadata?.creation_time ? new Date(metadata.creation_time).toUTCString() : null; const lastSignInTime = metadata?.last_sign_in_time ? new Date(metadata.last_sign_in_time).toUTCString() : null; return { creationTime, lastSignInTime, }; } /** * Helper function to parse the decoded user info array into an `AuthUserInfo` array. * @internal */ export function parseProviderData( providerData: DecodedPayloadUserRecordUserInfo[] ): AuthUserInfo[] { const providers: AuthUserInfo[] = []; for (const provider of providerData) { providers.push({ uid: provider.uid, displayName: provider.display_name, email: provider.email, photoURL: provider.photo_url, providerId: provider.provider_id, phoneNumber: provider.phone_number, }); } return providers; } /** * Helper function to parse the date into a UTC string. * @internal */ export function parseDate(tokensValidAfterTime?: number): string | null { if (!tokensValidAfterTime) { return null; } tokensValidAfterTime = tokensValidAfterTime * 1000; try { const date = new Date(tokensValidAfterTime); if (!isNaN(date.getTime())) { return date.toUTCString(); } } catch { // ignore error } return null; } /** * Helper function to parse the decoded enrolled factors into a valid MultiFactorSettings * @internal */ export function parseMultiFactor( multiFactor?: DecodedPayloadUserRecordEnrolledFactors ): AuthMultiFactorSettings { if (!multiFactor) { return null; } const parsedEnrolledFactors: AuthMultiFactorInfo[] = []; for (const factor of multiFactor.enrolled_factors || []) { if (!factor.uid) { throw new HttpsError( "internal", "INTERNAL ASSERT FAILED: Invalid multi-factor info response" ); } const enrollmentTime = factor.enrollment_time ? new Date(factor.enrollment_time).toUTCString() : null; parsedEnrolledFactors.push({ uid: factor.uid, factorId: factor.phone_number ? factor.factor_id || "phone" : factor.factor_id, displayName: factor.display_name, enrollmentTime, phoneNumber: factor.phone_number, }); } if (parsedEnrolledFactors.length > 0) { return { enrolledFactors: parsedEnrolledFactors, }; } return null; } /** * Parses the decoded user record into a valid UserRecord for use in the handler * @internal */ export function parseAuthUserRecord( decodedJWTUserRecord: DecodedPayloadUserRecord ): AuthUserRecord { if (!decodedJWTUserRecord.uid) { throw new HttpsError("internal", "INTERNAL ASSERT FAILED: Invalid user response"); } const disabled = decodedJWTUserRecord.disabled || false; const metadata = parseMetadata(decodedJWTUserRecord.metadata); const providerData = parseProviderData(decodedJWTUserRecord.provider_data); const tokensValidAfterTime = parseDate(decodedJWTUserRecord.tokens_valid_after_time); const multiFactor = parseMultiFactor(decodedJWTUserRecord.multi_factor); return { uid: decodedJWTUserRecord.uid, email: decodedJWTUserRecord.email, emailVerified: decodedJWTUserRecord.email_verified, displayName: decodedJWTUserRecord.display_name, photoURL: decodedJWTUserRecord.photo_url, phoneNumber: decodedJWTUserRecord.phone_number, disabled, metadata, providerData, passwordHash: decodedJWTUserRecord.password_hash, passwordSalt: decodedJWTUserRecord.password_salt, customClaims: decodedJWTUserRecord.custom_claims, tenantId: decodedJWTUserRecord.tenant_id, tokensValidAfterTime, multiFactor, }; } /** Helper to get the `AdditionalUserInfo` from the decoded JWT */ function parseAdditionalUserInfo(decodedJWT: DecodedPayload): AdditionalUserInfo { let profile; let username; if (decodedJWT.raw_user_info) { try { profile = JSON.parse(decodedJWT.raw_user_info); } catch (err) { logger.debug(`Parse Error: ${err.message}`); } } if (profile) { if (decodedJWT.sign_in_method === "github.com") { username = profile.login; } if (decodedJWT.sign_in_method === "twitter.com") { username = profile.screen_name; } } return { providerId: decodedJWT.sign_in_method === "emailLink" ? "password" : decodedJWT.sign_in_method, profile, username, isNewUser: decodedJWT.event_type === "beforeCreate" ? true : false, recaptchaScore: decodedJWT.recaptcha_score, }; } /** * Helper to generate a response from the blocking function to the Firebase Auth backend. * @internal */ export function generateResponsePayload( authResponse?: BeforeCreateResponse | BeforeSignInResponse ): ResponsePayload { if (!authResponse) { return {}; } const { recaptchaActionOverride, ...formattedAuthResponse } = authResponse; const result = {} as ResponsePayload; const updateMask = getUpdateMask(formattedAuthResponse); if (updateMask.length !== 0) { result.userRecord = { ...formattedAuthResponse, updateMask, }; } if (recaptchaActionOverride !== undefined) { result.recaptchaActionOverride = recaptchaActionOverride; } return result; } /** Helper to get the Credential from the decoded JWT */ function parseAuthCredential(decodedJWT: DecodedPayload, time: number): Credential { if ( !decodedJWT.sign_in_attributes && !decodedJWT.oauth_id_token && !decodedJWT.oauth_access_token && !decodedJWT.oauth_refresh_token ) { return null; } return { claims: decodedJWT.sign_in_attributes, idToken: decodedJWT.oauth_id_token, accessToken: decodedJWT.oauth_access_token, refreshToken: decodedJWT.oauth_refresh_token, expirationTime: decodedJWT.oauth_expires_in ? new Date(time + decodedJWT.oauth_expires_in * 1000).toUTCString() : undefined, secret: decodedJWT.oauth_token_secret, providerId: decodedJWT.sign_in_method === "emailLink" ? "password" : decodedJWT.sign_in_method, signInMethod: decodedJWT.sign_in_method, }; } /** * Parses the decoded jwt into a valid AuthEventContext for use in the handler * @internal */ export function parseAuthEventContext( decodedJWT: DecodedPayload, projectId: string, time: number = new Date().getTime() ): AuthEventContext { const eventType = (EVENT_MAPPING[decodedJWT.event_type] || decodedJWT.event_type) + (decodedJWT.sign_in_method ? `:${decodedJWT.sign_in_method}` : ""); return { locale: decodedJWT.locale, ipAddress: decodedJWT.ip_address, userAgent: decodedJWT.user_agent, eventId: decodedJWT.event_id, eventType, authType: decodedJWT.user_record ? "USER" : "UNAUTHENTICATED", resource: { // TODO(colerogers): figure out the correct service service: "identitytoolkit.googleapis.com", name: decodedJWT.tenant_id ? `projects/${projectId}/tenants/${decodedJWT.tenant_id}` : `projects/${projectId}`, }, timestamp: new Date(decodedJWT.iat * 1000).toUTCString(), additionalUserInfo: parseAdditionalUserInfo(decodedJWT), credential: parseAuthCredential(decodedJWT, time), params: {}, }; } /** * Checks the handler response for invalid customClaims & sessionClaims objects * @internal */ export function validateAuthResponse( eventType: string, authRequest?: BeforeCreateResponse | BeforeSignInResponse ) { if (!authRequest) { authRequest = {}; } if (authRequest.customClaims) { const invalidClaims = DISALLOWED_CUSTOM_CLAIMS.filter((claim) => authRequest.customClaims.hasOwnProperty(claim) ); if (invalidClaims.length > 0) { throw new HttpsError( "invalid-argument", `The customClaims claims "${invalidClaims.join(",")}" are reserved and cannot be specified.` ); } if (JSON.stringify(authRequest.customClaims).length > CLAIMS_MAX_PAYLOAD_SIZE) { throw new HttpsError( "invalid-argument", `The customClaims payload should not exceed ${CLAIMS_MAX_PAYLOAD_SIZE} characters.` ); } } if (eventType === "beforeSignIn" && (authRequest as BeforeSignInResponse).sessionClaims) { const invalidClaims = DISALLOWED_CUSTOM_CLAIMS.filter((claim) => (authRequest as BeforeSignInResponse).sessionClaims.hasOwnProperty(claim) ); if (invalidClaims.length > 0) { throw new HttpsError( "invalid-argument", `The sessionClaims claims "${invalidClaims.join( "," )}" are reserved and cannot be specified.` ); } if ( JSON.stringify((authRequest as BeforeSignInResponse).sessionClaims).length > CLAIMS_MAX_PAYLOAD_SIZE ) { throw new HttpsError( "invalid-argument", `The sessionClaims payload should not exceed ${CLAIMS_MAX_PAYLOAD_SIZE} characters.` ); } const combinedClaims = { ...authRequest.customClaims, ...(authRequest as BeforeSignInResponse).sessionClaims, }; if (JSON.stringify(combinedClaims).length > CLAIMS_MAX_PAYLOAD_SIZE) { throw new HttpsError( "invalid-argument", `The customClaims and sessionClaims payloads should not exceed ${CLAIMS_MAX_PAYLOAD_SIZE} characters combined.` ); } } } /** * Helper function to generate the update mask for the identity platform changed values * @internal */ export function getUpdateMask(authResponse?: BeforeCreateResponse | BeforeSignInResponse): string { if (!authResponse) { return ""; } const updateMask: string[] = []; for (const key in authResponse) { if (authResponse.hasOwnProperty(key) && typeof authResponse[key] !== "undefined") { updateMask.push(key); } } return updateMask.join(","); } /** @internal */ export function wrapHandler(eventType: AuthBlockingEventType, handler: HandlerV1 | HandlerV2) { return async (req: express.Request, res: express.Response): Promise<void> => { try { const projectId = process.env.GCLOUD_PROJECT; if (!isValidRequest(req)) { logger.error("Invalid request, unable to process"); throw new HttpsError("invalid-argument", "Bad Request"); } if (!auth.getAuth(getApp())._verifyAuthBlockingToken) { throw new Error( "Cannot validate Auth Blocking token. Please update Firebase Admin SDK to >= v10.1.0" ); } const decodedPayload: DecodedPayload = isDebugFeatureEnabled("skipTokenVerification") ? unsafeDecodeAuthBlockingToken(req.body.data.jwt) : handler.length === 2 ? await auth.getAuth(getApp())._verifyAuthBlockingToken(req.body.data.jwt) : await auth.getAuth(getApp())._verifyAuthBlockingToken(req.body.data.jwt, "run.app"); const authUserRecord = parseAuthUserRecord(decodedPayload.user_record); const authEventContext = parseAuthEventContext(decodedPayload, projectId); let authResponse; if (handler.length === 2) { authResponse = (await (handler as HandlerV1)(authUserRecord, authEventContext)) || undefined; } else { authResponse = (await (handler as HandlerV2)({ ...authEventContext, data: authUserRecord, } as AuthBlockingEvent)) || undefined; } validateAuthResponse(eventType, authResponse); const result = generateResponsePayload(authResponse); res.status(200); res.setHeader("Content-Type", "application/json"); res.send(JSON.stringify(result)); } catch (err) { let httpErr: HttpsError = err; if (!(httpErr instanceof HttpsError)) { // This doesn't count as an 'explicit' error. logger.error("Unhandled error", err); httpErr = new HttpsError("internal", "An unexpected error occurred."); } const { status } = httpErr.httpErrorCode; const body = { error: httpErr.toJSON() }; res.setHeader("Content-Type", "application/json"); res.status(status).send(body); } }; } ```
/content/code_sandbox/src/common/providers/identity.ts
xml
2016-09-22T23:13:54
2024-08-16T17:59:09
firebase-functions
firebase/firebase-functions
1,015
5,743
```xml <animated-vector xmlns:android="path_to_url" xmlns:aapt="path_to_url" android:drawable="@drawable/vd_checkable_radiobutton_unchecked"> <target android:name="ring_outer"> <aapt:attr name="android:animation"> <set> <set android:ordering="sequentially"> <objectAnimator android:duration="166" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="1.0" android:valueTo="0.5" android:valueType="floatType"/> <objectAnimator android:duration="16" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="0.5" android:valueTo="0.9" android:valueType="floatType"/> <objectAnimator android:duration="316" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="0.9" android:valueTo="1.0" android:valueType="floatType"/> </set> <set android:ordering="sequentially"> <objectAnimator android:duration="166" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="1.0" android:valueTo="0.5" android:valueType="floatType"/> <objectAnimator android:duration="16" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="0.5" android:valueTo="0.9" android:valueType="floatType"/> <objectAnimator android:duration="316" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="0.9" android:valueTo="1.0" android:valueType="floatType"/> </set> </set> </aapt:attr> </target> <target android:name="ring_outer_path"> <aapt:attr name="android:animation"> <set> <set android:ordering="sequentially"> <objectAnimator android:duration="166" android:interpolator="@interpolator/checkable_radiobutton" android:propertyName="strokeWidth" android:valueFrom="2.0" android:valueTo="18.0" android:valueType="floatType"/> <objectAnimator android:duration="16" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="strokeWidth" android:valueFrom="18.0" android:valueTo="2.0" android:valueType="floatType"/> <objectAnimator android:duration="316" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="strokeWidth" android:valueFrom="2.0" android:valueTo="2.0" android:valueType="floatType"/> </set> </set> </aapt:attr> </target> <target android:name="dot_group"> <aapt:attr name="android:animation"> <set> <set android:ordering="sequentially"> <objectAnimator android:duration="166" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="0.0" android:valueTo="0.0" android:valueType="floatType"/> <objectAnimator android:duration="16" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="0.0" android:valueTo="1.5" android:valueType="floatType"/> <objectAnimator android:duration="316" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleX" android:valueFrom="1.5" android:valueTo="1.0" android:valueType="floatType"/> </set> <set android:ordering="sequentially"> <objectAnimator android:duration="166" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="0.0" android:valueTo="0.0" android:valueType="floatType"/> <objectAnimator android:duration="16" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="0.0" android:valueTo="1.5" android:valueType="floatType"/> <objectAnimator android:duration="316" android:interpolator="@android:interpolator/fast_out_slow_in" android:propertyName="scaleY" android:valueFrom="1.5" android:valueTo="1.0" android:valueType="floatType"/> </set> </set> </aapt:attr> </target> </animated-vector> ```
/content/code_sandbox/app/src/main/res/drawable/avd_checkable_radiobutton_unchecked_to_checked.xml
xml
2016-11-04T14:23:35
2024-08-12T07:50:44
adp-delightful-details
alexjlockwood/adp-delightful-details
1,070
1,146
```xml import classnames from 'classnames'; import React, { type FC, memo } from 'react'; import * as misc from '../../../common/misc'; import { Tooltip } from '../tooltip'; interface Props { bytesRead: number; bytesContent: number; small?: boolean; className?: string; tooltipDelay?: number; } export const SizeTag: FC<Props> = memo(({ bytesRead, bytesContent, small, className, tooltipDelay }) => { const responseSizeReadStringShort = misc.describeByteSize(bytesRead); const responseSizeReadString = misc.describeByteSize(bytesRead, true); const responseSizeRawString = misc.describeByteSize(bytesContent, true); const message = ( <table> <tbody> <tr> <td className="text-left pad-right">Read</td> <td className="text-right selectable no-wrap">{responseSizeReadString}</td> </tr> {bytesContent >= 0 && ( <tr> <td className="text-left pad-right">Content</td> <td className="text-right selectable no-wrap">{responseSizeRawString}</td> </tr> )} </tbody> </table> ); return ( <div className={classnames( 'tag', { 'tag--small': small, }, className, )} > <Tooltip message={message} position="bottom" delay={tooltipDelay}> {responseSizeReadStringShort} </Tooltip> </div> ); }); SizeTag.displayName = 'SizeTag'; ```
/content/code_sandbox/packages/insomnia/src/ui/components/tags/size-tag.tsx
xml
2016-04-23T03:54:26
2024-08-16T16:50:44
insomnia
Kong/insomnia
34,054
333
```xml import React from 'react' import styled from '../../lib/styled' import cc from 'classcat' interface BorderSeparatorProps { variant?: 'main' | 'second' } const BorderSeparator = ({ variant = 'main' }: BorderSeparatorProps) => ( <Container className={cc([`border__separator`, `border__separator--${variant}`])} /> ) const Container = styled.div` height: 1px; margin: 10px 0; width: 100%; &.border__separator--main { background-color: ${({ theme }) => theme.colors.border.main}; } &.border__separator--second { background-color: ${({ theme }) => theme.colors.border.second}; } ` export default BorderSeparator ```
/content/code_sandbox/src/design/components/atoms/BorderSeparator.tsx
xml
2016-11-19T14:30:34
2024-08-16T03:13:45
BoostNote-App
BoostIO/BoostNote-App
3,745
165
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import atand = require( './index' ); // TESTS // // The function returns a number... { atand( 0.5 ); // $ExpectType number } // The compiler throws an error if the function is provided a value other than a number... { atand( true ); // $ExpectError atand( false ); // $ExpectError atand( null ); // $ExpectError atand( undefined ); // $ExpectError atand( '5' ); // $ExpectError atand( [] ); // $ExpectError atand( {} ); // $ExpectError atand( ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided insufficient arguments... { atand(); // $ExpectError } ```
/content/code_sandbox/lib/node_modules/@stdlib/math/base/special/atand/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
220
```xml /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at path_to_url */ import {CSP_NONCE, Directive, ElementRef, Inject, OnDestroy, OnInit, Optional} from '@angular/core'; import {DOCUMENT} from '@angular/common'; import {Directionality} from '@angular/cdk/bidi'; import {_getShadowRoot} from '@angular/cdk/platform'; import { STICKY_POSITIONING_LISTENER, StickyPositioningListener, StickySize, StickyUpdate, } from '@angular/cdk/table'; let nextId = 0; /** * Applies styles to the host element that make its scrollbars match up with * the non-sticky scrollable portions of the CdkTable contained within. * * This visual effect only works in Webkit and Blink based browsers (eg Chrome, * Safari, Edge). Other browsers such as Firefox will gracefully degrade to * normal scrollbar appearance. * Further note: These styles have no effect when the browser is using OS-default * scrollbars. The easiest way to force them into custom mode is to specify width * and height for the scrollbar and thumb. */ @Directive({ selector: '[cdkTableScrollContainer]', host: { 'class': 'cdk-table-scroll-container', }, providers: [{provide: STICKY_POSITIONING_LISTENER, useExisting: CdkTableScrollContainer}], standalone: true, }) export class CdkTableScrollContainer implements StickyPositioningListener, OnDestroy, OnInit { private readonly _uniqueClassName: string; private _styleRoot!: Node; private _styleElement?: HTMLStyleElement; /** The most recent sticky column size values from the CdkTable. */ private _startSizes: StickySize[] = []; private _endSizes: StickySize[] = []; private _headerSizes: StickySize[] = []; private _footerSizes: StickySize[] = []; constructor( private readonly _elementRef: ElementRef<HTMLElement>, @Inject(DOCUMENT) private readonly _document: Document, @Optional() private readonly _directionality?: Directionality, @Optional() @Inject(CSP_NONCE) private readonly _nonce?: string | null, ) { this._uniqueClassName = `cdk-table-scroll-container-${++nextId}`; _elementRef.nativeElement.classList.add(this._uniqueClassName); } ngOnInit() { // Note that we need to look up the root node in ngOnInit, rather than the constructor, because // Angular seems to create the element outside the shadow root and then moves it inside, if the // node is inside an `ngIf` and a ShadowDom-encapsulated component. this._styleRoot = _getShadowRoot(this._elementRef.nativeElement) ?? this._document.head; } ngOnDestroy(): void { this._styleElement?.remove(); this._styleElement = undefined; } stickyColumnsUpdated({sizes}: StickyUpdate): void { this._startSizes = sizes; this._updateScrollbar(); } stickyEndColumnsUpdated({sizes}: StickyUpdate): void { this._endSizes = sizes; this._updateScrollbar(); } stickyHeaderRowsUpdated({sizes}: StickyUpdate): void { this._headerSizes = sizes; this._updateScrollbar(); } stickyFooterRowsUpdated({sizes}: StickyUpdate): void { this._footerSizes = sizes; this._updateScrollbar(); } /** * Set padding on the scrollbar track based on the sticky states from CdkTable. */ private _updateScrollbar(): void { const topMargin = computeMargin(this._headerSizes); const bottomMargin = computeMargin(this._footerSizes); const startMargin = computeMargin(this._startSizes); const endMargin = computeMargin(this._endSizes); if (topMargin === 0 && bottomMargin === 0 && startMargin === 0 && endMargin === 0) { this._clearCss(); return; } const direction = this._directionality ? this._directionality.value : 'ltr'; const leftMargin = direction === 'rtl' ? endMargin : startMargin; const rightMargin = direction === 'rtl' ? startMargin : endMargin; this._applyCss(`${topMargin}px ${rightMargin}px ${bottomMargin}px ${leftMargin}px`); } /** Gets the stylesheet for the scrollbar styles and creates it if need be. */ private _getStyleSheet(): CSSStyleSheet { if (!this._styleElement) { this._styleElement = this._document.createElement('style'); if (this._nonce) { this._styleElement.setAttribute('nonce', this._nonce); } this._styleRoot.appendChild(this._styleElement); } return this._styleElement.sheet as CSSStyleSheet; } /** Updates the stylesheet with the specified scrollbar style. */ private _applyCss(value: string) { this._clearCss(); const selector = `.${this._uniqueClassName}::-webkit-scrollbar-track`; this._getStyleSheet().insertRule(`${selector} {margin: ${value}}`, 0); } private _clearCss() { const styleSheet = this._getStyleSheet(); if (styleSheet.cssRules.length > 0) { styleSheet.deleteRule(0); } } } function computeMargin(sizes: (number | null | undefined)[]): number { let margin = 0; for (const size of sizes) { if (size == null) { break; } margin += size; } return margin; } ```
/content/code_sandbox/src/cdk-experimental/table-scroll-container/table-scroll-container.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
1,194
```xml import { Routes } from '@angular/router'; import { DocumentationComponent } from './documentation.component'; export const routes: Routes = [ { path: '', component: DocumentationComponent, }, ]; ```
/content/code_sandbox/projects/demo/src/app/pages/documentation/documentation.routes.ts
xml
2016-08-10T10:25:51
2024-08-05T21:57:53
ng2-smart-table
akveo/ng2-smart-table
1,631
42
```xml import { call, put, select, takeEvery } from 'redux-saga/effects'; import { c } from 'ttag'; import { PassErrorCode } from '@proton/pass/lib/api/errors'; import { getPrimaryPublicKeyForEmail } from '@proton/pass/lib/auth/address'; import { createNewUserInvites, createUserInvites } from '@proton/pass/lib/invites/invite.requests'; import { moveItem } from '@proton/pass/lib/items/item.requests'; import { createVault } from '@proton/pass/lib/vaults/vault.requests'; import { inviteBatchCreateFailure, inviteBatchCreateIntent, inviteBatchCreateSuccess, sharedVaultCreated, } from '@proton/pass/store/actions'; import { selectItem, selectPassPlan, selectVaultSharedWithEmails } from '@proton/pass/store/selectors'; import type { RootSagaOptions } from '@proton/pass/store/types'; import type { ItemMoveDTO, ItemRevision, Maybe, Share, ShareType } from '@proton/pass/types'; import { UserPassPlan } from '@proton/pass/types/api/plan'; import type { InviteMemberDTO, InviteUserDTO } from '@proton/pass/types/data/invites.dto'; import { partition } from '@proton/pass/utils/array/partition'; import { getApiError } from '@proton/shared/lib/api/helpers/apiErrorHelper'; function* createInviteWorker( { onNotification }: RootSagaOptions, { payload, meta: { request } }: ReturnType<typeof inviteBatchCreateIntent> ) { const count = payload.members.length; const plan: UserPassPlan = yield select(selectPassPlan); try { const shareId: string = !payload.withVaultCreation ? payload.shareId : yield call(function* () { /** create a new vault and move the item provided in the * action's payload if the user is creating an invite through * the `move to a new shared vault` flow */ const { name, description, icon, color, item } = payload; const vaultContent = { name, description, display: { icon, color } }; const share: Share<ShareType.Vault> = yield createVault({ content: vaultContent }); const itemToMove: Maybe<ItemRevision> = item ? yield select(selectItem(item.shareId, item.itemId)) : undefined; const move: Maybe<ItemMoveDTO> = itemToMove && item ? { before: itemToMove, after: yield moveItem(itemToMove, item.shareId, share.shareId) } : undefined; yield put(sharedVaultCreated({ share, move })); return share.shareId; }); /** Filter out members that may be already invited or members of the vault */ const vaultSharedWith: Set<string> = yield select(selectVaultSharedWithEmails(shareId)); const members = payload.members.filter(({ value }) => !vaultSharedWith.has(value.email)); /** resolve each member's public key: if the member is not a * proton user, `publicKey` will be `undefined` and we should * treat it as as a new user invite */ const membersDTO: InviteMemberDTO[] = yield Promise.all( members.map<Promise<InviteMemberDTO>>(async ({ value: { email, role } }) => ({ email: email, publicKey: await getPrimaryPublicKeyForEmail(email), role, })) ); const [users, newUsers] = partition( membersDTO /** split existing users from new users */, (dto): dto is InviteUserDTO => 'publicKey' in dto && dto.publicKey !== undefined ); /** Both `createUserInvites` & `createNewUserInvite` return the * list of emails which could not be sent out. On success, both * should be empty */ const failedUsers: string[] = yield createUserInvites(shareId, users); const failedNewUsers: string[] = yield createNewUserInvites(shareId, newUsers); const failed = failedUsers.concat(failedNewUsers); const totalFailure = failed.length === members.length; const hasFailures = failedUsers.length > 0 || failedNewUsers.length > 0; if (totalFailure) throw new Error('Could not send invitations'); if (hasFailures) { onNotification?.({ type: 'error', // Translator: list of failed invited emails is appended text: c('Warning').t`Could not send invitations to the following addresses :` + ` ${failed.join(', ')}`, }); } yield put(inviteBatchCreateSuccess(request.id, { shareId }, members.length - failed.length)); } catch (error: unknown) { /** Fine-tune the error message when a B2B user * reaches the 100 members per vault hard-limit */ if (plan === UserPassPlan.BUSINESS && error instanceof Error && 'data' in error) { const apiError = error as any; const { code } = getApiError(apiError); if (code === PassErrorCode.RESOURCE_LIMIT_EXCEEDED) { apiError.data.Error = c('Warning').t`Please contact us for investigating the issue`; } } yield put(inviteBatchCreateFailure(request.id, error, count)); } } export default function* watcher(options: RootSagaOptions) { yield takeEvery(inviteBatchCreateIntent.match, createInviteWorker, options); } ```
/content/code_sandbox/packages/pass/store/sagas/invites/invite-create.saga.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,162
```xml <?xml version="1.0" encoding="utf-8"?> <manifest package="com.kodelabs.boilerplate" xmlns:android="path_to_url"> <application android:name="com.kodelabs.boilerplate.AndroidApplication" android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name" android:supportsRtl="true" android:theme="@style/AppTheme"> <activity android:name=".presentation.ui.activities.MainActivity"> <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.LAUNCHER" /> </intent-filter> </activity> </application> </manifest> ```
/content/code_sandbox/app/src/main/AndroidManifest.xml
xml
2016-01-26T19:23:41
2024-08-03T17:18:33
Android-Clean-Boilerplate
dmilicic/Android-Clean-Boilerplate
2,200
158
```xml import { ExpoConfig } from '@expo/config'; import JsonFile, { JSONObject } from '@expo/json-file'; import path from 'path'; import { CommandError } from '../utils/errors'; export type LocaleMap = Record<string, JSONObject>; // Similar to how we resolve locales in `@expo/config-plugins` export async function getResolvedLocalesAsync( projectRoot: string, exp: Pick<ExpoConfig, 'locales'> ): Promise<LocaleMap> { if (!exp.locales) { return {}; } const locales: LocaleMap = {}; for (const [lang, localeJsonPath] of Object.entries(exp.locales)) { if (typeof localeJsonPath === 'string') { try { locales[lang] = await JsonFile.readAsync(path.join(projectRoot, localeJsonPath)); } catch (error: any) { throw new CommandError('EXPO_CONFIG', JSON.stringify(error)); } } else { // In the off chance that someone defined the locales json in the config, pass it directly to the object. // We do this to make the types more elegant. locales[lang] = localeJsonPath; } } return locales; } ```
/content/code_sandbox/packages/@expo/cli/src/export/getResolvedLocales.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
256
```xml /*your_sha256_hash----------------------------- *your_sha256_hash----------------------------*/ import { testTokenization } from '../test/testRunner'; testTokenization('csp', []); ```
/content/code_sandbox/src/basic-languages/csp/csp.test.ts
xml
2016-06-07T16:56:31
2024-08-16T17:17:05
monaco-editor
microsoft/monaco-editor
39,508
35
```xml <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="path_to_url" xmlns:tools="path_to_url" android:id="@+id/statusm" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:gravity="center" android:orientation="vertical" tools:showIn="@layout/limbo_main"> <TextView android:id="@+id/statusStr" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_vertical" android:gravity="center|center_vertical" android:text="" android:textSize="15sp" /> <ImageView android:id="@+id/statusVal" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center|center_vertical" android:gravity="center|center_vertical" /> </LinearLayout> ```
/content/code_sandbox/limbo-android-lib/src/main/res/layout/status_layout.xml
xml
2016-02-13T09:05:37
2024-08-16T14:28:26
limbo
limboemu/limbo
2,563
218
```xml import { Output, Template, Tag } from 'liquidjs' import { isLayoutTag, isIfTag, isUnlessTag, isLiquidTag, isCaseTag, isCaptureTag, isTablerowTag, isForTag } from './type-guards' /** * iterate over all `{{ output }}` */ export function * getOutputs (templates: Template[]): Generator<Output, void> { for (const template of templates) { if (template instanceof Tag) { if (isIfTag(template) || isUnlessTag(template) || isCaseTag(template)) { for (const branch of template.branches) { yield * getOutputs(branch.templates) } yield * getOutputs(template.elseTemplates) } else if (isForTag(template)) { yield * getOutputs(template.templates) yield * getOutputs(template.elseTemplates) } else if (isLiquidTag(template) || isCaptureTag(template) || isTablerowTag(template) || isLayoutTag(template)) { yield * getOutputs(template.templates) } } else if (template instanceof Output) { yield template } } } ```
/content/code_sandbox/demo/template/get-outputs.ts
xml
2016-06-13T07:39:30
2024-08-16T16:56:50
liquidjs
harttle/liquidjs
1,485
242
```xml <?xml version="1.0" encoding="utf-8"?> <doc> <assembly> <name>System.Collections</name> </assembly> <members> <member name="T:System.Collections.BitArray"> <summary> , , true 1, false 0.</summary> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.#ctor(System.Boolean[])"> <summary> <see cref="T:System.Collections.BitArray" />, , .</summary> <param name="values"> . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="values" /> is null. </exception> </member> <member name="M:System.Collections.BitArray.#ctor(System.Byte[])"> <summary> <see cref="T:System.Collections.BitArray" />, , .</summary> <param name="bytes"> , , . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="bytes" /> is null. </exception> <exception cref="T:System.ArgumentException">The length of <paramref name="bytes" /> is greater than <see cref="F:System.Int32.MaxValue" />.</exception> </member> <member name="M:System.Collections.BitArray.#ctor(System.Collections.BitArray)"> <summary> <see cref="T:System.Collections.BitArray" />, , <see cref="T:System.Collections.BitArray" />.</summary> <param name="bits"> <see cref="T:System.Collections.BitArray" />. </param> <exception cref="T:System.ArgumentNullException"> <paramref name="bits" /> is null. </exception> </member> <member name="M:System.Collections.BitArray.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.BitArray" />, false.</summary> <param name="length"> <see cref="T:System.Collections.BitArray" />. </param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="length" /> is less than zero. </exception> </member> <member name="M:System.Collections.BitArray.#ctor(System.Int32,System.Boolean)"> <summary> <see cref="T:System.Collections.BitArray" />, , .</summary> <param name="length"> <see cref="T:System.Collections.BitArray" />. </param> <param name="defaultValue"> , . </param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="length" /> is less than zero. </exception> </member> <member name="M:System.Collections.BitArray.#ctor(System.Int32[])"> <summary> <see cref="T:System.Collections.BitArray" />, , 32- .</summary> <param name="values"> , , 32 . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="values" /> is null. </exception> <exception cref="T:System.ArgumentException">The length of <paramref name="values" /> is greater than <see cref="F:System.Int32.MaxValue" /></exception> </member> <member name="M:System.Collections.BitArray.And(System.Collections.BitArray)"> <summary> <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />.</summary> <returns> , <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />.</returns> <param name="value"> <see cref="T:System.Collections.BitArray" />, . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="value" /> is null. </exception> <exception cref="T:System.ArgumentException"> <paramref name="value" /> and the current <see cref="T:System.Collections.BitArray" /> do not have the same number of elements. </exception> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.Get(System.Int32)"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <returns> <paramref name="index" />.</returns> <param name="index"> , . </param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> is less than zero.-or- <paramref name="index" /> is greater than or equal to the number of elements in the <see cref="T:System.Collections.BitArray" />. </exception> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.GetEnumerator"> <summary> , <see cref="T:System.Collections.BitArray" />.</summary> <returns> <see cref="T:System.Collections.IEnumerator" /> <see cref="T:System.Collections.BitArray" />.</returns> <filterpriority>2</filterpriority> </member> <member name="P:System.Collections.BitArray.Item(System.Int32)"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <returns> <paramref name="index" />.</returns> <param name="index"> . </param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> is less than zero.-or- <paramref name="index" /> is equal to or greater than <see cref="P:System.Collections.BitArray.Count" />. </exception> <filterpriority>2</filterpriority> </member> <member name="P:System.Collections.BitArray.Length"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <returns> <see cref="T:System.Collections.BitArray" />.</returns> <exception cref="T:System.ArgumentOutOfRangeException">The property is set to a value that is less than zero. </exception> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.Not"> <summary> <see cref="T:System.Collections.BitArray" /> , true false, false true.</summary> <returns> .</returns> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.Or(System.Collections.BitArray)"> <summary> <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />.</summary> <returns> , <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />.</returns> <param name="value"> <see cref="T:System.Collections.BitArray" />, . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="value" /> is null. </exception> <exception cref="T:System.ArgumentException"> <paramref name="value" /> and the current <see cref="T:System.Collections.BitArray" /> do not have the same number of elements. </exception> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.Set(System.Int32,System.Boolean)"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <param name="index"> . </param> <param name="value"> , . </param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> is less than zero.-or- <paramref name="index" /> is greater than or equal to the number of elements in the <see cref="T:System.Collections.BitArray" />. </exception> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.SetAll(System.Boolean)"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <param name="value"> , . </param> <filterpriority>2</filterpriority> </member> <member name="M:System.Collections.BitArray.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.BitArray" />. <see cref="T:System.Array" /> , .</param> <param name="index"> <paramref name="array" />, . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is null. </exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> is less than zero. </exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> is multidimensional.-or- The number of elements in the source <see cref="T:System.Collections.BitArray" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.-or-The type of the source <see cref="T:System.Collections.BitArray" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception> </member> <member name="P:System.Collections.BitArray.System#Collections#ICollection#Count"> <summary> <see cref="T:System.Collections.BitArray" />.</summary> <returns> <see cref="T:System.Collections.BitArray" />.</returns> </member> <member name="P:System.Collections.BitArray.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.BitArray" /> ().</summary> <returns>true, <see cref="T:System.Collections.BitArray" /> (); false.</returns> </member> <member name="P:System.Collections.BitArray.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.BitArray" />.</summary> <returns>, <see cref="T:System.Collections.BitArray" />.</returns> </member> <member name="M:System.Collections.BitArray.Xor(System.Collections.BitArray)"> <summary> <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />.</summary> <returns> , <see cref="T:System.Collections.BitArray" /> <see cref="T:System.Collections.BitArray" />. </returns> <param name="value"> <see cref="T:System.Collections.BitArray" />, . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="value" /> is null. </exception> <exception cref="T:System.ArgumentException"> <paramref name="value" /> and the current <see cref="T:System.Collections.BitArray" /> do not have the same number of elements. </exception> <filterpriority>2</filterpriority> </member> <member name="T:System.Collections.StructuralComparisons"> <summary> .</summary> </member> <member name="P:System.Collections.StructuralComparisons.StructuralComparer"> <summary> , .</summary> <returns> , .</returns> </member> <member name="P:System.Collections.StructuralComparisons.StructuralEqualityComparer"> <summary> , .</summary> <returns> , .</returns> </member> <member name="T:System.Collections.Generic.Comparer`1"> <summary> <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Comparer`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.Comparer`1" />.</summary> </member> <member name="M:System.Collections.Generic.Comparer`1.Compare(`0,`0)"> <summary> , , .</summary> <returns> , <paramref name="x" /> <paramref name="y" />, . <paramref name="x" /> <paramref name="y" />.Zero <paramref name="x" /> <paramref name="y" /> . . <paramref name="x" /> <paramref name="y" />.</returns> <param name="x"> .</param> <param name="y"> .</param> <exception cref="T:System.ArgumentException"> <paramref name="T" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" />.</exception> </member> <member name="M:System.Collections.Generic.Comparer`1.Create(System.Comparison{`0})"> <summary> .</summary> <returns> .</returns> <param name="comparison"> .</param> </member> <member name="P:System.Collections.Generic.Comparer`1.Default"> <summary> , , .</summary> <returns>, <see cref="T:System.Collections.Generic.Comparer`1" /> , <paramref name="T" />.</returns> </member> <member name="M:System.Collections.Generic.Comparer`1.System#Collections#IComparer#Compare(System.Object,System.Object)"> <summary> , , , .</summary> <returns> , <paramref name="x" /> <paramref name="y" />, . <paramref name="x" /> <paramref name="y" />.Zero <paramref name="x" /> <paramref name="y" /> . . <paramref name="x" /> <paramref name="y" />.</returns> <param name="x"> .</param> <param name="y"> .</param> <exception cref="T:System.ArgumentException"> <paramref name="x" /> <paramref name="y" /> , <paramref name="T" />.--<paramref name="x" /> <paramref name="y" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" />.</exception> </member> <member name="T:System.Collections.Generic.Dictionary`2"> <summary> . .NET Framework , . Reference Source.</summary> <typeparam name="TKey"> .</typeparam> <typeparam name="TValue"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />, , .</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, , .</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1},System.Collections.Generic.IEqualityComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, , null, <see cref="T:System.Collections.Generic.EqualityComparer`1" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor(System.Collections.Generic.IEqualityComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" /> , <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary> <param name="comparer"> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, , null, <see cref="T:System.Collections.Generic.EqualityComparer`1" /> .</param> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />, , .</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> 0.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.#ctor(System.Int32,System.Collections.Generic.IEqualityComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" /> , <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, , null, <see cref="T:System.Collections.Generic.EqualityComparer`1" /> .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> 0.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.Add(`0,`1)"> <summary> .</summary> <param name="key"> .</param> <param name="value"> . null.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.Dictionary`2" />.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.Clear"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> </member> <member name="P:System.Collections.Generic.Dictionary`2.Comparer"> <summary> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, . </summary> <returns> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, <see cref="T:System.Collections.Generic.Dictionary`2" /> - .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ContainsKey(`0)"> <summary>, <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns>true, <see cref="T:System.Collections.Generic.Dictionary`2" /> , false.</returns> <param name="key">, <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ContainsValue(`1)"> <summary>, <see cref="T:System.Collections.Generic.Dictionary`2" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.Dictionary`2" /> ; false.</returns> <param name="value">, <see cref="T:System.Collections.Generic.Dictionary`2" />. null.</param> </member> <member name="P:System.Collections.Generic.Dictionary`2.Count"> <summary> "-", <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> "-", <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.Enumerator" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.Item(`0)"> <summary> , .</summary> <returns>, . , <see cref="T:System.Collections.Generic.KeyNotFoundException" />, .</returns> <param name="key">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.Collections.Generic.KeyNotFoundException"> , <paramref name="key" /> .</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Keys"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> true, ; false. false, <paramref name="key" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#Generic#ICollection{T}#Add(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, , <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="keyValuePair" /> null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.Dictionary`2" />.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#Generic#ICollection{T}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />; false.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#Generic#ICollection{T}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" /> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, .</summary> <param name="array"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.KeyValuePair`2" /> <see cref="T:System.Collections.Generic.ICollection`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.ICollection`1" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.Dictionary`2" /> false.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#Generic#ICollection{T}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> .</summary> <returns> true, , <paramref name="keyValuePair" />, , false. false, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, , <see cref="T:System.Collections.Generic.Dictionary`2" />.</param> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" /> <paramref name="TKey" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" /> <paramref name="TValue" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys"> <summary> , <see cref="T:System.Collections.Generic.IReadOnlyDictionary`2" />.</summary> <returns>, <see cref="T:System.Collections.Generic.IReadOnlyDictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values"> <summary> , <see cref="T:System.Collections.Generic.IReadOnlyDictionary`2" />.</summary> <returns>, <see cref="T:System.Collections.Generic.IReadOnlyDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.Generic.ICollection`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> .-- <paramref name="array" /> .-- <see cref="T:System.Collections.Generic.ICollection`1" /> , <paramref name="index" /> <paramref name="array" />.-- <see cref="T:System.Collections.Generic.ICollection`1" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.Dictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. </returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)"> <summary> .</summary> <param name="key">, .</param> <param name="value">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.-- <paramref name="value" /> <paramref name="TValue" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.-- <see cref="T:System.Collections.Generic.Dictionary`2" />.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Contains(System.Object)"> <summary>, <see cref="T:System.Collections.IDictionary" />.</summary> <returns>true, <see cref="T:System.Collections.IDictionary" /> , false.</returns> <param name="key">, <see cref="T:System.Collections.IDictionary" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#GetEnumerator"> <summary> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#IsFixedSize"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> ; false. <see cref="T:System.Collections.Generic.Dictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#IsReadOnly"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> ; false. <see cref="T:System.Collections.Generic.Dictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Item(System.Object)"> <summary> .</summary> <returns>, , null, <paramref name="key" /> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.-- , <paramref name="value" /> <paramref name="TValue" /> <see cref="T:System.Collections.Generic.Dictionary`2" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Keys"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Remove(System.Object)"> <summary> <see cref="T:System.Collections.IDictionary" />.</summary> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.System#Collections#IDictionary#Values"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.TryGetValue(`0,`1@)"> <summary> , .</summary> <returns>true, <see cref="T:System.Collections.Generic.Dictionary`2" /> , false.</returns> <param name="key"> , .</param> <param name="value"> , , ; <paramref name="value" />. .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Values"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</returns> </member> <member name="T:System.Collections.Generic.Dictionary`2.Enumerator"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> </member> <member name="P:System.Collections.Generic.Dictionary`2.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2" /> .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Entry"> <summary> , .</summary> <returns> , , <see cref="T:System.Collections.DictionaryEntry" />.</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Key"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Value"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , , <see cref="T:System.Object" />.</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.Dictionary`2.KeyCollection"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />. .</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.#ctor(System.Collections.Generic.Dictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.Dictionary`2" />, <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> <see cref="T:System.Array" />, .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null. </exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.Count"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />. O(1).</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator" /> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Add(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Clear"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> true.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> . <paramref name="array" /> . <see cref="T:System.Collections.ICollection" /> , <paramref name="index" /> <paramref name="array" />. <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> false.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="T:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</summary> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />, .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.KeyCollection.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.Dictionary`2.ValueCollection"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2" />. .</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.#ctor(System.Collections.Generic.Dictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />, <see cref="T:System.Collections.Generic.Dictionary`2" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.Dictionary`2" />, <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.CopyTo(`1[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> <see cref="T:System.Array" />, .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.Count"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</summary> <returns> , <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator" /> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Add(`1)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Clear"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Contains(`1)"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> true.</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Remove(`1)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> .</exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> . <paramref name="array" /> . <see cref="T:System.Collections.ICollection" /> , <paramref name="index" /> <paramref name="array" />. <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> false.</returns> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="T:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</summary> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.Dictionary`2.ValueCollection" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Dictionary`2.ValueCollection.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.EqualityComparer`1"> <summary> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />.</summary> <typeparam name="T"> .</typeparam> </member> <member name="M:System.Collections.Generic.EqualityComparer`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.EqualityComparer`1" />.</summary> </member> <member name="P:System.Collections.Generic.EqualityComparer`1.Default"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.EqualityComparer`1" /> <paramref name="T" />.</returns> </member> <member name="M:System.Collections.Generic.EqualityComparer`1.Equals(`0,`0)"> <summary> , <paramref name="T" />.</summary> <returns>true, ; false.</returns> <param name="x"> .</param> <param name="y"> .</param> </member> <member name="M:System.Collections.Generic.EqualityComparer`1.GetHashCode(`0)"> <summary> - , -.</summary> <returns>- .</returns> <param name="obj">, -.</param> <exception cref="T:System.ArgumentNullException">The type of <paramref name="obj" /> is a reference type and <paramref name="obj" /> is null.</exception> </member> <member name="M:System.Collections.Generic.EqualityComparer`1.System#Collections#IEqualityComparer#Equals(System.Object,System.Object)"> <summary>, .</summary> <returns>true, ; false.</returns> <param name="x"> .</param> <param name="y"> .</param> <exception cref="T:System.ArgumentException"> <paramref name="x" /> or <paramref name="y" /> is of a type that cannot be cast to type <paramref name="T" />.</exception> </member> <member name="M:System.Collections.Generic.EqualityComparer`1.System#Collections#IEqualityComparer#GetHashCode(System.Object)"> <summary> - .</summary> <returns>- .</returns> <param name="obj"> <see cref="T:System.Object" />, -.</param> <exception cref="T:System.ArgumentNullException">The type of <paramref name="obj" /> is a reference type and <paramref name="obj" /> is null.-or-<paramref name="obj" /> is of a type that cannot be cast to type <paramref name="T" />.</exception> </member> <member name="T:System.Collections.Generic.HashSet`1"> <summary> . .NET Framework , . Reference Source.</summary> <typeparam name="T"> .</typeparam> </member> <member name="M:System.Collections.Generic.HashSet`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />, .</summary> </member> <member name="M:System.Collections.Generic.HashSet`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />, , , , , , .</summary> <param name="collection">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IEqualityComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />, , , , , , .</summary> <param name="collection">, .</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, , null, <see cref="T:System.Collections.Generic.EqualityComparer`1" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.#ctor(System.Collections.Generic.IEqualityComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />, .</summary> <param name="comparer"> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, , null, <see cref="T:System.Collections.Generic.EqualityComparer`1" /> .</param> </member> <member name="M:System.Collections.Generic.HashSet`1.Add(`0)"> <summary> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" />; false, .</returns> <param name="item">, .</param> </member> <member name="M:System.Collections.Generic.HashSet`1.Clear"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> </member> <member name="P:System.Collections.Generic.HashSet`1.Comparer"> <summary> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, .</summary> <returns> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, .</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> ; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.HashSet`1" />.</param> </member> <member name="M:System.Collections.Generic.HashSet`1.CopyTo(`0[])"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.HashSet`1" />. .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.HashSet`1" />. .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="arrayIndex" /> <paramref name="array" />.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.CopyTo(`0[],System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.HashSet`1" />. .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <param name="count"> , <paramref name="array" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> 0.-- <paramref name="count" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="arrayIndex" /> <paramref name="array" />.-- <paramref name="count" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.HashSet`1.Count"> <summary> , .</summary> <returns> , .</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.ExceptWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <param name="other"> , <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.HashSet`1.Enumerator" /> <see cref="T:System.Collections.Generic.HashSet`1" />.</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.IntersectWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , , .</summary> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />. </param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" /> ; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <returns> true, ; false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.HashSet`1" />.</returns> <param name="item"> .</param> </member> <member name="M:System.Collections.Generic.HashSet`1.RemoveWhere(System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <returns> , <see cref="T:System.Collections.Generic.HashSet`1" />.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.HashSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.HashSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , , , , .</summary> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="M:System.Collections.Generic.HashSet`1.System#Collections#Generic#ICollection{T}#Add(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> <see cref="T:System.Collections.Generic.ICollection`1" /> .</exception> </member> <member name="P:System.Collections.Generic.HashSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , .</summary> <returns> true, ; false.</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.TrimExcess"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , , , .</summary> </member> <member name="M:System.Collections.Generic.HashSet`1.UnionWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" /> , , , .</summary> <param name="other"> <see cref="T:System.Collections.Generic.HashSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" /> null.</exception> </member> <member name="T:System.Collections.Generic.HashSet`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <filterpriority>2</filterpriority> </member> <member name="P:System.Collections.Generic.HashSet`1.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.HashSet`1" />, .</returns> </member> <member name="M:System.Collections.Generic.HashSet`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.HashSet`1.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.HashSet`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.HashSet`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.HashSet`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , , <see cref="T:System.Object" />.</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.HashSet`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.LinkedList`1"> <summary> .</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.LinkedList`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> </member> <member name="M:System.Collections.Generic.LinkedList`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />, , <see cref="T:System.Collections.IEnumerable" />, , . </summary> <param name="collection"> <see cref="T:System.Collections.IEnumerable" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" /> null.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddAfter(System.Collections.Generic.LinkedListNode{`0},System.Collections.Generic.LinkedListNode{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="newNode" />.</param> <param name="newNode"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null. <paramref name="newNode" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />. <paramref name="newNode" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddAfter(System.Collections.Generic.LinkedListNode{`0},`0)"> <summary> , , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</returns> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</param> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddBefore(System.Collections.Generic.LinkedListNode{`0},System.Collections.Generic.LinkedListNode{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="newNode" />.</param> <param name="newNode"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null. <paramref name="newNode" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />. <paramref name="newNode" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddBefore(System.Collections.Generic.LinkedListNode{`0},`0)"> <summary> , , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</returns> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</param> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddFirst(System.Collections.Generic.LinkedListNode{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddFirst(`0)"> <summary> , , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddLast(System.Collections.Generic.LinkedListNode{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.AddLast(`0)"> <summary> , , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <paramref name="value" />.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> </member> <member name="M:System.Collections.Generic.LinkedList`1.Clear"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> </member> <member name="M:System.Collections.Generic.LinkedList`1.Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> true, <paramref name="value" /> <see cref="T:System.Collections.Generic.LinkedList`1" />; false.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />. null.</param> </member> <member name="M:System.Collections.Generic.LinkedList`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" /> <see cref="T:System.Array" />, .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.LinkedList`1" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.LinkedList`1" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.LinkedList`1.Count"> <summary> , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> , <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.Find(`0)"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, , ; null.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> </member> <member name="M:System.Collections.Generic.LinkedList`1.FindLast(`0)"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, , ; null.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> </member> <member name="P:System.Collections.Generic.LinkedList`1.First"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedList`1.Enumerator" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="P:System.Collections.Generic.LinkedList`1.Last"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedListNode`1" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.Remove(System.Collections.Generic.LinkedListNode{`0})"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <param name="node"> <see cref="T:System.Collections.Generic.LinkedListNode`1" />, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="node" /> null.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="node" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> true, , <paramref name="value" />, ; false. false, <paramref name="value" /> <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> <param name="value">, <see cref="T:System.Collections.Generic.LinkedList`1" />.</param> </member> <member name="M:System.Collections.Generic.LinkedList`1.RemoveFirst"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <exception cref="T:System.InvalidOperationException"> <see cref="T:System.Collections.Generic.LinkedList`1" /> .</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.RemoveLast"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <exception cref="T:System.InvalidOperationException"> <see cref="T:System.Collections.Generic.LinkedList`1" /> .</exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.System#Collections#Generic#ICollection{T}#Add(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <param name="value">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.LinkedList`1.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.LinkedList`1" /> false.</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> . <paramref name="array" /> . <see cref="T:System.Collections.ICollection" /> , <paramref name="index" /> <paramref name="array" />. <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.LinkedList`1.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.LinkedList`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.LinkedList`1.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.LinkedList`1" /> .</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="T:System.Collections.Generic.LinkedList`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> </member> <member name="P:System.Collections.Generic.LinkedList`1.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.LinkedList`1" />, .</returns> </member> <member name="M:System.Collections.Generic.LinkedList`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.LinkedList`1.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.LinkedList`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.LinkedList`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.LinkedList`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.LinkedListNode`1"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />. .</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.LinkedListNode`1.#ctor(`0)"> <summary> <see cref="T:System.Collections.Generic.LinkedListNode`1" /> .</summary> <param name="value">, <see cref="T:System.Collections.Generic.LinkedListNode`1" />.</param> </member> <member name="P:System.Collections.Generic.LinkedListNode`1.List"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />, <see cref="T:System.Collections.Generic.LinkedListNode`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedList`1" />, <see cref="T:System.Collections.Generic.LinkedListNode`1" />, null, <see cref="T:System.Collections.Generic.LinkedListNode`1" /> .</returns> </member> <member name="P:System.Collections.Generic.LinkedListNode`1.Next"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedList`1" /> null, ( <see cref="P:System.Collections.Generic.LinkedList`1.Last" />) <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="P:System.Collections.Generic.LinkedListNode`1.Previous"> <summary> <see cref="T:System.Collections.Generic.LinkedList`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.LinkedList`1" /> null, ( <see cref="P:System.Collections.Generic.LinkedList`1.First" />) <see cref="T:System.Collections.Generic.LinkedList`1" />.</returns> </member> <member name="P:System.Collections.Generic.LinkedListNode`1.Value"> <summary> , .</summary> <returns>, .</returns> </member> <member name="T:System.Collections.Generic.List`1"> <summary> , . , . .NET Framework , . .</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.List`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> </member> <member name="M:System.Collections.Generic.List`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" />, , , , .</summary> <param name="collection">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="capacity"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> 0. </exception> </member> <member name="M:System.Collections.Generic.List`1.Add(`0)"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> </member> <member name="M:System.Collections.Generic.List`1.AddRange(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <param name="collection">, <see cref="T:System.Collections.Generic.List`1" />. null, null, <paramref name="T" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.AsReadOnly"> <summary> <see cref="T:System.Collections.Generic.IList`1" />, .</summary> <returns> <see cref="T:System.Collections.ObjectModel.ReadOnlyCollection`1" />, <see cref="T:System.Collections.Generic.List`1" />.</returns> </member> <member name="M:System.Collections.Generic.List`1.BinarySearch(System.Int32,System.Int32,`0,System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" />, , , .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="item" /> ; , , , <paramref name="item" />, , , <see cref="P:System.Collections.Generic.List`1.Count" />.</returns> <param name="index"> .</param> <param name="count"> .</param> <param name="item"> . null.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, , null, <see cref="P:System.Collections.Generic.Comparer`1.Default" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="count" /> 0. </exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="comparer" /> null, <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.BinarySearch(`0)"> <summary> <see cref="T:System.Collections.Generic.List`1" />, , , .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="item" /> ; , , , <paramref name="item" />, , , <see cref="P:System.Collections.Generic.List`1.Count" />.</returns> <param name="item"> . null.</param> <exception cref="T:System.InvalidOperationException"> <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.BinarySearch(`0,System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" />, , , .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="item" /> ; , , , <paramref name="item" />, , , <see cref="P:System.Collections.Generic.List`1.Count" />.</returns> <param name="item"> . null.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, .--null, <see cref="P:System.Collections.Generic.Comparer`1.Default" />.</param> <exception cref="T:System.InvalidOperationException"> <paramref name="comparer" /> null, <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.Capacity"> <summary> , .</summary> <returns> , <see cref="T:System.Collections.Generic.List`1" />, .</returns> <exception cref="T:System.ArgumentOutOfRangeException"> <see cref="P:System.Collections.Generic.List`1.Capacity" /> , <see cref="P:System.Collections.Generic.List`1.Count" />. </exception> <exception cref="T:System.OutOfMemoryException"> .</exception> </member> <member name="M:System.Collections.Generic.List`1.Clear"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> </member> <member name="M:System.Collections.Generic.List`1.Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> </member> <member name="M:System.Collections.Generic.List`1.CopyTo(System.Int32,`0[],System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" /> , .</summary> <param name="index"> <see cref="T:System.Collections.Generic.List`1" />, .</param> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.List`1" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <param name="count"> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null. </exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="arrayIndex" /> 0.-- <paramref name="count" /> 0. </exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <see cref="P:System.Collections.Generic.List`1.Count" /> <see cref="T:System.Collections.Generic.List`1" />.-- , <paramref name="index" /> <see cref="T:System.Collections.Generic.List`1" />, , <paramref name="arrayIndex" /> <paramref name="array" />. </exception> </member> <member name="M:System.Collections.Generic.List`1.CopyTo(`0[])"> <summary> <see cref="T:System.Collections.Generic.List`1" /> , .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.List`1" />. <see cref="T:System.Array" /> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.List`1" /> , <paramref name="array" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" /> , .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.List`1" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> 0.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.List`1" /> , <paramref name="arrayIndex" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.Count"> <summary> , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> , <see cref="T:System.Collections.Generic.List`1" />.</returns> </member> <member name="M:System.Collections.Generic.List`1.Exists(System.Predicate{`0})"> <summary>, <see cref="T:System.Collections.Generic.List`1" /> , .</summary> <returns>true, <see cref="T:System.Collections.Generic.List`1" /> , , false.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.Find(System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> , , ; <paramref name="T" />.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindAll(System.Predicate{`0})"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.List`1" />, , , ; <see cref="T:System.Collections.Generic.List`1" />.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindIndex(System.Int32,System.Int32,System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="startIndex"> ( ) .</param> <param name="count"> , .</param> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="startIndex" /> <see cref="T:System.Collections.Generic.List`1" />.-- <paramref name="count" /> 0.-- <paramref name="startIndex" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindIndex(System.Int32,System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="startIndex"> ( ) .</param> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="startIndex" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindIndex(System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindLast(System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> , , ; <paramref name="T" />.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindLastIndex(System.Int32,System.Int32,System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="startIndex"> ( ) .</param> <param name="count"> , .</param> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="startIndex" /> <see cref="T:System.Collections.Generic.List`1" />.-- <paramref name="count" /> 0.-- <paramref name="startIndex" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindLastIndex(System.Int32,System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="startIndex"> ( ) .</param> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="startIndex" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.FindLastIndex(System.Predicate{`0})"> <summary> , , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> , <paramref name="match" />, ; 1.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.ForEach(System.Action{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <param name="action"> <see cref="T:System.Action`1" />, <see cref="T:System.Collections.Generic.List`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="action" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.List`1.Enumerator" /> <see cref="T:System.Collections.Generic.List`1" />.</returns> </member> <member name="M:System.Collections.Generic.List`1.GetRange(System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.List`1" />.</returns> <param name="index"> <see cref="T:System.Collections.Generic.List`1" />, .</param> <param name="count"> .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="count" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.IndexOf(`0)"> <summary> , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> ( ) <paramref name="item" />, <see cref="T:System.Collections.Generic.List`1" />; -1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> </member> <member name="M:System.Collections.Generic.List`1.IndexOf(`0,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="index" /> , ; 1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> <param name="index"> ( ) . 0 () .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.IndexOf(`0,System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="index" /> <paramref name="count" /> , ; 1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> <param name="index"> ( ) . 0 () .</param> <param name="count"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.Generic.List`1" />.-- <paramref name="count" /> 0.-- <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.Insert(System.Int32,`0)"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="index"> ( ), <paramref name="item" />.</param> <param name="item"> . null.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="index" /> <see cref="P:System.Collections.Generic.List`1.Count" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.InsertRange(System.Int32,System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="index"> .</param> <param name="collection">, <see cref="T:System.Collections.Generic.List`1" />. null, null, <paramref name="T" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="index" /> <see cref="P:System.Collections.Generic.List`1.Count" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.Item(System.Int32)"> <summary> .</summary> <returns>, .</returns> <param name="index"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="index" /> <see cref="P:System.Collections.Generic.List`1.Count" />. </exception> </member> <member name="M:System.Collections.Generic.List`1.LastIndexOf(`0)"> <summary> , <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, ; 1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> </member> <member name="M:System.Collections.Generic.List`1.LastIndexOf(`0,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="index" />, ; 1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> <param name="index"> ( ) .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.Generic.List`1" />. </exception> </member> <member name="M:System.Collections.Generic.List`1.LastIndexOf(`0,System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />, .</summary> <returns> <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />, <paramref name="count" /> <paramref name="index" />, ; 1.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> <param name="index"> ( ) .</param> <param name="count"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.Generic.List`1" />.-- <paramref name="count" /> 0.-- <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />. </exception> </member> <member name="M:System.Collections.Generic.List`1.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> true, <paramref name="item" /> , false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.List`1" />.</returns> <param name="item">, <see cref="T:System.Collections.Generic.List`1" />. null.</param> </member> <member name="M:System.Collections.Generic.List`1.RemoveAll(System.Predicate{`0})"> <summary> , .</summary> <returns> , <see cref="T:System.Collections.Generic.List`1" />.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.List`1.RemoveAt(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="index"> ( ) , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="index" /> <see cref="P:System.Collections.Generic.List`1.Count" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.RemoveRange(System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <param name="index"> , .</param> <param name="count"> .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="count" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.Reverse"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> </member> <member name="M:System.Collections.Generic.List`1.Reverse(System.Int32,System.Int32)"> <summary> .</summary> <param name="index"> , .</param> <param name="count"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="count" /> 0. </exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />. </exception> </member> <member name="M:System.Collections.Generic.List`1.Sort"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <exception cref="T:System.InvalidOperationException"> <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.Sort(System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, , null, <see cref="P:System.Collections.Generic.Comparer`1.Default" />.</param> <exception cref="T:System.InvalidOperationException"> <paramref name="comparer" /> null, <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> <exception cref="T:System.ArgumentException"> <paramref name="comparer" /> ., <paramref name="comparer" /> 0 .</exception> </member> <member name="M:System.Collections.Generic.List`1.Sort(System.Comparison{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" /> <see cref="T:System.Comparison`1" />.</summary> <param name="comparison"> <see cref="T:System.Comparison`1" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="comparison" />is null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="comparison" /> ., <paramref name="comparison" /> 0 .</exception> </member> <member name="M:System.Collections.Generic.List`1.Sort(System.Int32,System.Int32,System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <param name="index"> ( ) , .</param> <param name="count"> .</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, , null, <see cref="P:System.Collections.Generic.Comparer`1.Default" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.-- <paramref name="count" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="index" /> <paramref name="count" /> <see cref="T:System.Collections.Generic.List`1" />.-- <paramref name="comparer" /> ., <paramref name="comparer" /> 0 .</exception> <exception cref="T:System.InvalidOperationException"> <paramref name="comparer" /> null, <see cref="P:System.Collections.Generic.Comparer`1.Default" /> <see cref="T:System.IComparable`1" /> <see cref="T:System.IComparable" /> <paramref name="T" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns>true <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.List`1" /> false.</returns> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> .-- <paramref name="array" /> .-- <see cref="T:System.Collections.ICollection" /> , <paramref name="arrayIndex" /> <paramref name="array" />.-- <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.List`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.List`1" /> .</returns> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IList#Add(System.Object)"> <summary> <see cref="T:System.Collections.IList" />.</summary> <returns>, .</returns> <param name="item"> <see cref="T:System.Object" />, <see cref="T:System.Collections.IList" />.</param> <exception cref="T:System.ArgumentException"> <paramref name="item" /> <see cref="T:System.Collections.IList" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IList#Contains(System.Object)"> <summary>, <see cref="T:System.Collections.IList" /> .</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.IList" />; false.</returns> <param name="item"> <see cref="T:System.Object" />, <see cref="T:System.Collections.IList" />.</param> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IList#IndexOf(System.Object)"> <summary> <see cref="T:System.Collections.IList" />.</summary> <returns> <paramref name="item" />, ; -1.</returns> <param name="item">, <see cref="T:System.Collections.IList" />.</param> <exception cref="T:System.ArgumentException"> <paramref name="item" /> <see cref="T:System.Collections.IList" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IList#Insert(System.Int32,System.Object)"> <summary> <see cref="T:System.Collections.IList" /> .</summary> <param name="index"> ( ), <paramref name="item" />.</param> <param name="item">, <see cref="T:System.Collections.IList" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.IList" />. </exception> <exception cref="T:System.ArgumentException"> <paramref name="item" /> <see cref="T:System.Collections.IList" />.</exception> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#IList#IsFixedSize"> <summary> , , <see cref="T:System.Collections.IList" /> .</summary> <returns> true, <see cref="T:System.Collections.IList" /> , false. <see cref="T:System.Collections.Generic.List`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#IList#IsReadOnly"> <summary> , , <see cref="T:System.Collections.IList" /> .</summary> <returns>true <see cref="T:System.Collections.IList" /> ; false. <see cref="T:System.Collections.Generic.List`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.List`1.System#Collections#IList#Item(System.Int32)"> <summary> .</summary> <returns>, .</returns> <param name="index"> , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> <see cref="T:System.Collections.IList" />.</exception> <exception cref="T:System.ArgumentException"> , <paramref name="value" /> <see cref="T:System.Collections.IList" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.System#Collections#IList#Remove(System.Object)"> <summary> <see cref="T:System.Collections.IList" />.</summary> <param name="item">, <see cref="T:System.Collections.IList" />.</param> <exception cref="T:System.ArgumentException"> <paramref name="item" /> <see cref="T:System.Collections.IList" />.</exception> </member> <member name="M:System.Collections.Generic.List`1.ToArray"> <summary> <see cref="T:System.Collections.Generic.List`1" /> .</summary> <returns>, <see cref="T:System.Collections.Generic.List`1" />.</returns> </member> <member name="M:System.Collections.Generic.List`1.TrimExcess"> <summary> , <see cref="T:System.Collections.Generic.List`1" />, .</summary> </member> <member name="M:System.Collections.Generic.List`1.TrueForAll(System.Predicate{`0})"> <summary>, <see cref="T:System.Collections.Generic.List`1" /> .</summary> <returns>true, <see cref="T:System.Collections.Generic.List`1" /> , false. , true.</returns> <param name="match"> <see cref="T:System.Predicate`1" />, , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="T:System.Collections.Generic.List`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> </member> <member name="P:System.Collections.Generic.List`1.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.List`1" />, .</returns> </member> <member name="M:System.Collections.Generic.List`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.List`1.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.List`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.List`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.List`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.List`1" />, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.List`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.Queue`1"> <summary> , " ".</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Queue`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.Queue`1" /> .</summary> </member> <member name="M:System.Collections.Generic.Queue`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />, , , , .</summary> <param name="collection">, <see cref="T:System.Collections.Generic.Queue`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" /> is null.</exception> </member> <member name="M:System.Collections.Generic.Queue`1.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Queue`1" /> .</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.Queue`1" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> is less than zero.</exception> </member> <member name="M:System.Collections.Generic.Queue`1.Clear"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Queue`1.Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.Queue`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.Queue`1" />. null.</param> </member> <member name="M:System.Collections.Generic.Queue`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Queue`1" /> <see cref="T:System.Array" />, .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.Queue`1" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> is less than zero.</exception> <exception cref="T:System.ArgumentException">The number of elements in the source <see cref="T:System.Collections.Generic.Queue`1" /> is greater than the available space from <paramref name="arrayIndex" /> to the end of the destination <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Queue`1.Count"> <summary> , <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <returns> , <see cref="T:System.Collections.Generic.Queue`1" />.</returns> </member> <member name="M:System.Collections.Generic.Queue`1.Dequeue"> <summary> , <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <returns>, <see cref="T:System.Collections.Generic.Queue`1" />.</returns> <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Generic.Queue`1" /> is empty.</exception> </member> <member name="M:System.Collections.Generic.Queue`1.Enqueue(`0)"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.Queue`1" />. null.</param> </member> <member name="M:System.Collections.Generic.Queue`1.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.Queue`1.Enumerator" /> <see cref="T:System.Collections.Generic.Queue`1" />.</returns> </member> <member name="M:System.Collections.Generic.Queue`1.Peek"> <summary> , <see cref="T:System.Collections.Generic.Queue`1" />, .</summary> <returns>, <see cref="T:System.Collections.Generic.Queue`1" />.</returns> <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Generic.Queue`1" /> is empty.</exception> </member> <member name="M:System.Collections.Generic.Queue`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.Queue`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> , .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> is less than zero.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> is multidimensional.-or-<paramref name="array" /> does not have zero-based indexing.-or-The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="index" /> to the end of the destination <paramref name="array" />.-or-The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Queue`1.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.Queue`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.Queue`1.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.Queue`1" /> .</returns> </member> <member name="M:System.Collections.Generic.Queue`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.Queue`1.ToArray"> <summary> <see cref="T:System.Collections.Generic.Queue`1" /> .</summary> <returns> , , <see cref="T:System.Collections.Generic.Queue`1" />.</returns> </member> <member name="M:System.Collections.Generic.Queue`1.TrimExcess"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />, 90 .</summary> </member> <member name="T:System.Collections.Generic.Queue`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />.</summary> </member> <member name="P:System.Collections.Generic.Queue`1.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.Queue`1" />, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Queue`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.Queue`1.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.Queue`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.Queue`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Queue`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Queue`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.SortedDictionary`2"> <summary> /, . </summary> <typeparam name="TKey"> .</typeparam> <typeparam name="TValue"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.#ctor"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, <see cref="T:System.Collections.Generic.IComparer`1" /> .</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.#ctor(System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, , null, <see cref="T:System.Collections.Generic.Comparer`1" /> .</param> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.IComparer`1" /> .</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.#ctor(System.Collections.Generic.IDictionary{`0,`1},System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, , null, <see cref="T:System.Collections.Generic.Comparer`1" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Add(`0,`1)"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <param name="key"> .</param> <param name="value"> . null.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Clear"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" /> .</summary> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Comparer"> <summary> <see cref="T:System.Collections.Generic.IComparer`1" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.IComparer`1" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ContainsKey(`0)"> <summary>, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns>true, <see cref="T:System.Collections.Generic.SortedDictionary`2" /> , false.</returns> <param name="key"> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ContainsValue(`1)"> <summary>, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedDictionary`2" /> , false.</returns> <param name="value">, <see cref="T:System.Collections.Generic.SortedDictionary`2" />. null.</param> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" /> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, .</summary> <param name="array"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedDictionary`2" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Count"> <summary> "-", <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> "-", <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.GetEnumerator"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.Enumerator" /> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Item(`0)"> <summary> , .</summary> <returns>, . , <see cref="T:System.Collections.Generic.KeyNotFoundException" />, .</returns> <param name="key">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.Collections.Generic.KeyNotFoundException"> , <paramref name="key" /> .</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Keys"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> true, , false. false, <paramref name="key" /> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#ICollection{T}#Add(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="keyValuePair" /> null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#ICollection{T}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> , false. <see cref="T:System.Collections.Generic.SortedDictionary`2" /> false.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#ICollection{T}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <returns> true, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2" /></summary> <returns>, <see cref="T:System.Collections.Generic.SortedDictionary`2" /></returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2" /></summary> <returns>, <see cref="T:System.Collections.Generic.SortedDictionary`2" /></returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.Generic.ICollection`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> .-- <paramref name="array" /> .-- <see cref="T:System.Collections.Generic.ICollection`1" /> , <paramref name="index" /> <paramref name="array" />.-- <see cref="T:System.Collections.Generic.ICollection`1" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.SortedDictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. </returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Add(System.Object,System.Object)"> <summary> <see cref="T:System.Collections.IDictionary" />.</summary> <param name="key">, .</param> <param name="value">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.IDictionary" />.-- <paramref name="value" /> , <paramref name="TValue" /> <see cref="T:System.Collections.IDictionary" />.-- <see cref="T:System.Collections.IDictionary" />.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Contains(System.Object)"> <summary>, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> ; false.</returns> <param name="key"> <see cref="T:System.Collections.IDictionary" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#GetEnumerator"> <summary> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#IsFixedSize"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> , false. <see cref="T:System.Collections.Generic.SortedDictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#IsReadOnly"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> , false. <see cref="T:System.Collections.Generic.SortedDictionary`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Item(System.Object)"> <summary> .</summary> <returns> , null, <paramref name="key" /> <paramref name="key" /> <paramref name="TKey" /> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.-- , <paramref name="value" /> <paramref name="TValue" /> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Keys"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Remove(System.Object)"> <summary> <see cref="T:System.Collections.IDictionary" />.</summary> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.System#Collections#IDictionary#Values"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.TryGetValue(`0,`1@)"> <summary> , .</summary> <returns>true, <see cref="T:System.Collections.Generic.SortedDictionary`2" /> , false.</returns> <param name="key"> , .</param> <param name="value"> , , ; <paramref name="value" />. </param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Values"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</returns> </member> <member name="T:System.Collections.Generic.SortedDictionary`2.Enumerator"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Entry"> <summary> , , <see cref="T:System.Collections.DictionaryEntry" />.</summary> <returns> , <see cref="T:System.Collections.DictionaryEntry" />.</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Key"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Enumerator.System#Collections#IDictionaryEnumerator#Value"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.SortedDictionary`2.KeyCollection"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />. .</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.#ctor(System.Collections.Generic.SortedDictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />. .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null. </exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.Count"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</summary> <returns> , <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator" /> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Add(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Clear"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" /> false.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#ICollection{T}#Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.ICollection" />. .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> . <paramref name="array" /> . <see cref="T:System.Collections.ICollection" /> , <paramref name="index" /> <paramref name="array" />. <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="T:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</summary> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.KeyCollection" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.KeyCollection.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.SortedDictionary`2.ValueCollection"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2" />. .</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.#ctor(System.Collections.Generic.SortedDictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />, <see cref="T:System.Collections.Generic.SortedDictionary`2" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.SortedDictionary`2" />, <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.CopyTo(`1[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />. .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" /> , <paramref name="index" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.Count"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</summary> <returns> , <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator" /> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Add(`1)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Clear"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Contains(`1)"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> ; false. <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" /> false.</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#ICollection{T}#Remove(`1)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.NotSupportedException" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="item" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <exception cref="T:System.NotSupportedException"> ; .</exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> , .</summary> <param name="array"> , <see cref="T:System.Collections.ICollection" />. .</param> <param name="index"> ( ) <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> 0.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> . <paramref name="array" /> . <see cref="T:System.Collections.ICollection" /> , <paramref name="index" /> <paramref name="array" />. <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="T:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</summary> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.SortedDictionary`2.ValueCollection" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.SortedDictionary`2.ValueCollection.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.SortedList`2"> <summary> /, <see cref="T:System.Collections.Generic.IComparer`1" />. </summary> <typeparam name="TKey"> .</typeparam> <typeparam name="TValue"> .</typeparam> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" /> , <see cref="T:System.Collections.Generic.IComparer`1" /> .</summary> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor(System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" /> , <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, .-- null <see cref="T:System.Collections.Generic.Comparer`1" /> .</param> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor(System.Collections.Generic.IDictionary{`0,`1})"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, , , , <see cref="T:System.Collections.Generic.IComparer`1" /> .</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor(System.Collections.Generic.IDictionary{`0,`1},System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />, , <see cref="T:System.Collections.Generic.IDictionary`2" />, , , , <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <param name="dictionary"> <see cref="T:System.Collections.Generic.IDictionary`2" />, <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, .-- null <see cref="T:System.Collections.Generic.Comparer`1" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="dictionary" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="dictionary" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" /> <see cref="T:System.Collections.Generic.IComparer`1" /> .</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.#ctor(System.Int32,System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" /> <see cref="T:System.Collections.Generic.IComparer`1" />.</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <param name="comparer"> <see cref="T:System.Collections.Generic.IComparer`1" />, .-- null <see cref="T:System.Collections.Generic.Comparer`1" /> .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.Add(`0,`1)"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <param name="key"> .</param> <param name="value"> . null.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedList`2" />.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.Capacity"> <summary> , <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> , <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> <exception cref="T:System.ArgumentOutOfRangeException"> <see cref="P:System.Collections.Generic.SortedList`2.Capacity" /> , <see cref="P:System.Collections.Generic.SortedList`2.Count" />.</exception> <exception cref="T:System.OutOfMemoryException"> .</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.Clear"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" /> .</summary> </member> <member name="P:System.Collections.Generic.SortedList`2.Comparer"> <summary> <see cref="T:System.Collections.Generic.IComparer`1" /> . </summary> <returns> <see cref="T:System.IComparable`1" /> <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.ContainsKey(`0)"> <summary>, <see cref="T:System.Collections.Generic.SortedList`2" /> .</summary> <returns>true, <see cref="T:System.Collections.Generic.SortedList`2" /> , false.</returns> <param name="key"> <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.ContainsValue(`1)"> <summary>, <see cref="T:System.Collections.Generic.SortedList`2" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedList`2" /> , false.</returns> <param name="value">, <see cref="T:System.Collections.Generic.SortedList`2" />. null.</param> </member> <member name="P:System.Collections.Generic.SortedList`2.Count"> <summary> "-", <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> "-", <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.GetEnumerator"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" /> <see cref="T:System.Collections.Generic.KeyValuePair`2" /> <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.IndexOfKey(`0)"> <summary> ( ) , <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> ( ) <paramref name="key" />, <see cref="T:System.Collections.Generic.SortedList`2" />; -1.</returns> <param name="key"> <see cref="T:System.Collections.Generic.SortedList`2" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.IndexOfValue(`1)"> <summary> ( ) , <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> <paramref name="value" /> <see cref="T:System.Collections.Generic.SortedList`2" />, ; -1.</returns> <param name="value">, <see cref="T:System.Collections.Generic.SortedList`2" />. null.</param> </member> <member name="P:System.Collections.Generic.SortedList`2.Item(`0)"> <summary> , .</summary> <returns>, . , <see cref="T:System.Collections.Generic.KeyNotFoundException" />, .</returns> <param name="key"> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.Collections.Generic.KeyNotFoundException"> , <paramref name="key" /> .</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.Keys"> <summary> , <see cref="T:System.Collections.Generic.SortedList`2" />, .</summary> <returns> <see cref="T:System.Collections.Generic.IList`1" />, <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> true, , false. false, <paramref name="key" /> <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.RemoveAt(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <param name="index"> ( ) , .</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .-- <paramref name="index" /> <see cref="P:System.Collections.Generic.SortedList`2.Count" />.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#Generic#ICollection{T}#Add(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> "-" <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#Generic#ICollection{T}#Contains(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary>, <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#Generic#ICollection{T}#CopyTo(System.Collections.Generic.KeyValuePair{`0,`1}[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.ICollection`1" />. <see cref="T:System.Array" /> .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null. </exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> . </exception> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.ICollection`1" /> , <paramref name="arrayIndex" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.Generic.ICollection`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.ICollection`1" /> , false. <see cref="T:System.Collections.Generic.SortedList`2" /> false.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#Generic#ICollection{T}#Remove(System.Collections.Generic.KeyValuePair{`0,`1})"> <summary> "-" <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <returns> true, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />, false. false, <paramref name="keyValuePair" /> <see cref="T:System.Collections.Generic.ICollection`1" />.</returns> <param name="keyValuePair"> <see cref="T:System.Collections.Generic.KeyValuePair`2" />, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#Generic#IDictionary{TKey@TValue}#Keys"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#Generic#IDictionary{TKey@TValue}#Values"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.ICollection`1" />, <see cref="T:System.Collections.Generic.IDictionary`2" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Keys"> <summary> , .</summary> <returns> , .</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#Generic#IReadOnlyDictionary{TKey@TValue}#Values"> <summary> , .</summary> <returns> , .</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> .</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> .-- <paramref name="array" /> .-- <see cref="T:System.Collections.ICollection" /> , <paramref name="arrayIndex" /> <paramref name="array" />.-- <see cref="T:System.Collections.ICollection" /> <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.SortedList`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.SortedList`2" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Add(System.Object,System.Object)"> <summary> <see cref="T:System.Collections.IDictionary" />.</summary> <param name="key"> <see cref="T:System.Object" /> .</param> <param name="value"> <see cref="T:System.Object" /> .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.IDictionary" />.-- <paramref name="value" /> , <paramref name="TValue" /> <see cref="T:System.Collections.IDictionary" />.-- <see cref="T:System.Collections.IDictionary" />.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Contains(System.Object)"> <summary>, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> ; false.</returns> <param name="key"> <see cref="T:System.Collections.IDictionary" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#GetEnumerator"> <summary> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.IDictionaryEnumerator" /> <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#IsFixedSize"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> , false. <see cref="T:System.Collections.Generic.SortedList`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#IsReadOnly"> <summary> , , <see cref="T:System.Collections.IDictionary" /> .</summary> <returns> true, <see cref="T:System.Collections.IDictionary" /> , false. <see cref="T:System.Collections.Generic.SortedList`2" /> false.</returns> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Item(System.Object)"> <summary> .</summary> <returns> , null, <paramref name="key" /> <paramref name="key" /> <paramref name="TKey" /> <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> <exception cref="T:System.ArgumentException"> <paramref name="key" /> , <paramref name="TKey" /> <see cref="T:System.Collections.Generic.SortedList`2" />.-- , <paramref name="value" /> <paramref name="TValue" /> <see cref="T:System.Collections.Generic.SortedList`2" />.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Keys"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Remove(System.Object)"> <summary> <see cref="T:System.Collections.IDictionary" />.</summary> <param name="key"> , .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.System#Collections#IDictionary#Values"> <summary> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</summary> <returns> <see cref="T:System.Collections.ICollection" />, <see cref="T:System.Collections.IDictionary" />.</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.SortedList`2.TrimExcess"> <summary> <see cref="T:System.Collections.Generic.SortedList`2" />, 90 .</summary> </member> <member name="M:System.Collections.Generic.SortedList`2.TryGetValue(`0,`1@)"> <summary> , .</summary> <returns>true, <see cref="T:System.Collections.Generic.SortedList`2" /> , false.</returns> <param name="key">, .</param> <param name="value"> , , ; <paramref name="value" />. .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="key" /> null.</exception> </member> <member name="P:System.Collections.Generic.SortedList`2.Values"> <summary> , <see cref="T:System.Collections.Generic.SortedList`2" />.</summary> <returns> <see cref="T:System.Collections.Generic.IList`1" />, <see cref="T:System.Collections.Generic.SortedList`2" />.</returns> </member> <member name="T:System.Collections.Generic.SortedSet`1"> <summary> .</summary> <typeparam name="T"> .</typeparam> </member> <member name="M:System.Collections.Generic.SortedSet`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />. </summary> </member> <member name="M:System.Collections.Generic.SortedSet`1.#ctor(System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, .</summary> <param name="comparer"> . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="comparer" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, , .</summary> <param name="collection"> , . </param> </member> <member name="M:System.Collections.Generic.SortedSet`1.#ctor(System.Collections.Generic.IEnumerable{`0},System.Collections.Generic.IComparer{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, , , .</summary> <param name="collection"> , . </param> <param name="comparer"> . </param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.Add(`0)"> <summary> , , .</summary> <returns>true <paramref name="item" /> ; false. </returns> <param name="item">, .</param> </member> <member name="M:System.Collections.Generic.SortedSet`1.Clear"> <summary> .</summary> </member> <member name="P:System.Collections.Generic.SortedSet`1.Comparer"> <summary> <see cref="T:System.Collections.Generic.IEqualityComparer`1" />, <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns>, <see cref="T:System.Collections.Generic.SortedSet`1" />.</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.Contains(`0)"> <summary>, .</summary> <returns> true, <paramref name="item" />; false.</returns> <param name="item">, .</param> </member> <member name="M:System.Collections.Generic.SortedSet`1.CopyTo(`0[])"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentException"> <see cref="T:System.Collections.Generic.SortedSet`1" /> , . </exception> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.SortedSet`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.CopyTo(`0[],System.Int32,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.SortedSet`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <param name="count"> .</param> <exception cref="T:System.ArgumentException"> <paramref name="index" /> .</exception> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .-- <paramref name="count" /> .</exception> </member> <member name="P:System.Collections.Generic.SortedSet`1.Count"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.SortedSet`1" />.</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.ExceptWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <param name="other"> , <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.GetEnumerator"> <summary> , <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.GetViewBetween(`0,`0)"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns> , .</returns> <param name="lowerValue"> .</param> <param name="upperValue"> . </param> <exception cref="T:System.ArgumentException"> <paramref name="lowerValue" /> <paramref name="upperValue" /> .</exception> <exception cref="T:System.ArgumentOutOfRangeException"> , <paramref name="lowerValue" /> <paramref name="upperValue" />.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.IntersectWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, , .</summary> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.IsProperSubsetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.IsProperSupersetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />. </param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.IsSubsetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.IsSupersetOf(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />. </param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="P:System.Collections.Generic.SortedSet`1.Max"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, .</summary> <returns> .</returns> </member> <member name="P:System.Collections.Generic.SortedSet`1.Min"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, .</summary> <returns> .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.Overlaps(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" /> ; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.Remove(`0)"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns>true . false. </returns> <param name="item"> .</param> </member> <member name="M:System.Collections.Generic.SortedSet`1.RemoveWhere(System.Predicate{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" /> , , .</summary> <returns> , <see cref="T:System.Collections.Generic.SortedSet`1" />. </returns> <param name="match">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="match" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.Reverse"> <summary> <see cref="T:System.Collections.Generic.IEnumerable`1" />, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.SetEquals(System.Collections.Generic.IEnumerable{`0})"> <summary>, <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <returns> true, <see cref="T:System.Collections.Generic.SortedSet`1" /> <paramref name="other" />; false.</returns> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.SymmetricExceptWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, , , , .</summary> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.System#Collections#Generic#ICollection{T}#Add(`0)"> <summary> <see cref="T:System.Collections.Generic.ICollection`1" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.ICollection`1" />.</param> <exception cref="T:System.NotSupportedException"> <see cref="T:System.Collections.Generic.ICollection`1" /> .</exception> </member> <member name="P:System.Collections.Generic.SortedSet`1.System#Collections#Generic#ICollection{T}#IsReadOnly"> <summary> , , <see cref="T:System.Collections.ICollection" /> .</summary> <returns> true, ; false.</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns>, .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" /> .</summary> <param name="array"> , , <see cref="T:System.Collections.Generic.SortedSet`1" />. .</param> <param name="index"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentException"> <paramref name="index" /> . </exception> <exception cref="T:System.ArgumentNullException"> <paramref name="array" />is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="index" /> .</exception> </member> <member name="P:System.Collections.Generic.SortedSet`1.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns> true, <see cref="T:System.Collections.ICollection" /> ; false.</returns> </member> <member name="P:System.Collections.Generic.SortedSet`1.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.Dictionary`2.KeyCollection" /> .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns>, .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.UnionWith(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />, , , . </summary> <param name="other"> <see cref="T:System.Collections.Generic.SortedSet`1" />.</param> <exception cref="T:System.ArgumentNullException"> <paramref name="other" />is null.</exception> </member> <member name="T:System.Collections.Generic.SortedSet`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> </member> <member name="P:System.Collections.Generic.SortedSet`1.Enumerator.Current"> <summary> , .</summary> <returns> , .</returns> </member> <member name="M:System.Collections.Generic.SortedSet`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.SortedSet`1.Enumerator" />. </summary> </member> <member name="M:System.Collections.Generic.SortedSet`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.SortedSet`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.SortedSet`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.SortedSet`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="T:System.Collections.Generic.Stack`1"> <summary> , " - " (LIFO).</summary> <typeparam name="T"> .</typeparam> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Stack`1.#ctor"> <summary> <see cref="T:System.Collections.Generic.Stack`1" /> .</summary> </member> <member name="M:System.Collections.Generic.Stack`1.#ctor(System.Collections.Generic.IEnumerable{`0})"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />, , , , .</summary> <param name="collection">, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="collection" /> is null.</exception> </member> <member name="M:System.Collections.Generic.Stack`1.#ctor(System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />, , .</summary> <param name="capacity"> , <see cref="T:System.Collections.Generic.Stack`1" />.</param> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="capacity" /> is less than zero.</exception> </member> <member name="M:System.Collections.Generic.Stack`1.Clear"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <filterpriority>1</filterpriority> </member> <member name="M:System.Collections.Generic.Stack`1.Contains(`0)"> <summary>, <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <returns> true, <paramref name="item" /> <see cref="T:System.Collections.Generic.Stack`1" />; false.</returns> <param name="item">, <see cref="T:System.Collections.Generic.Stack`1" />. null.</param> </member> <member name="M:System.Collections.Generic.Stack`1.CopyTo(`0[],System.Int32)"> <summary> <see cref="T:System.Collections.Generic.Stack`1" /> <see cref="T:System.Array" />, .</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.Generic.Stack`1" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> is less than zero.</exception> <exception cref="T:System.ArgumentException">The number of elements in the source <see cref="T:System.Collections.Generic.Stack`1" /> is greater than the available space from <paramref name="arrayIndex" /> to the end of the destination <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Stack`1.Count"> <summary> , <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <returns> , <see cref="T:System.Collections.Generic.Stack`1" />.</returns> </member> <member name="M:System.Collections.Generic.Stack`1.GetEnumerator"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <returns> <see cref="T:System.Collections.Generic.Stack`1.Enumerator" /> <see cref="T:System.Collections.Generic.Stack`1" />.</returns> </member> <member name="M:System.Collections.Generic.Stack`1.Peek"> <summary> , <see cref="T:System.Collections.Generic.Stack`1" />, .</summary> <returns>, <see cref="T:System.Collections.Generic.Stack`1" />.</returns> <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Generic.Stack`1" /> is empty.</exception> </member> <member name="M:System.Collections.Generic.Stack`1.Pop"> <summary> , <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <returns>, <see cref="T:System.Collections.Generic.Stack`1" />.</returns> <exception cref="T:System.InvalidOperationException">The <see cref="T:System.Collections.Generic.Stack`1" /> is empty.</exception> </member> <member name="M:System.Collections.Generic.Stack`1.Push(`0)"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <param name="item">, <see cref="T:System.Collections.Generic.Stack`1" />. null.</param> </member> <member name="M:System.Collections.Generic.Stack`1.System#Collections#Generic#IEnumerable{T}#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.IEnumerator`1" />, .</returns> </member> <member name="M:System.Collections.Generic.Stack`1.System#Collections#ICollection#CopyTo(System.Array,System.Int32)"> <summary> <see cref="T:System.Collections.ICollection" /> <see cref="T:System.Array" />, <see cref="T:System.Array" />.</summary> <param name="array"> <see cref="T:System.Array" />, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Array" /> , .</param> <param name="arrayIndex"> <paramref name="array" />, .</param> <exception cref="T:System.ArgumentNullException"> <paramref name="array" /> is null.</exception> <exception cref="T:System.ArgumentOutOfRangeException"> <paramref name="arrayIndex" /> is less than zero.</exception> <exception cref="T:System.ArgumentException"> <paramref name="array" /> is multidimensional.-or-<paramref name="array" /> does not have zero-based indexing.-or-The number of elements in the source <see cref="T:System.Collections.ICollection" /> is greater than the available space from <paramref name="arrayIndex" /> to the end of the destination <paramref name="array" />.-or-The type of the source <see cref="T:System.Collections.ICollection" /> cannot be cast automatically to the type of the destination <paramref name="array" />.</exception> </member> <member name="P:System.Collections.Generic.Stack`1.System#Collections#ICollection#IsSynchronized"> <summary> , , <see cref="T:System.Collections.ICollection" /> ().</summary> <returns>true, <see cref="T:System.Collections.ICollection" /> (); false. <see cref="T:System.Collections.Generic.Stack`1" /> false.</returns> </member> <member name="P:System.Collections.Generic.Stack`1.System#Collections#ICollection#SyncRoot"> <summary> , <see cref="T:System.Collections.ICollection" />.</summary> <returns>, <see cref="T:System.Collections.ICollection" />. <see cref="T:System.Collections.Generic.Stack`1" /> .</returns> </member> <member name="M:System.Collections.Generic.Stack`1.System#Collections#IEnumerable#GetEnumerator"> <summary> , .</summary> <returns> <see cref="T:System.Collections.IEnumerator" />, .</returns> </member> <member name="M:System.Collections.Generic.Stack`1.ToArray"> <summary> <see cref="T:System.Collections.Generic.Stack`1" /> .</summary> <returns> , <see cref="T:System.Collections.Generic.Stack`1" />.</returns> </member> <member name="M:System.Collections.Generic.Stack`1.TrimExcess"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />, 90 .</summary> </member> <member name="T:System.Collections.Generic.Stack`1.Enumerator"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />.</summary> </member> <member name="P:System.Collections.Generic.Stack`1.Enumerator.Current"> <summary> , .</summary> <returns> <see cref="T:System.Collections.Generic.Stack`1" /> .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Stack`1.Enumerator.Dispose"> <summary> , <see cref="T:System.Collections.Generic.Stack`1.Enumerator" />.</summary> </member> <member name="M:System.Collections.Generic.Stack`1.Enumerator.MoveNext"> <summary> <see cref="T:System.Collections.Generic.Stack`1" />.</summary> <returns> true, ; false, .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="P:System.Collections.Generic.Stack`1.Enumerator.System#Collections#IEnumerator#Current"> <summary> , .</summary> <returns> , .</returns> <exception cref="T:System.InvalidOperationException"> . </exception> </member> <member name="M:System.Collections.Generic.Stack`1.Enumerator.System#Collections#IEnumerator#Reset"> <summary> , . . . .</summary> <exception cref="T:System.InvalidOperationException"> . </exception> </member> </members> </doc> ```
/content/code_sandbox/packages/System.Collections.4.0.0/ref/netcore50/ru/System.Collections.xml
xml
2016-04-24T09:50:47
2024-08-16T11:45:14
ILRuntime
Ourpalm/ILRuntime
2,976
52,985
```xml import { Component } from '@angular/core'; import { Code } from '@domain/code'; @Component({ selector: 'dynamic-doc', template: ` <app-docsectiontext> <p>AccordionTabs can be generated dynamically using the standard <i>ngFor</i> directive.</p> </app-docsectiontext> <div class="card"> <p-accordion [activeIndex]="0"> <p-accordionTab [header]="tab.title" *ngFor="let tab of tabs"> <p class="m-0"> {{ tab.content }} </p> </p-accordionTab> </p-accordion> </div> <app-code [code]="code" selector="accordion-dynamic-demo"></app-code> ` }) export class DynamicDoc { tabs = [ { title: 'Title 1', content: 'Content 1' }, { title: 'Title 2', content: 'Content 2' }, { title: 'Title 3', content: 'Content 3' } ]; code: Code = { basic: `<p-accordion [activeIndex]="0"> <p-accordionTab [header]="tab.title" *ngFor="let tab of tabs"> <p class="m-0"> {{ tab.content }} </p> </p-accordionTab> </p-accordion>`, html: `<div class="card"> <p-accordion [activeIndex]="0"> <p-accordionTab [header]="tab.title" *ngFor="let tab of tabs"> <p class="m-0"> {{ tab.content }} </p> </p-accordionTab> </p-accordion> </div>`, typescript: `import { Component } from '@angular/core'; import { AccordionModule } from 'primeng/accordion'; import { CommonModule } from '@angular/common'; @Component({ selector: 'accordion-dynamic-demo', templateUrl: './accordion-dynamic-demo.html', standalone: true, imports: [AccordionModule, CommonModule] }) export class AccordionDynamicDemo { tabs = [ { title: 'Title 1', content: 'Content 1' }, { title: 'Title 2', content: 'Content 2' }, { title: 'Title 3', content: 'Content 3' } ]; }` }; } ```
/content/code_sandbox/src/app/showcase/doc/accordion/dynamicdoc.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
516
```xml import {Inject} from "@tsed/common"; import {getWorkerToken} from "../utils/getWorkerToken.js"; export function InjectWorker(name: string) { return Inject(getWorkerToken(name)); } ```
/content/code_sandbox/packages/third-parties/bullmq/src/decorators/InjectWorker.ts
xml
2016-02-21T18:38:47
2024-08-14T21:19:48
tsed
tsedio/tsed
2,817
43
```xml <Page x:Class="Telegram.Views.Host.StandalonePage" xmlns="path_to_url" xmlns:x="path_to_url" xmlns:local="using:Telegram.Views.Host" xmlns:controls="using:Telegram.Controls" xmlns:d="path_to_url" xmlns:mc="path_to_url" xmlns:muxc="using:Microsoft.UI.Xaml.Controls" muxc:BackdropMaterial.ApplyToRootOrPageBackground="True" mc:Ignorable="d" Loaded="OnLoaded" Unloaded="OnUnloaded"> <Grid x:Name="LayoutRoot"> <Grid.RowDefinitions> <RowDefinition Height="Auto" /> <RowDefinition /> </Grid.RowDefinitions> <Grid x:Name="TitleBarrr" Height="40" Margin="12,0,0,0" Background="Transparent" Grid.Column="1" Canvas.ZIndex="1"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> <ColumnDefinition /> <ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" /> </Grid.ColumnDefinitions> <Border x:Name="TitleBarHandle" Background="Transparent" Grid.Column="2" /> <muxc:ProgressBar x:Name="State" VerticalAlignment="Top" Background="Transparent" IsHitTestVisible="False" Grid.ColumnSpan="5" /> <HyperlinkButton x:Name="TitleBarLogo" Style="{StaticResource EmptyHyperlinkButtonStyle}" IsTabStop="False" Margin="-10,0,4,0" Width="40" Height="40" Grid.Column="1"> <Grid Background="Transparent"> <Canvas x:Name="LogoBasic" Width="16" Height="14" HorizontalAlignment="Center" VerticalAlignment="Center"> <Path Data="M14.6025 0.109437C9.96891 1.86558 5.33409 3.61851 0.69863 5.36857L0.69863 5.36857C0.391755 5.48441 0.151119 5.65913 0.0247189 5.96984L0.0247189 5.96984C-0.00823964 6.06584 -0.00823964 6.14328 0.0247189 6.21976L0.0247189 6.21976C0.169358 6.5228 0.426634 6.67031 0.735112 6.77303L0.735112 6.77303C1.51366 7.03255 2.29669 7.28279 3.0586 7.58486L3.0586 7.58486C3.77315 7.8687 4.38978 7.77046 5.0301 7.35575L5.0301 7.35575C7.12511 5.99896 9.23964 4.67322 11.3497 3.34011L11.3497 3.34011C11.5299 3.22651 11.7417 2.98396 11.9478 3.23324L11.9478 3.23324C12.1769 3.51067 11.8617 3.65819 11.7062 3.80859L11.7062 3.80859C10.158 5.30617 8.60157 6.79479 7.05087 8.28949L7.05087 8.28949C6.55616 8.76629 6.57984 9.14804 7.12959 9.54644L7.12959 9.54644C8.67037 10.6648 10.2121 11.781 11.7619 12.8869L11.7619 12.8869C11.9414 13.0152 12.165 13.1211 12.381 13.1531L12.381 13.1531C12.9948 13.2437 13.4037 12.8773 13.5663 12.1429L13.5663 12.1429C13.7676 11.2299 13.9692 10.3167 14.1692 9.4034L14.1692 9.4034C14.7685 6.66327 15.3653 3.92219 15.9685 1.18303L15.9685 1.18303C16.0463 0.82847 15.9852 0.522555 15.7272 0.264637L15.7272 0.264637C15.5365 0.0742392 15.3317 0 15.1148 0L15.1148 0C14.9506 0 14.7794 0.0425605 14.6025 0.109439" StrokeThickness="0" Stroke="#00000000"> <Path.Fill> <LinearGradientBrush StartPoint="0.355035215616226,0" EndPoint="0.916017889976501,0.0104505941271782" MappingMode="RelativeToBoundingBox"> <LinearGradientBrush.GradientStops> <GradientStopCollection> <GradientStop Offset="0" Color="#008ED4" /> <GradientStop Offset="1" Color="#25AEF3" /> </GradientStopCollection> </LinearGradientBrush.GradientStops> </LinearGradientBrush> </Path.Fill> </Path> <Path Data="M14.6025 0.109437C9.96891 1.86558 5.33409 3.61851 0.69863 5.36857L0.69863 5.36857C0.391755 5.48441 0.151119 5.65913 0.0247189 5.96984L0.0247189 5.96984C-0.00823964 6.06584 -0.00823964 6.14328 0.0247189 6.22008L0.0247189 6.22008C0.169358 6.52248 0.426634 6.67031 0.735112 6.77303L0.735112 6.77303C1.51366 7.03255 2.29669 7.28279 3.0586 7.58486L3.0586 7.58486C3.33316 7.69398 3.59332 7.74646 3.84547 7.74646L3.84547 7.74646C4.25059 7.74646 4.63554 7.6111 5.0301 7.35575L5.0301 7.35575C7.12511 5.99896 9.23964 4.67322 11.3497 3.34012L11.3497 3.34012C11.4729 3.26236 11.6105 3.12444 11.7516 3.12444L11.7516 3.12444C11.8166 3.12444 11.8825 3.1542 11.9478 3.23323L11.9478 3.23323C12.1775 3.51067 11.8617 3.65819 11.7062 3.80858L11.7062 3.80858C10.158 5.30617 8.60157 6.79479 7.05087 8.28949L7.05087 8.28949C6.55616 8.76629 6.57984 9.14804 7.12959 9.54644L7.12959 9.54644C8.67037 10.6648 10.2121 11.781 11.7619 12.8869L11.7619 12.8869C11.9414 13.0152 12.165 13.1211 12.381 13.1531L12.381 13.1531C12.4425 13.1624 12.5017 13.1666 12.559 13.1666L12.559 13.1666C13.0742 13.1666 13.4204 12.8037 13.5663 12.1429L13.5663 12.1429C13.7676 11.2299 13.9692 10.3167 14.1692 9.4034L14.1692 9.4034C14.7685 6.66327 15.3653 3.92219 15.9685 1.18303L15.9685 1.18303C16.0463 0.828471 15.9852 0.522555 15.7272 0.264637L15.7272 0.264637C15.5365 0.0742392 15.3317 0 15.1148 0L15.1148 0C14.9503 0 14.7794 0.0425605 14.6025 0.109439M3.17668 7.28759C2.52613 7.02935 1.85382 6.80663 1.2039 6.59127L1.2039 6.59127L0.836229 6.46967C0.558793 6.3772 0.408394 6.26872 0.320717 6.09688L0.320717 6.09688C0.321676 6.09336 0.322636 6.08824 0.324877 6.0812L0.324877 6.0812C0.405834 5.88984 0.552073 5.766 0.811909 5.66808L0.811909 5.66808C5.44737 3.91771 10.0825 2.16509 14.7161 0.408632L14.7161 0.408632C14.8738 0.349113 15.0044 0.319992 15.1148 0.319992L15.1148 0.319992C15.2636 0.319992 15.3823 0.372792 15.5007 0.490869L15.5007 0.490869C15.6687 0.658868 15.7151 0.845106 15.6556 1.1139L15.6556 1.1139C15.2357 3.023 14.8188 4.93274 14.4012 6.84247L14.4012 6.84247L13.8565 9.33524C13.6569 10.2482 13.4553 11.1611 13.2537 12.0738L13.2537 12.0738C13.0831 12.8469 12.6889 12.8469 12.559 12.8469L12.559 12.8469C12.5174 12.8469 12.4732 12.8434 12.4278 12.8366L12.4278 12.8366C12.279 12.8149 12.1042 12.7378 11.9474 12.6264L11.9474 12.6264C10.4844 11.5822 9.03836 10.5368 7.31743 9.28788L7.31743 9.28788C7.13087 9.15252 7.02463 9.02484 7.01823 8.92852L7.01823 8.92852C7.01119 8.82997 7.10175 8.68501 7.27295 8.51989L7.27295 8.51989C7.89694 7.91862 8.52189 7.31831 9.14685 6.71767L9.14685 6.71767C10.0748 5.82552 11.0035 4.9337 11.9286 4.03835L11.9286 4.03835C11.9516 4.01659 11.9791 3.99451 12.007 3.97211L12.007 3.97211C12.1321 3.87099 12.3212 3.71867 12.3462 3.47195L12.3462 3.47195C12.3615 3.31868 12.3106 3.16988 12.1942 3.02908L12.1942 3.02908C12.0409 2.8438 11.8684 2.80444 11.7516 2.80444L11.7516 2.80444C11.5427 2.80444 11.3785 2.92508 11.2591 3.01308L11.2591 3.01308C11.2316 3.03324 11.2047 3.0534 11.1788 3.06972L11.1788 3.06972L9.99803 3.81499C8.30878 4.88058 6.56192 5.98232 4.85634 7.08695L4.85634 7.08695C4.49858 7.31894 4.17763 7.42646 3.84547 7.42646L3.84547 7.42646C3.6314 7.42646 3.41252 7.38102 3.17668 7.28759" StrokeThickness="0" Stroke="#00000000"> <Path.Fill> <LinearGradientBrush StartPoint="4.80645803691004E-06,0.5" EndPoint="0.9999920129776,0.5" MappingMode="RelativeToBoundingBox"> <LinearGradientBrush.GradientStops> <GradientStopCollection> <GradientStop Offset="0" Color="#008ED4" /> <GradientStop Offset="0.303017" Color="#008ED4" /> <GradientStop Offset="0.9" Color="#25AEF3" /> <GradientStop Offset="1" Color="#25AEF3" /> </GradientStopCollection> </LinearGradientBrush.GradientStops> </LinearGradientBrush> </Path.Fill> </Path> </Canvas> <Canvas x:Name="LogoPremium" Visibility="Collapsed" Width="16" Height="16" Margin="0,-2,0,0" HorizontalAlignment="Center" VerticalAlignment="Center"> <Path Data="M7.6,13.2L4,15.4c-0.4,0.2-0.9,0.1-1.1-0.3c-0.1-0.2-0.1-0.4-0.1-0.6l0.6-2.2c0.2-0.8,0.7-1.4,1.5-1.8l3.9-1.9 C8.9,8.7,9,8.4,8.9,8.3C8.9,8.1,8.7,8,8.5,8.1L4.2,8.8C3.3,9,2.4,8.7,1.7,8.1L0.3,7c-0.3-0.3-0.4-0.8-0.1-1.1 c0.1-0.2,0.3-0.3,0.5-0.3L5,5.3c0.3,0,0.6-0.2,0.7-0.5l1.6-3.9c0.2-0.4,0.6-0.6,1-0.4c0.2,0.1,0.3,0.2,0.4,0.4l1.6,3.9 c0.1,0.3,0.4,0.5,0.7,0.5l4.2,0.3C15.7,5.7,16,6,16,6.5c0,0.2-0.1,0.4-0.3,0.5l-3.2,2.7c-0.2,0.2-0.3,0.5-0.3,0.8l1,4.1 c0.1,0.4-0.2,0.8-0.6,0.9c-0.2,0-0.4,0-0.6-0.1l-3.6-2.2C8.1,13.1,7.8,13.1,7.6,13.2z" Style="{StaticResource PremiumStar}" /> </Canvas> <controls:CustomEmojiIcon x:Name="LogoEmoji" x:Load="False" HorizontalAlignment="Center" VerticalAlignment="Center" /> </Grid> </HyperlinkButton> <TextBlock x:Name="StateLabel" VerticalAlignment="Center" TextLineBounds="TrimToCapHeight" TextWrapping="NoWrap" AutomationProperties.LiveSetting="Assertive" Foreground="{ThemeResource PageHeaderForegroundBrush}" Style="{StaticResource CaptionTextBlockStyle}" IsHitTestVisible="False" Margin="0,2,6,0" Grid.Column="2" /> </Grid> <controls:MasterDetailView x:Name="MasterDetail" Grid.Row="2" /> </Grid> </Page> ```
/content/code_sandbox/Telegram/Views/Host/StandalonePage.xaml
xml
2016-05-23T09:03:33
2024-08-16T16:17:48
Unigram
UnigramDev/Unigram
3,744
4,220
```xml import { parseModule, projectRoot } from './mini-metro'; import { wrapModule } from '../js'; jest.mock('fs'); async function helpWrap(src: string, options: Partial<Parameters<typeof wrapModule>[1]>) { return wrapModule(await parseModule('index.js', src, {}), { computedAsyncModulePaths: null, createModuleId: (m) => m, dev: true, includeAsyncPaths: false, projectRoot, serverRoot: projectRoot, skipWrapping: false, sourceUrl: 'path_to_url splitChunks: false, ...options, }); } describe(wrapModule, () => { describe('lazy disabled', () => { it(`wraps module with params in dev with lazy disabled`, async () => { const res = await helpWrap( `import { View } from 'react-native'; console.log("Hello World")`, { dev: true, includeAsyncPaths: false, } ); expect(res.paths).toEqual({}); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var _reactNative = _$$_REQUIRE(_dependencyMap[0]); console.log("Hello World"); },"/app/index.js",["/app/node_modules/react-native/index.js"],"index.js");" `); }); it(`wraps module with params in dev with lazy loading disabled`, async () => { const res = await helpWrap(`const evan = import('bacon');`, { dev: true, includeAsyncPaths: false, }); expect(res.paths).toEqual({}); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var evan = _$$_REQUIRE(_dependencyMap[1])(_dependencyMap[0], _dependencyMap.paths); },"/app/index.js",["/app/node_modules/bacon/index.js","/app/node_modules/expo-mock/async-require/index.js"],"index.js");" `); }); }); it(`wraps module with params in dev with lazy loading enabled`, async () => { const res = await helpWrap(`const evan = import('bacon');`, { dev: true, includeAsyncPaths: true, }); expect(res.paths).toEqual({ '/app/node_modules/bacon/index.js': '/node_modules/bacon/index.bundle?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false', }); expect(res.src).toMatch(/expo-mock\/async-require/); expect(res.src).toMatch(/paths/); expect(res.src).toMatch( /node_modules\/bacon\/index\.bundle\?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false/ ); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var evan = _$$_REQUIRE(_dependencyMap[1])(_dependencyMap[0], _dependencyMap.paths); },"/app/index.js",{"0":"/app/node_modules/bacon/index.js","1":"/app/node_modules/expo-mock/async-require/index.js","paths":{"/app/node_modules/bacon/index.js":"/node_modules/bacon/index.bundle?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false"}},"index.js");" `); }); it(`wraps module with params in prod with lazy loading enabled`, async () => { const res = await helpWrap(`const evan = import('bacon');`, { dev: false, includeAsyncPaths: false, splitChunks: true, computedAsyncModulePaths: { '/app/node_modules/bacon/index.js': '/_expo/static/js/web/0.chunk.js', }, }); expect(res.paths).toEqual({ '/app/node_modules/bacon/index.js': '/_expo/static/js/web/0.chunk.js', }); expect(res.src).toMatch(/expo-mock\/async-require/); expect(res.src).toMatch(/paths/); expect(res.src).not.toMatch( /\?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false/ ); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var evan = _$$_REQUIRE(_dependencyMap[1])(_dependencyMap[0], _dependencyMap.paths); },"/app/index.js",{"0":"/app/node_modules/bacon/index.js","1":"/app/node_modules/expo-mock/async-require/index.js","paths":{"/app/node_modules/bacon/index.js":"/_expo/static/js/web/0.chunk.js"}});" `); }); // Disabled wrapping is used to calculate content hashes without knowing all the module paths ahead of time. it(`disables module wrapping in dev`, async () => { const res = await helpWrap(`const evan = import('bacon');`, { skipWrapping: true, dev: false, includeAsyncPaths: true, }); expect(res.paths).toEqual({ '/app/node_modules/bacon/index.js': '/node_modules/bacon/index.bundle?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false', }); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var evan = _$$_REQUIRE(_dependencyMap[1])(_dependencyMap[0], _dependencyMap.paths); },"/app/index.js",{"0":"/app/node_modules/bacon/index.js","1":"/app/node_modules/expo-mock/async-require/index.js","paths":{"/app/node_modules/bacon/index.js":"/node_modules/bacon/index.bundle?platform=web&dev=true&minify=false&modulesOnly=true&runModule=false"}});" `); }); it(`disables module wrapping in prod`, async () => { const res = await helpWrap(`const evan = import('bacon');`, { dev: false, includeAsyncPaths: false, splitChunks: true, skipWrapping: true, computedAsyncModulePaths: { '/app/node_modules/bacon/index.js': '/_expo/static/js/web/0.chunk.js', }, }); expect(res.paths).toEqual({ '/app/node_modules/bacon/index.js': '/_expo/static/js/web/0.chunk.js', }); expect(res.src).toMatchInlineSnapshot(` "__d(function (global, _$$_REQUIRE, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) { var evan = _$$_REQUIRE(_dependencyMap[1])(_dependencyMap[0], _dependencyMap.paths); },"/app/index.js",{"0":"/app/node_modules/bacon/index.js","1":"/app/node_modules/expo-mock/async-require/index.js","paths":{"/app/node_modules/bacon/index.js":"/_expo/static/js/web/0.chunk.js"}});" `); }); }); ```
/content/code_sandbox/packages/@expo/metro-config/src/serializer/fork/__tests__/js.test.ts
xml
2016-08-15T17:14:25
2024-08-16T19:54:44
expo
expo/expo
32,004
1,623
```xml <vector xmlns:android="path_to_url" android:width="40dp" android:height="40dp" android:viewportWidth="40" android:viewportHeight="40"> <path android:fillColor="@color/teal_300" android:pathData="M20,20m-20,0a20,20 0,1 1,40 0a20,20 0,1 1,-40 0" /> <path android:fillColor="#fff" android:fillType="evenOdd" android:pathData="m17,24.2 l-4.2,-4.2 -1.4,1.4 5.6,5.6 12,-12 -1.4,-1.4z" /> </vector> ```
/content/code_sandbox/app/src/main/res/drawable/ic_chat_avatar_select.xml
xml
2016-05-04T11:46:20
2024-08-15T16:29:10
android
meganz/android
1,537
177
```xml <?xml version="1.0" encoding="utf-8"?> <Project ToolsVersion="4.0" xmlns="path_to_url"> <ItemGroup> <Filter Include=""> <UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier> <Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions> </Filter> <Filter Include=""> <UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier> <Extensions>h;hh;hpp;hxx;hm;inl;inc;ipp;xsd</Extensions> </Filter> <Filter Include=""> <UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier> <Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions> </Filter> <Filter Include="\1.gettting_started"> <UniqueIdentifier>{51c326ae-a415-4e58-b27d-d155b4f94bef}</UniqueIdentifier> </Filter> </ItemGroup> <ItemGroup> <ClCompile Include="Classes\glad.c"> <Filter></Filter> </ClCompile> <ClCompile Include="Classes\HelloOpenGL.cpp"> <Filter></Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\hello_triangle_indexed.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\hello_two_triangle.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\hello_two_triangle_diff.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\hello_two_triangle_two_shader.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\shader_uniform.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\shader_class.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\texture.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\Transformations.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\Coordinate_01.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\camera_circle.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> <ClCompile Include="Classes\1_gettting_started\UseCameraDemo.cpp"> <Filter>\1.gettting_started</Filter> </ClCompile> </ItemGroup> <ItemGroup> <ClInclude Include="OpenGL\includes\learnopengl\shader_s.h"> <Filter></Filter> </ClInclude> <ClInclude Include="OpenGL\includes\learnopengl\Camera.h"> <Filter></Filter> </ClInclude> </ItemGroup> </Project> ```
/content/code_sandbox/LearningOpenGL/LearnOpenGLDemo/LearnOpenGLDemo/LearnOpenGLDemo.vcxproj.filters
xml
2016-04-25T14:37:08
2024-08-16T09:19:37
Unity3DTraining
XINCGer/Unity3DTraining
7,368
829
```xml import { describe, expect, it } from "vitest"; import { Formatter } from "@export/formatter"; import { PageOrientation, PageSize } from "./page-size"; describe("PageSize", () => { describe("#constructor()", () => { it("should create page size with portrait", () => { const properties = new PageSize(100, 200, PageOrientation.PORTRAIT); const tree = new Formatter().format(properties); expect(Object.keys(tree)).to.deep.equal(["w:pgSz"]); expect(tree["w:pgSz"]).to.deep.equal({ _attr: { "w:h": 200, "w:w": 100, "w:orient": "portrait" } }); }); it("should create page size with horizontal and invert the lengths", () => { const properties = new PageSize(100, 200, PageOrientation.LANDSCAPE); const tree = new Formatter().format(properties); expect(Object.keys(tree)).to.deep.equal(["w:pgSz"]); expect(tree["w:pgSz"]).to.deep.equal({ _attr: { "w:h": 100, "w:w": 200, "w:orient": "landscape" } }); }); }); }); ```
/content/code_sandbox/src/file/document/body/section-properties/properties/page-size.spec.ts
xml
2016-03-26T23:43:56
2024-08-16T13:02:47
docx
dolanmiu/docx
4,139
258
```xml import { describe, expect, it } from 'vitest'; import { getJavaScriptTemplateForNewStoryFile } from './javascript'; describe('javascript', () => { it('should return a TypeScript template with a default import', async () => { const result = await getJavaScriptTemplateForNewStoryFile({ basenameWithoutExtension: 'foo', componentExportName: 'default', componentIsDefaultExport: true, exportedStoryName: 'Default', }); expect(result).toMatchInlineSnapshot(` "import Foo from './foo'; const meta = { component: Foo, }; export default meta; export const Default = {};" `); }); it('should return a TypeScript template with a named import', async () => { const result = await getJavaScriptTemplateForNewStoryFile({ basenameWithoutExtension: 'foo', componentExportName: 'Example', componentIsDefaultExport: false, exportedStoryName: 'Default', }); expect(result).toMatchInlineSnapshot(` "import { Example } from './foo'; const meta = { component: Example, }; export default meta; export const Default = {};" `); }); }); ```
/content/code_sandbox/code/core/src/core-server/utils/new-story-templates/javascript.test.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
258
```xml /* tslint:disable */ /* eslint-disable */ // @generated // This file was automatically generated and should not be edited. import { PaginationQuery, AccessType, } from '../../../../../../graphql-types/graphql-global-types'; // ==================================================== // GraphQL query operation: Repositories // ==================================================== export interface Repositories_workspace_repositories_repositories_owner { __typename: 'User'; id: string; email: string; picture: string | null; username: string; } export interface your_sha256_hashserCollaborator_user { __typename: 'User'; id: string; email: string; picture: string | null; username: string; } export interface your_sha256_hashserCollaborator { __typename: 'UserCollaborator'; user: your_sha256_hashserCollaborator_user; type: AccessType; canDeploy: boolean; } export interface your_sha256_hasheamCollaborator_team { __typename: 'Team'; id: string; name: string; } export interface your_sha256_hasheamCollaborator { __typename: 'TeamCollaborator'; team: your_sha256_hasheamCollaborator_team; type: AccessType; canDeploy: boolean; } export type Repositories_workspace_repositories_repositories_collaborators = | your_sha256_hashserCollaborator | your_sha256_hasheamCollaborator; export interface Repositories_workspace_repositories_repositories_allowedActions { __typename: 'AllowedActions'; create: boolean; update: boolean; delete: boolean; } export interface Repositories_workspace_repositories_repositories { __typename: 'Repository'; name: string; id: string; dateCreated: GraphQLDate; dateUpdated: GraphQLDate; labels: string[]; owner: Repositories_workspace_repositories_repositories_owner; collaborators: Repositories_workspace_repositories_repositories_collaborators[]; allowedActions: Repositories_workspace_repositories_repositories_allowedActions; } export interface Repositories_workspace_repositories_pagination { __typename: 'PaginationResponse'; totalRecords: number; } export interface Repositories_workspace_repositories { __typename: 'Repositories'; repositories: Repositories_workspace_repositories_repositories[]; pagination: Repositories_workspace_repositories_pagination; } export interface Repositories_workspace { __typename: 'Workspace'; id: string; repositories: Repositories_workspace_repositories; } export interface Repositories { workspace: Repositories_workspace | null; } export interface RepositoriesVariables { workspaceName: string; pagination: PaginationQuery; } ```
/content/code_sandbox/webapp/client/src/features/versioning/repositories/store/repositoriesQuery/graphql-types/Repositories.ts
xml
2016-10-19T01:07:26
2024-08-14T03:53:55
modeldb
VertaAI/modeldb
1,689
552
```xml /* Browser Crypto Shims */ import { hmac } from "@noble/hashes/hmac"; import { pbkdf2 } from "@noble/hashes/pbkdf2"; import { sha256 } from "@noble/hashes/sha256"; import { sha512 } from "@noble/hashes/sha512"; import { assert, assertArgument } from "../utils/index.js"; declare global { interface Window { } const window: Window; const self: Window; } function getGlobal(): any { if (typeof self !== 'undefined') { return self; } if (typeof window !== 'undefined') { return window; } if (typeof global !== 'undefined') { return global; } throw new Error('unable to locate global object'); }; const anyGlobal = getGlobal(); const crypto: any = anyGlobal.crypto || anyGlobal.msCrypto; export interface CryptoHasher { update(data: Uint8Array): CryptoHasher; digest(): Uint8Array; } export function createHash(algo: string): CryptoHasher { switch (algo) { case "sha256": return sha256.create(); case "sha512": return sha512.create(); } assertArgument(false, "invalid hashing algorithm name", "algorithm", algo); } export function createHmac(_algo: string, key: Uint8Array): CryptoHasher { const algo = ({ sha256, sha512 }[_algo]); assertArgument(algo != null, "invalid hmac algorithm", "algorithm", _algo); return hmac.create(algo, key); } export function pbkdf2Sync(password: Uint8Array, salt: Uint8Array, iterations: number, keylen: number, _algo: "sha256" | "sha512"): Uint8Array { const algo = ({ sha256, sha512 }[_algo]); assertArgument(algo != null, "invalid pbkdf2 algorithm", "algorithm", _algo); return pbkdf2(algo, password, salt, { c: iterations, dkLen: keylen }); } export function randomBytes(length: number): Uint8Array { assert(crypto != null, "platform does not support secure random numbers", "UNSUPPORTED_OPERATION", { operation: "randomBytes" }); assertArgument(Number.isInteger(length) && length > 0 && length <= 1024, "invalid length", "length", length); const result = new Uint8Array(length); crypto.getRandomValues(result); return result; } ```
/content/code_sandbox/src.ts/crypto/crypto-browser.ts
xml
2016-07-16T04:35:37
2024-08-16T13:37:46
ethers.js
ethers-io/ethers.js
7,843
529
```xml import * as React from 'react'; import { FlatTree, FlatTreeItem, TreeItemLayout, TreeOpenChangeData, TreeOpenChangeEvent, HeadlessFlatTreeItemProps, useHeadlessFlatTree_unstable, TreeItemValue, FlatTreeItemProps, } from '@fluentui/react-components'; import { Delete20Regular } from '@fluentui/react-icons'; import { Button, Menu, MenuItem, MenuList, MenuPopover, MenuTrigger, useRestoreFocusTarget, } from '@fluentui/react-components'; type ItemProps = HeadlessFlatTreeItemProps & { content: string }; const subtrees: ItemProps[][] = [ [ { value: '1', content: 'Level 1, item 1' }, { value: '1-1', parentValue: '1', content: 'Item 1-1' }, { value: '1-2', parentValue: '1', content: 'Item 1-2' }, ], [ { value: '2', content: 'Level 1, item 2' }, { value: '2-1', parentValue: '2', content: 'Item 2-1' }, ], ]; type CustomTreeItemProps = FlatTreeItemProps & { // eslint-disable-next-line @nx/workspace-consistent-callback-type -- FIXME @bsunderhus onRemoveItem?: (value: string) => void; }; const CustomTreeItem = React.forwardRef( ({ onRemoveItem, ...props }: CustomTreeItemProps, ref: React.Ref<HTMLDivElement> | undefined) => { const focusTargetAttribute = useRestoreFocusTarget(); const level = props['aria-level']; const value = props.value as string; const isItemRemovable = level !== 1 && !value.endsWith('-btn'); const handleRemoveItem = React.useCallback(() => { onRemoveItem?.(value); }, [value, onRemoveItem]); return ( <Menu positioning="below-end" openOnContext> <MenuTrigger disableButtonEnhancement> <FlatTreeItem aria-description="has actions" {...focusTargetAttribute} {...props} ref={ref}> <TreeItemLayout actions={ isItemRemovable ? ( <Button aria-label="Remove item" appearance="subtle" onClick={handleRemoveItem} icon={<Delete20Regular />} /> ) : undefined } > {props.children} </TreeItemLayout> </FlatTreeItem> </MenuTrigger> <MenuPopover> <MenuList> <MenuItem onClick={handleRemoveItem}>Remove item</MenuItem> </MenuList> </MenuPopover> </Menu> ); }, ); export const Manipulation = () => { const [trees, setTrees] = React.useState(subtrees); const itemToFocusRef = React.useRef<HTMLDivElement>(null); const [itemToFocusValue, setItemToFocusValue] = React.useState<TreeItemValue>(); const handleOpenChange = (event: TreeOpenChangeEvent, data: TreeOpenChangeData) => { // casting here to string as no number values are used in this example const value = data.value as string; if (value.endsWith('-btn')) { const subtreeIndex = Number(value[0]) - 1; addFlatTreeItem(subtreeIndex); } }; const addFlatTreeItem = (subtreeIndex: number) => setTrees(currentTrees => { const lastItem = currentTrees[subtreeIndex][currentTrees[subtreeIndex].length - 1]; const newItemValue = `${subtreeIndex + 1}-${Number(lastItem.value.toString().slice(2)) + 1}`; setItemToFocusValue(newItemValue); const nextSubTree: ItemProps[] = [ ...currentTrees[subtreeIndex], { value: newItemValue, parentValue: currentTrees[subtreeIndex][0].value, content: `New item ${newItemValue}`, }, ]; return [...currentTrees.slice(0, subtreeIndex), nextSubTree, ...currentTrees.slice(subtreeIndex + 1)]; }); const removeFlatTreeItem = React.useCallback( (value: string) => setTrees(currentTrees => { const subtreeIndex = Number(value[0]) - 1; const currentSubTree = trees[subtreeIndex]; const itemIndex = currentSubTree.findIndex(item => item.value === value); const nextSubTree = trees[subtreeIndex].filter((_item, index) => index !== itemIndex); const nextItemValue = currentSubTree[itemIndex + 1]?.value; const prevItemValue = currentSubTree[itemIndex - 1]?.value; setItemToFocusValue(nextItemValue || prevItemValue); return [...currentTrees.slice(0, subtreeIndex), nextSubTree, ...currentTrees.slice(subtreeIndex + 1)]; }), [trees], ); const flatTree = useHeadlessFlatTree_unstable( React.useMemo( () => [ ...trees[0], { value: '1-btn', parentValue: '1', content: 'Add new item', }, ...trees[1], { value: '2-btn', parentValue: '2', content: 'Add new item', }, ], [trees], ), { defaultOpenItems: ['1', '2'], onOpenChange: handleOpenChange }, ); React.useEffect(() => { if (itemToFocusRef.current) { itemToFocusRef.current.focus(); setItemToFocusValue(undefined); } }, [itemToFocusValue]); return ( <FlatTree {...flatTree.getTreeProps()} aria-label="Manipulation"> {Array.from(flatTree.items(), item => { const { content, ...treeItemProps } = item.getTreeItemProps(); return ( <CustomTreeItem {...treeItemProps} key={item.value} onRemoveItem={removeFlatTreeItem} ref={item.value === itemToFocusValue ? itemToFocusRef : undefined} > {content} </CustomTreeItem> ); })} </FlatTree> ); }; Manipulation.parameters = { docs: { description: { story: ` With a flat tree structure, you can easily manipulate the tree and control its state. In the example below, you can add or remove tree items by working with the \`parentValue\` property, which ensures the correct parent-child relationships within the tree > When manipulating tree items, ensure that continuity of keyboard navigation is preserved and prevent unexpected focus loss. This example demonstrates a method for maintaining user focus throughout interactions. `, }, }, }; ```
/content/code_sandbox/packages/react-components/react-tree/stories/src/Tree/TreeManipulation.stories.tsx
xml
2016-06-06T15:03:44
2024-08-16T18:49:29
fluentui
microsoft/fluentui
18,221
1,469
```xml <?xml version="1.0" encoding="utf-8"?> <xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="path_to_url" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 xliff-core-1.2-transitional.xsd"> <file datatype="xml" source-language="en" target-language="ru" original="../LocalizableStrings.resx"> <body> <trans-unit id="CapabilityExpressionEvaluator_Exception_InvalidExpression"> <source>Invalid expression, position: {0}.</source> <target state="translated"> , : {0}.</target> <note /> </trans-unit> <trans-unit id="Diagnostics_OptionDescription"> <source>Enables diagnostic output.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="DisableProjectContextEval_OptionDescription"> <source>Disables evaluating project context using MSBuild.</source> <target state="translated"> MSBuild.</target> <note /> </trans-unit> <trans-unit id="DisableSdkTemplates_OptionDescription"> <source>If present, prevents templates bundled in the SDK from being presented.</source> <target state="translated"> , SDK, .</target> <note /> </trans-unit> <trans-unit id="MSBuildEvaluationResult_Error_NoProjectFound"> <source>No project was found at the path: {0}.</source> <target state="translated"> : {0}.</target> <note>{0} - the file path where project was expected to be found.</note> </trans-unit> <trans-unit id="MSBuildEvaluationResult_Error_NotRestored"> <source>{0} is not restored.</source> <target state="translated"> {0} .</target> <note>{0} - the full path to the project.</note> </trans-unit> <trans-unit id="MSBuildEvaluator_Error_NoTargetFramework"> <source>Project '{0}' is a SDK-style project, but does not specify the framework.</source> <target state="translated"> "{0}" SDK, .</target> <note>{0} - the full path to the project.</note> </trans-unit> <trans-unit id="MultipleProjectsEvaluationResult_Error"> <source>Multiple projects found: {0}.</source> <target state="translated"> : {0}</target> <note>{0} - semi-colon separated list of path to projects found.</note> </trans-unit> <trans-unit id=your_sha256_hashed"> <source>Add project reference to solution action is not configured correctly in the template. The 'solutionFolder' and 'inRoot' cannot be used together; use only one of the options.</source> <target state="translated"> . "solutionFolder" "inRoot", .</target> <note>do not translate: 'solutionFolder', 'inRoot'</note> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Error_NoProjectsToAdd"> <source>Add project reference to solution action is not configured correctly in the template. Unable to determine the project files to add.</source> <target state="translated"> . . .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Error_NoSolutionFile"> <source>Unable to determine which solution file to add the reference to.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Failed"> <source>Failed to add project(s) to the solution: {0}</source> <target state="translated"> () : {0}.</target> <note>{0} - the reason why operation failed, normally ends with period</note> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Failed_NoReason"> <source>Failed to add project(s) to a solution file.</source> <target state="translated"> () .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddProjToSln_InRoot_Running"> <source>Adding project(s): {0} in the root of solution file: {1}</source> <target state="translated"> : {0} : {1}</target> <note>{0} - list of file paths to projects to add, {1} - the path to target solution file</note> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Running"> <source>Adding project(s): {0} to solution file: {1} solution folder: {2}</source> <target state="translated"> : {0} : {1} : {2}</target> <note>{0} - list of file paths to projects to add, {1} - the path to target solution file, {2} - the solution folder inside solution to add the projects to.</note> </trans-unit> <trans-unit id="PostAction_AddProjToSln_Succeeded"> <source>Successfully added project(s) to a solution file.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_AddPackageReference"> <source>Adding a package reference {0} to project file {1}:</source> <target state="translated"> {0} {1}:</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_AddPackageReference_Failed"> <source>Failed to add package reference: {0}</source> <target state="translated"> : {0}</target> <note>{0} - the reason why operation failed, normally ends with period</note> </trans-unit> <trans-unit id="PostAction_AddReference_AddPackageReference_WithVersion"> <source>Adding a package reference {0} (version: {1}) to project file {2}:</source> <target state="translated"> {0} (: {1}) {2}:</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_AddProjectReference"> <source>Adding a project reference {0} to project file {1}:</source> <target state="translated"> {0} {1}:</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_AddProjectReference_Failed"> <source>Failed to add project reference: {0}</source> <target state="translated"> : {0}</target> <note>{0} - the reason why operation failed, normally ends with period</note> </trans-unit> <trans-unit id="PostAction_AddReference_Error_ActionMisconfigured"> <source>Add reference action is not configured correctly in the template.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Error_FrameworkNotSupported"> <source>Unable to automatically add the framework reference {0} to the project. Manually edit the project file to add it.</source> <target state="translated"> {0} . , .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Error_ProjFileListHeader"> <source>Project files found:</source> <target state="translated"> :</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Error_UnresolvedProjFile"> <source>Unable to determine which project file to add the reference to.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Error_UnsupportedRefType"> <source>Adding reference type {0} is not supported.</source> <target state="translated"> {0} .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Failed"> <source>Failed to add a reference to the project file.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_AddReference_Succeeded"> <source>Successfully added a reference to the project file.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_Restore_Error_FailedToDetermineProjectToRestore"> <source>Couldn't determine files to restore.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_Restore_Error_NoProjectsToRestore"> <source>No projects are configured to restore. Check primary outputs configuration in template.json.</source> <target state="translated"> , . template.json.</target> <note /> </trans-unit> <trans-unit id="PostAction_Restore_Failed"> <source>Restore failed.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="PostAction_Restore_RestoreFailed"> <source>Failed to perform restore: {0}</source> <target state="translated"> : {0}</target> <note>{0} - the reason why operation failed, normally ends with period</note> </trans-unit> <trans-unit id="PostAction_Restore_Running"> <source>Restoring {0}:</source> <target state="translated"> {0}:</target> <note>{0} - path to a project to restore</note> </trans-unit> <trans-unit id="PostAction_Restore_Succeeded"> <source>Restore succeeded.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="ProjectCapabilityConstraintFactory_Exception_EvaluationFailed"> <source>Failed to create constraint '{0}': failed to evaluate the project: {1}</source> <target state="translated"> "{0}": : {1}</target> <note>{0} - type of constraint (non-localizable), {1} - localized reason why evaluation failed, ends with period.</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraintFactory_Exception_NoEvaluator"> <source>Failed to create constraint '{0}': {1} component is not available.</source> <target state="translated"> "{0}": {1} .</target> <note>{0} - type of constraint (non-localizable), {1} - name of required component (non-localizable).</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_DisplayName"> <source>Project capabiltities</source> <target state="translated"> </target> <note /> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Error_ArgumentShouldBeString"> <source>argument should be a string</source> <target state="translated"> </target> <note>part of a sentence</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Error_ArgumentShouldNotBeEmpty"> <source>arguments should not contain empty values</source> <target state="translated"> </target> <note>part of a sentence</note> </trans-unit> <trans-unit id=your_sha256_hash> <source>Invalid constraint configuration</source> <target state="translated"> </target> <note>part of a sentence</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Error_InvalidJson"> <source>invalid JSON</source> <target state="translated"> JSON</target> <note>part of a sentence</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Restricted_EvaluationFailed_Message"> <source>Failed to evaluate project context: {0}</source> <target state="translated"> : {0}</target> <note>{0} - failure reason</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Restricted_Message"> <source>The template needs project capability '{0}', and current project ({1}) does not satisfy it.</source> <target state="translated"> "{0}", ({1}) .</target> <note>{0} - project capability expression (non-localizable), {1} - path to the project.</note> </trans-unit> <trans-unit id=your_sha256_hash> <source>Specify the project to use using {0} option.</source> <target state="translated"> {0}.</target> <note>{0} - option to use - non localizable</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Restricted_NoProjectFound_CTA"> <source>This template can only be created inside the project.</source> <target state="translated"> .</target> <note /> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Restricted_NonSDKStyle_Message"> <source>The project {0} is not an SDK style project, and is not supported for evaluation. It is only possible to use this template with SDK-style projects.</source> <target state="translated"> {0} SDK . SDK.</target> <note>{0} - path to the project</note> </trans-unit> <trans-unit id="ProjectCapabilityConstraint_Restricted_NotRestored_CTA"> <source>Run 'dotnet restore {0}' to restore the project.</source> <target state="translated"> "dotnet restore {0}", .</target> <note>{Locked="dotnet restore {0}"}</note> </trans-unit> <trans-unit id="ProjectContextSymbolSource_DisplayName"> <source>Project context</source> <target state="translated"> </target> <note /> </trans-unit> <trans-unit id="SdkInfoProvider_Message_InstallSdk"> <source>Go to aka.ms/get-dotnet and install any of the supported SDK versions: '{0}'.</source> <target state="translated"> aka.ms/get-dotnet SDK: "{0}".</target> <note>{0} is the list of supported versions.</note> </trans-unit> <trans-unit id="SdkInfoProvider_Message_SwitchSdk"> <source>You have other SDK version(s) installed that can be used to run this template. Switch to any of the following SDK(s) on your system to run this template: '{0}'. Details on selecting SDK version to run: path_to_url <target state="translated"> SDK, . SDK , : "{0}". SDK : path_to_url <note>{0} is the list of installed and supported versions.</note> </trans-unit> <trans-unit id="Verbosity_OptionDescription"> <source>Sets the verbosity level. Allowed values are q[uiet], m[inimal], n[ormal], and diag[nostic].</source> <target state="translated"> . : q ( ), m (), n () diag ().</target> <note /> </trans-unit> <trans-unit id="WorkloadInfoProvider_Message_AddWorkloads"> <source>Run 'dotnet workload search' to search workloads available to be installed on your SDK.</source> <target state="translated"> "dotnet workload search", , SDK.</target> <note>{Locked="dotnet workload search"}</note> </trans-unit> </body> </file> </xliff> ```
/content/code_sandbox/src/Cli/dotnet/commands/dotnet-new/xlf/LocalizableStrings.ru.xlf
xml
2016-07-22T21:26:02
2024-08-16T17:23:58
sdk
dotnet/sdk
2,627
3,566
```xml import { splitExtension } from '@proton/shared/lib/helpers/file'; import isTruthy from '@proton/utils/isTruthy'; import type { EncryptedLink } from './interface'; export const WINDOWS_FORBIDDEN_CHARACTERS = /[<>:"|?*]/; // eslint-disable-next-line no-control-regex export const GLOBAL_FORBIDDEN_CHARACTERS = /\/|\\|[\u0000-\u001F]|[\u2000-\u200F]|[\u202E-\u202F]/; export const WINDOWS_RESERVED_NAMES = [ 'CON', 'PRN', 'AUX', 'NUL', 'COM1', 'COM2', 'COM3', 'COM4', 'COM5', 'COM6', 'COM7', 'COM8', 'COM9', 'LPT1', 'LPT2', 'LPT3', 'LPT4', 'LPT5', 'LPT6', 'LPT7', 'LPT8', 'LPT9', ]; export const formatLinkName = (str: string) => str.trim(); export const splitLinkName = (linkName: string) => { if (linkName.endsWith('.')) { return [linkName, '']; } return splitExtension(linkName); }; export const adjustWindowsLinkName = (fileName: string) => { let adjustedFileName = fileName.replaceAll(RegExp(WINDOWS_FORBIDDEN_CHARACTERS, 'g'), '_'); if (WINDOWS_RESERVED_NAMES.includes(fileName.toUpperCase())) { adjustedFileName = `_${fileName}`; } if (adjustedFileName.endsWith('.')) { adjustedFileName = `${adjustedFileName.slice(0, -1)}_`; } return adjustedFileName; }; export const adjustName = (index: number, namePart: string, extension?: string) => { if (index === 0) { return extension ? `${namePart}.${extension}` : namePart; } if (!namePart) { return [`.${extension}`, `(${index})`].join(' '); } const newNamePart = [namePart, `(${index})`].filter(isTruthy).join(' '); return [newNamePart, extension].filter(isTruthy).join('.'); }; /** * isEncryptedLinkSame returns whether the encrypted content and keys are * the same, so we might clear signature issues and try decryption again, * for example. */ export function isEncryptedLinkSame(original: EncryptedLink, newLink: EncryptedLink): boolean { return ( original.nodeKey === newLink.nodeKey && original.nodePassphrase === newLink.nodePassphrase && original.nodePassphraseSignature === newLink.nodePassphraseSignature && original.nodeHashKey === newLink.nodeHashKey && original.contentKeyPacket === newLink.contentKeyPacket && original.contentKeyPacketSignature === newLink.contentKeyPacketSignature && original.signatureAddress === newLink.signatureAddress && isDecryptedLinkSame(original, newLink) ); } /** * isDecryptedLinkSame returns whether the encrypted content (not keys) is * the same and thus we can say decrypted content is also the same, so we * might skip decryption if we already have decrypted content, for example. */ export function isDecryptedLinkSame(original: EncryptedLink, newLink: EncryptedLink): boolean { return ( original.parentLinkId === newLink.parentLinkId && original.name === newLink.name && original.xAttr === newLink.xAttr ); } ```
/content/code_sandbox/packages/drive-store/store/_links/link.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
757
```xml <?xml version="1.0" encoding="utf-8"?> <androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="path_to_url" xmlns:app="path_to_url" xmlns:tools="path_to_url" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" tools:context=".ui.activity.PaletteActivity"> <com.google.android.material.appbar.AppBarLayout android:id="@+id/app_bar" android:layout_width="match_parent" android:layout_height="250dp" android:fitsSystemWindows="true" android:theme="@style/MyTheme.AppBarOverlay"> <com.google.android.material.appbar.CollapsingToolbarLayout android:id="@+id/toolbar_layout" android:layout_width="match_parent" android:layout_height="match_parent" android:fitsSystemWindows="true" app:contentScrim="?attr/colorPrimary" app:layout_scrollFlags="scroll|exitUntilCollapsed" app:toolbarId="@+id/toolbar"> <ImageView android:id="@+id/image" android:layout_width="match_parent" android:layout_height="match_parent" android:scaleType="fitXY" android:src="@drawable/cat" /> <androidx.appcompat.widget.Toolbar android:id="@+id/toolbar" android:layout_width="match_parent" android:layout_height="?attr/actionBarSize" app:layout_collapseMode="pin" app:popupTheme="@style/MyTheme.PopupOverlay" /> </com.google.android.material.appbar.CollapsingToolbarLayout> </com.google.android.material.appbar.AppBarLayout> <include layout="@layout/content_palette" /> <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/fab" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="@dimen/fab_margin" app:layout_anchor="@id/app_bar" app:layout_anchorGravity="bottom|end" app:srcCompat="@drawable/ic_refresh_black_24dp" /> </androidx.coordinatorlayout.widget.CoordinatorLayout> ```
/content/code_sandbox/app/src/main/res/layout/activity_palette.xml
xml
2016-08-08T08:52:10
2024-08-12T19:24:13
AndroidAnimationExercise
REBOOTERS/AndroidAnimationExercise
1,868
483
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ // TypeScript Version: 4.1 /** * Returns an error code identifier prefix associated with a specified package name. * * @param pkg - package name * @returns identifier prefix * * @example * var v = pkg2id( '@stdlib/math/base/special/sin' ); * // returns '0H5' */ declare function pkg2id( pkg: string ): string | null; // EXPORTS // export = pkg2id; ```
/content/code_sandbox/lib/node_modules/@stdlib/error/tools/pkg2id/docs/types/index.d.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
145
```xml /* * decaffeinate suggestions: * DS201: Simplify complex destructure assignments * DS205: Consider reworking code to avoid use of IIFEs * DS207: Consider shorter variations of null checks * Full docs: path_to_url */ import _ from 'underscore'; // Public: To make specs easier to test, we make all asynchronous behavior // actually synchronous. We do this by overriding all global timeout and // Promise functions. // // You must now manually call `advanceClock()` in order to move the "clock" // forward. class TimeOverride { static initClass() { this.advanceClock = (delta = 1) => { this.now += delta; const callbacks = []; if (this.timeouts == null) { this.timeouts = []; } this.timeouts = this.timeouts.filter((...args) => { let id, strikeTime; let callback; [id, strikeTime, callback] = Array.from(args[0]); if (strikeTime <= this.now) { callbacks.push(callback); return false; } else { return true; } }); for (let callback of callbacks) { callback(); } }; this.resetTime = () => { this.now = 0; this.timeoutCount = 0; this.intervalCount = 0; this.timeouts = []; this.intervalTimeouts = {}; this.originalPromiseScheduler = null; }; this.enableSpies = () => { window.advanceClock = this.advanceClock; window.originalSetTimeout = window.setTimeout; window.originalSetInterval = window.setInterval; spyOn(window, 'setTimeout').andCallFake(this._fakeSetTimeout); spyOn(window, 'clearTimeout').andCallFake(this._fakeClearTimeout); spyOn(window, 'setInterval').andCallFake(this._fakeSetInterval); spyOn(window, 'clearInterval').andCallFake(this._fakeClearInterval); spyOn(_._, 'now').andCallFake(() => this.now); }; // spyOn(Date, "now").andCallFake => @now // spyOn(Date.prototype, "getTime").andCallFake => @now this.disableSpies = () => { window.advanceClock = null; jasmine.unspy(window, 'setTimeout'); jasmine.unspy(window, 'clearTimeout'); jasmine.unspy(window, 'setInterval'); jasmine.unspy(window, 'clearInterval'); jasmine.unspy(_._, 'now'); }; this._fakeSetTimeout = (callback, ms) => { const id = ++this.timeoutCount; this.timeouts.push([id, this.now + ms, callback]); return id; }; this._fakeClearTimeout = idToClear => { if (this.timeouts == null) { this.timeouts = []; } this.timeouts = this.timeouts.filter(function(...args) { const [id] = args[0]; return id !== idToClear; }); }; this._fakeSetInterval = (callback, ms) => { const id = ++this.intervalCount; var action = () => { callback(); this.intervalTimeouts[id] = this._fakeSetTimeout(action, ms); }; this.intervalTimeouts[id] = this._fakeSetTimeout(action, ms); return id; }; this._fakeClearInterval = idToClear => { this._fakeClearTimeout(this.intervalTimeouts[idToClear]); }; } static resetSpyData() { if (typeof window.setTimeout.reset === 'function') { window.setTimeout.reset(); } if (typeof window.clearTimeout.reset === 'function') { window.clearTimeout.reset(); } if (typeof window.setInterval.reset === 'function') { window.setInterval.reset(); } if (typeof window.clearInterval.reset === 'function') { window.clearInterval.reset(); } if (typeof Date.now.reset === 'function') { Date.now.reset(); } if (typeof Date.prototype.getTime.reset === 'function') { Date.prototype.getTime.reset(); } } } TimeOverride.initClass(); export default TimeOverride; ```
/content/code_sandbox/app/spec/spec-runner/time-override.ts
xml
2016-10-13T06:45:50
2024-08-16T18:14:37
Mailspring
Foundry376/Mailspring
15,331
889
```xml import { SymmetricCryptoKey } from "../models/domain/symmetric-crypto-key"; import { InitializerMetadata } from "./initializer-metadata.interface"; /** * An object that contains EncStrings and knows how to decrypt them. This is usually a domain object with the * corresponding view object as the type argument. * @example Cipher implements Decryptable<CipherView> */ export interface Decryptable<TDecrypted extends InitializerMetadata> extends InitializerMetadata { decrypt: (key: SymmetricCryptoKey) => Promise<TDecrypted>; } ```
/content/code_sandbox/libs/common/src/platform/interfaces/decryptable.interface.ts
xml
2016-03-09T23:14:01
2024-08-16T15:07:51
clients
bitwarden/clients
8,877
110
```xml <Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <GeneratePackageOnBuild>true</GeneratePackageOnBuild> <Authors>Pulumi Corp.</Authors> <Company>Pulumi Corp.</Company> <Description></Description> <PackageProjectUrl></PackageProjectUrl> <RepositoryUrl></RepositoryUrl> <PackageIcon>logo.png</PackageIcon> <TargetFramework>net6.0</TargetFramework> <Nullable>enable</Nullable> </PropertyGroup> <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'"> <GenerateDocumentationFile>true</GenerateDocumentationFile> <NoWarn>1701;1702;1591</NoWarn> </PropertyGroup> <PropertyGroup> <AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder> <EmbedUntrackedSources>true</EmbedUntrackedSources> <PublishRepositoryUrl>true</PublishRepositoryUrl> </PropertyGroup> <PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'"> <ContinuousIntegrationBuild>true</ContinuousIntegrationBuild> </PropertyGroup> <ItemGroup> <PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0" PrivateAssets="All" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="version.txt" /> <None Include="version.txt" Pack="True" PackagePath="content" /> </ItemGroup> <ItemGroup> <EmbeddedResource Include="pulumi-plugin.json" /> <None Include="pulumi-plugin.json" Pack="True" PackagePath="content" /> </ItemGroup> <ItemGroup> <PackageReference Include="Pulumi" Version="3.12" /> </ItemGroup> <ItemGroup> </ItemGroup> <ItemGroup> <None Include="logo.png"> <Pack>True</Pack> <PackagePath></PackagePath> </None> </ItemGroup> </Project> ```
/content/code_sandbox/tests/testdata/codegen/provider-config-schema/dotnet/Configstation.Pulumi.Configstation.csproj
xml
2016-10-31T21:02:47
2024-08-16T19:47:04
pulumi
pulumi/pulumi
20,743
451
```xml import React, { useEffect } from 'react' import { Button, Typography, Form, Input, } from 'antd' import { useRouter } from 'next/router' import Link from 'next/link' import UnauthenticatedPage from '../components/layouts/UnauthenticatedPage' import { useVerifyAccountMutation } from '../components/Me/meHooks' const { Title } = Typography export default function VerifyPage() { const [form] = Form.useForm() const router = useRouter() const verifyAccountMutation = useVerifyAccountMutation() const queryParamEmail = (router.query.email as string) || '' const queryParamCode = (router.query.code as string) || '' useEffect(() => { if (queryParamEmail && queryParamCode) { verifyAccountMutation.mutate({ email: queryParamEmail, code: queryParamCode }) } form.setFieldsValue({ email: queryParamEmail, code: queryParamCode, }) }, [queryParamEmail, queryParamCode]) return ( <UnauthenticatedPage pageTitle='Verify Account'> <Title level={3}>Verify your account</Title> {queryParamCode ? null : <p>Check your inbox for a verification email that includes a verification code, and enter it here. Alternatively, simply click the link in the email.</p>} <Form layout='vertical' name='verifyAccountForm' form={form} onFinish={verifyAccountMutation.mutate} > <Form.Item label='Email' name='email' required={false} rules={[ { required: true, message: 'Email is required.', type: 'email', }, ]} > <Input type='email' /> </Form.Item> <Form.Item label='Verification Code' name='code' required={false} rules={[ { required: true, message: 'Code is required.', max: 6, }, ]} > <Input /> </Form.Item> <Form.Item style={{ margin: '0' }}> <div style={{ display: 'flex', justifyContent: 'flex-end' }}> <Button style={{ marginRight: '1rem' }}> <Link href='/'>Back to login</Link> </Button> <Button type='primary' disabled={verifyAccountMutation.isLoading} loading={verifyAccountMutation.isLoading} htmlType='submit' className='verify-account-form-button' > Verify Account </Button> </div> </Form.Item> </Form> </UnauthenticatedPage> ) } ```
/content/code_sandbox/examples/lambda-function-url/packages/ui/pages/verify.tsx
xml
2016-09-13T23:29:07
2024-08-15T09:52:47
serverless-express
CodeGenieApp/serverless-express
5,117
568
```xml import { trpc } from '../trpc'; export default function useCompanyOptions(query: string) { const companies = trpc.useQuery([ 'companies.list', { name: query, }, ]); const { data, ...restQuery } = companies; return { data: data?.map(({ id, name }) => ({ id, label: name, value: id, })) ?? [], ...restQuery, }; } ```
/content/code_sandbox/apps/portal/src/utils/shared/useCompanyOptions.ts
xml
2016-07-05T05:00:48
2024-08-16T19:01:19
tech-interview-handbook
yangshun/tech-interview-handbook
115,302
101
```xml <?xml version="1.0" encoding="utf-8"?> <Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="path_to_url"> <ItemGroup Label="ProjectConfigurations"> <ProjectConfiguration Include="Debug|Win32"> <Configuration>Debug</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> <ProjectConfiguration Include="Release|Win32"> <Configuration>Release</Configuration> <Platform>Win32</Platform> </ProjectConfiguration> </ItemGroup> <PropertyGroup Label="Globals"> <ProjectGuid>{21D888B2-15AC-898B-EA33-9C73445681C1}</ProjectGuid> <Keyword>Win32Proj</Keyword> <RootNamespace>openssl-cli</RootNamespace> <IgnoreWarnCompileDuplicatedFilename>true</IgnoreWarnCompileDuplicatedFilename> <PreferredToolArchitecture>x64</PreferredToolArchitecture> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/> <PropertyGroup Label="Configuration"> <ConfigurationType>Application</ConfigurationType> </PropertyGroup> <PropertyGroup Label="Locals"> <PlatformToolset>v140</PlatformToolset> </PropertyGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.props"/> <ImportGroup Label="ExtensionSettings"/> <ImportGroup Label="PropertySheets"> <Import Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props"/> </ImportGroup> <PropertyGroup Label="UserMacros"/> <PropertyGroup> <ExecutablePath>$(ExecutablePath);$(MSBuildProjectDirectory)\.\bin\;$(MSBuildProjectDirectory)\.\bin\</ExecutablePath> <IntDir>$(Configuration)\obj\$(ProjectName)\</IntDir> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">false</LinkIncremental> <LinkIncremental Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</LinkIncremental> <OutDir>$(SolutionDir)$(Configuration)\</OutDir> <TargetName>$(ProjectName)</TargetName> <TargetPath>$(OutDir)\$(ProjectName)$(TargetExt)</TargetPath> </PropertyGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'"> <ClCompile> <AdditionalIncludeDirectories>.;openssl;openssl\crypto;openssl\crypto\asn1;openssl\crypto\evp;openssl\crypto\md2;openssl\crypto\modes;openssl\crypto\store;openssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks> <BufferSecurityCheck>true</BufferSecurityCheck> <CompileAsWinRT>false</CompileAsWinRT> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DisableSpecificWarnings>4351;4355;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings> <ExceptionHandling>false</ExceptionHandling> <MinimalRebuild>false</MinimalRebuild> <OmitFramePointers>false</OmitFramePointers> <Optimization>Disabled</Optimization> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PreprocessorDefinitions>_REENTRANT;PURIFY;OPENSSL_NO_COMP;OPENSSL_NO_SSL3;OPENSSL_NO_HEARTBEATS;MK1MF_BUILD;WIN32_LEAN_AND_MEAN;OPENSSL_SYSNAME_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;MONOLITH;DEBUG;_DEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary> <StringPooling>true</StringPooling> <SuppressStartupBanner>true</SuppressStartupBanner> <TreatWarningAsError>false</TreatWarningAsError> <WarningLevel>Level3</WarningLevel> </ClCompile> <Link> <AdditionalDependencies>ws2_32.lib;advapi32.lib;crypt32.lib;gdi32.lib;user32.lib</AdditionalDependencies> <AdditionalOptions>/SubSystem:Console,&quot;5.01&quot; %(AdditionalOptions)</AdditionalOptions> <AllowIsolation>true</AllowIsolation> <DataExecutionPrevention>true</DataExecutionPrevention> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <MapExports>true</MapExports> <OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile> <RandomizedBaseAddress>true</RandomizedBaseAddress> <SuppressStartupBanner>true</SuppressStartupBanner> <TargetMachine>MachineX86</TargetMachine> </Link> <ResourceCompile> <AdditionalIncludeDirectories>.;openssl;openssl\crypto;openssl\crypto\asn1;openssl\crypto\evp;openssl\crypto\md2;openssl\crypto\modes;openssl\crypto\store;openssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>_REENTRANT;PURIFY;OPENSSL_NO_COMP;OPENSSL_NO_SSL3;OPENSSL_NO_HEARTBEATS;MK1MF_BUILD;WIN32_LEAN_AND_MEAN;OPENSSL_SYSNAME_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;MONOLITH;DEBUG;_DEBUG;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> </ItemDefinitionGroup> <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'"> <ClCompile> <AdditionalIncludeDirectories>.;openssl;openssl\crypto;openssl\crypto\asn1;openssl\crypto\evp;openssl\crypto\md2;openssl\crypto\modes;openssl\crypto\store;openssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <AdditionalOptions>/MP %(AdditionalOptions)</AdditionalOptions> <BufferSecurityCheck>true</BufferSecurityCheck> <CompileAsWinRT>false</CompileAsWinRT> <DebugInformationFormat>ProgramDatabase</DebugInformationFormat> <DisableSpecificWarnings>4351;4355;4800;%(DisableSpecificWarnings)</DisableSpecificWarnings> <ExceptionHandling>false</ExceptionHandling> <FavorSizeOrSpeed>Speed</FavorSizeOrSpeed> <FunctionLevelLinking>true</FunctionLevelLinking> <InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion> <IntrinsicFunctions>true</IntrinsicFunctions> <OmitFramePointers>true</OmitFramePointers> <Optimization>Full</Optimization> <PrecompiledHeader>NotUsing</PrecompiledHeader> <PreprocessorDefinitions>_REENTRANT;PURIFY;OPENSSL_NO_COMP;OPENSSL_NO_SSL3;OPENSSL_NO_HEARTBEATS;MK1MF_BUILD;WIN32_LEAN_AND_MEAN;OPENSSL_SYSNAME_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;MONOLITH;%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreaded</RuntimeLibrary> <RuntimeTypeInfo>false</RuntimeTypeInfo> <StringPooling>true</StringPooling> <SuppressStartupBanner>true</SuppressStartupBanner> <TreatWarningAsError>false</TreatWarningAsError> <WarningLevel>Level3</WarningLevel> <WholeProgramOptimization>true</WholeProgramOptimization> </ClCompile> <Lib> <AdditionalOptions>/LTCG %(AdditionalOptions)</AdditionalOptions> </Lib> <Link> <AdditionalDependencies>ws2_32.lib;advapi32.lib;crypt32.lib;gdi32.lib;user32.lib</AdditionalDependencies> <AdditionalOptions>/SubSystem:Console,&quot;5.01&quot; %(AdditionalOptions)</AdditionalOptions> <AllowIsolation>true</AllowIsolation> <DataExecutionPrevention>true</DataExecutionPrevention> <EnableCOMDATFolding>true</EnableCOMDATFolding> <GenerateDebugInformation>true</GenerateDebugInformation> <GenerateMapFile>true</GenerateMapFile> <LinkTimeCodeGeneration>UseLinkTimeCodeGeneration</LinkTimeCodeGeneration> <MapExports>true</MapExports> <OptimizeReferences>true</OptimizeReferences> <OutputFile>$(OutDir)$(ProjectName)$(TargetExt)</OutputFile> <RandomizedBaseAddress>true</RandomizedBaseAddress> <SuppressStartupBanner>true</SuppressStartupBanner> <TargetMachine>MachineX86</TargetMachine> </Link> <ResourceCompile> <AdditionalIncludeDirectories>.;openssl;openssl\crypto;openssl\crypto\asn1;openssl\crypto\evp;openssl\crypto\md2;openssl\crypto\modes;openssl\crypto\store;openssl\include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories> <PreprocessorDefinitions>_REENTRANT;PURIFY;OPENSSL_NO_COMP;OPENSSL_NO_SSL3;OPENSSL_NO_HEARTBEATS;MK1MF_BUILD;WIN32_LEAN_AND_MEAN;OPENSSL_SYSNAME_WIN32;WIN32;_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;_HAS_EXCEPTIONS=0;BUILDING_V8_SHARED=1;BUILDING_UV_SHARED=1;MONOLITH;%(PreprocessorDefinitions);%(PreprocessorDefinitions)</PreprocessorDefinitions> </ResourceCompile> </ItemDefinitionGroup> <ItemGroup> <None Include="openssl.gyp"/> </ItemGroup> <ItemGroup> <ClCompile Include="openssl\apps\app_rand.c"/> <ClCompile Include="openssl\apps\apps.c"/> <ClCompile Include="openssl\apps\asn1pars.c"/> <ClCompile Include="openssl\apps\ca.c"/> <ClCompile Include="openssl\apps\ciphers.c"/> <ClCompile Include="openssl\apps\cms.c"/> <ClCompile Include="openssl\apps\crl.c"/> <ClCompile Include="openssl\apps\crl2p7.c"/> <ClCompile Include="openssl\apps\dgst.c"/> <ClCompile Include="openssl\apps\dh.c"/> <ClCompile Include="openssl\apps\dhparam.c"/> <ClCompile Include="openssl\apps\dsa.c"/> <ClCompile Include="openssl\apps\dsaparam.c"/> <ClCompile Include="openssl\apps\ec.c"/> <ClCompile Include="openssl\apps\ecparam.c"/> <ClCompile Include="openssl\apps\enc.c"/> <ClCompile Include="openssl\apps\engine.c"/> <ClCompile Include="openssl\apps\errstr.c"/> <ClCompile Include="openssl\apps\gendh.c"/> <ClCompile Include="openssl\apps\gendsa.c"/> <ClCompile Include="openssl\apps\genpkey.c"/> <ClCompile Include="openssl\apps\genrsa.c"/> <ClCompile Include="openssl\apps\nseq.c"/> <ClCompile Include="openssl\apps\ocsp.c"/> <ClCompile Include="openssl\apps\openssl.c"/> <ClCompile Include="openssl\apps\passwd.c"/> <ClCompile Include="openssl\apps\pkcs12.c"/> <ClCompile Include="openssl\apps\pkcs7.c"/> <ClCompile Include="openssl\apps\pkcs8.c"/> <ClCompile Include="openssl\apps\pkey.c"/> <ClCompile Include="openssl\apps\pkeyparam.c"/> <ClCompile Include="openssl\apps\pkeyutl.c"/> <ClCompile Include="openssl\apps\prime.c"/> <ClCompile Include="openssl\apps\rand.c"/> <ClCompile Include="openssl\apps\req.c"/> <ClCompile Include="openssl\apps\rsa.c"/> <ClCompile Include="openssl\apps\rsautl.c"/> <ClCompile Include="openssl\apps\s_cb.c"/> <ClCompile Include="openssl\apps\s_client.c"/> <ClCompile Include="openssl\apps\s_server.c"/> <ClCompile Include="openssl\apps\s_socket.c"/> <ClCompile Include="openssl\apps\s_time.c"/> <ClCompile Include="openssl\apps\sess_id.c"/> <ClCompile Include="openssl\apps\smime.c"/> <ClCompile Include="openssl\apps\speed.c"/> <ClCompile Include="openssl\apps\spkac.c"/> <ClCompile Include="openssl\apps\srp.c"/> <ClCompile Include="openssl\apps\ts.c"/> <ClCompile Include="openssl\apps\verify.c"/> <ClCompile Include="openssl\apps\version.c"/> <ClCompile Include="openssl\apps\x509.c"/> </ItemGroup> <ItemGroup> <ProjectReference Include="openssl.vcxproj"> <Project>{5C6460DB-F7B1-5315-A0DE-79A9DFC525A1}</Project> <ReferenceOutputAssembly>false</ReferenceOutputAssembly> </ProjectReference> </ItemGroup> <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/> <Import Project="$(VCTargetsPath)\BuildCustomizations\masm.targets"/> <ImportGroup Label="ExtensionTargets"/> </Project> ```
/content/code_sandbox/node/openssl/openssl-cli.vcxproj
xml
2016-09-27T03:41:10
2024-08-16T10:42:57
miniblink49
weolar/miniblink49
7,069
3,048
```xml import { format as formatDate } from "date-fns"; import * as React from "react"; import { dateLocale, dateToRelative, locales } from "@shared/utils/date"; import Tooltip from "~/components/Tooltip"; import useUserLocale from "~/hooks/useUserLocale"; let callbacks: (() => void)[] = []; // This is a shared timer that fires every minute, used for // updating all Time components across the page all at once. setInterval(() => { callbacks.forEach((cb) => cb()); }, 1000 * 60); function eachMinute(fn: () => void) { callbacks.push(fn); return () => { callbacks = callbacks.filter((cb) => cb !== fn); }; } export type Props = { children?: React.ReactNode; dateTime: string; tooltipDelay?: number; addSuffix?: boolean; shorten?: boolean; relative?: boolean; format?: Partial<Record<keyof typeof locales, string>>; }; const LocaleTime: React.FC<Props> = ({ addSuffix, children, dateTime, shorten, format, relative, tooltipDelay, }: Props) => { const userLocale: string = useUserLocale() || ""; const dateFormatLong = { en_US: "MMMM do, yyyy h:mm a", fr_FR: "'Le 'd MMMM yyyy '' H:mm", }; const formatLocaleLong = dateFormatLong[userLocale] ?? "MMMM do, yyyy h:mm a"; const formatLocale = format?.[userLocale] ?? formatLocaleLong; const [_, setMinutesMounted] = React.useState(0); // eslint-disable-line @typescript-eslint/no-unused-vars const callback = React.useRef<() => void>(); React.useEffect(() => { callback.current = eachMinute(() => { setMinutesMounted((state) => ++state); }); return () => { if (callback.current) { callback.current?.(); } }; }, []); const date = new Date(Date.parse(dateTime)); const locale = dateLocale(userLocale); const relativeContent = dateToRelative(date, { addSuffix, locale, shorten, }); const tooltipContent = formatDate(date, formatLocaleLong, { locale, }); const content = relative !== false ? relativeContent : formatDate(date, formatLocale, { locale, }); return ( <Tooltip content={tooltipContent} delay={tooltipDelay} placement="bottom"> <time dateTime={dateTime}>{children || content}</time> </Tooltip> ); }; export default LocaleTime; ```
/content/code_sandbox/app/components/LocaleTime.tsx
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
551
```xml import Head from 'next/head'; import parse from 'html-react-parser'; export default function Home() { return ( <div> <Head> <title>Create Next App</title> </Head> <main> <h1 className="title"> {parse(` Welcome to <a href="path_to_url">Next.js</a> and HTMLReactParser! `)} </h1> </main> <style jsx>{` .title { font-family: 'Lucida Grande'; } `}</style> </div> ); } ```
/content/code_sandbox/examples/nextjs/pages/index.tsx
xml
2016-08-20T00:22:07
2024-08-14T14:25:28
html-react-parser
remarkablemark/html-react-parser
2,066
129
```xml export * from './memory-storage'; ```
/content/code_sandbox/packages/memory-storage/src/index.ts
xml
2016-08-26T18:35:03
2024-08-16T16:40:08
crawlee
apify/crawlee
14,153
8
```xml import { beforeEach, expect, it, vi } from 'vitest'; import ansiRegex from 'ansi-regex'; import type { LogResult } from 'simple-git'; import { run } from '../label-patches'; import * as githubInfo_ from '../utils/get-github-info'; import * as gitClient_ from '../utils/git-client'; import * as github_ from '../utils/github-client'; vi.mock('uuid'); vi.mock('../utils/get-github-info'); vi.mock('../utils/github-client'); vi.mock('../utils/git-client'); const gitClient = vi.mocked(gitClient_, true); const github = vi.mocked(github_, true); const githubInfo = vi.mocked(githubInfo_, true); const remoteMock = [ { name: 'origin', refs: { fetch: 'path_to_url push: 'path_to_url }, }, ]; const gitLogMock: LogResult = { all: [ { hash: 'some-hash', date: '2023-06-07T09:45:11+02:00', message: 'Something else', refs: 'HEAD -> main', body: '', author_name: 'Jeppe Reinhold', author_email: 'jeppe@chromatic.com', }, { hash: 'b75879c4d3d72f7830e9c5fca9f75a303ddb194d', date: '2023-06-07T09:45:11+02:00', message: 'Merge pull request #55 from storybookjs/fixes', refs: 'HEAD -> main', body: 'Legal: Fix license\n' + '(cherry picked from commit 930b47f011f750c44a1782267d698ccdd3c04da3)\n', author_name: 'Jeppe Reinhold', author_email: 'jeppe@chromatic.com', }, ], latest: null!, total: 1, }; const pullInfoMock = { user: 'JReinhold', id: 'pr_id', pull: 55, commit: '930b47f011f750c44a1782267d698ccdd3c04da3', title: 'Legal: Fix license', labels: ['documentation', 'patch:yes', 'patch:done'], state: 'MERGED', links: { commit: '[`930b47f011f750c44a1782267d698ccdd3c04da3`](path_to_url pull: '[#55](path_to_url user: '[@JReinhold](path_to_url }, }; beforeEach(() => { gitClient.getLatestTag.mockResolvedValue('v7.2.1'); gitClient.git.log.mockResolvedValue(gitLogMock); gitClient.git.getRemotes.mockResolvedValue(remoteMock); githubInfo.getPullInfoFromCommit.mockResolvedValue(pullInfoMock); github.getLabelIds.mockResolvedValue({ 'patch:done': 'pick-id' }); github.getUnpickedPRs.mockResolvedValue([ { number: 42, id: 'some-id', branch: 'some-patching-branch', title: 'Fix: Patch this PR', mergeCommit: 'abcd1234', }, { number: 44, id: 'other-id', branch: 'other-patching-branch', title: 'Fix: Also patch this PR', mergeCommit: 'abcd1234', }, ]); }); it('should fail early when no GH_TOKEN is set', async () => { delete process.env.GH_TOKEN; await expect(run({})).rejects.toThrowErrorMatchingInlineSnapshot( `[Error: GH_TOKEN environment variable must be set, exiting.]` ); }); it('should label the PR associated with cherry picks in the current branch', async () => { process.env.GH_TOKEN = 'MY_SECRET'; const writeStderr = vi.spyOn(process.stderr, 'write').mockImplementation((() => {}) as any); await run({}); expect(github.githubGraphQlClient.mock.calls).toMatchInlineSnapshot(` [ [ " mutation ($input: AddLabelsToLabelableInput!) { addLabelsToLabelable(input: $input) { clientMutationId } } ", { "input": { "clientMutationId": "7efda802-d7d1-5d76-97d6-cc16a9f3e357", "labelIds": [ "pick-id", ], "labelableId": "pr_id", }, }, ], ] `); const stderrCalls = writeStderr.mock.calls .map(([text]) => typeof text === 'string' ? text .replace(ansiRegex(), '') .replace(/[^\x20-\x7E]/g, '') .replaceAll('-', '') .trim() : text ) .filter((text) => text !== ''); expect(stderrCalls).toMatchInlineSnapshot(` [ "Looking for latest tag", "Found latest tag: v7.2.1", "Looking at cherry pick commits since v7.2.1", "Found the following picks : Commit: 930b47f011f750c44a1782267d698ccdd3c04da3 PR: [#55](path_to_url", "Labeling 1 PRs with the patch:done label...", "Successfully labeled all PRs with the patch:done label.", ] `); }); it('should label all PRs when the --all flag is passed', async () => { process.env.GH_TOKEN = 'MY_SECRET'; // clear the git log, it shouldn't depend on it in --all mode gitClient.git.log.mockResolvedValue({ all: [], latest: null!, total: 0, }); const writeStderr = vi.spyOn(process.stderr, 'write').mockImplementation((() => {}) as any); await run({ all: true }); expect(github.githubGraphQlClient.mock.calls).toMatchInlineSnapshot(` [ [ " mutation ($input: AddLabelsToLabelableInput!) { addLabelsToLabelable(input: $input) { clientMutationId } } ", { "input": { "clientMutationId": "39cffd21-7933-56e4-9d9c-1afeda9d5906", "labelIds": [ "pick-id", ], "labelableId": "some-id", }, }, ], [ " mutation ($input: AddLabelsToLabelableInput!) { addLabelsToLabelable(input: $input) { clientMutationId } } ", { "input": { "clientMutationId": "cc31033b-5da7-5c9e-adf2-80a2963e19a8", "labelIds": [ "pick-id", ], "labelableId": "other-id", }, }, ], ] `); const stderrCalls = writeStderr.mock.calls .map(([text]) => typeof text === 'string' ? text .replace(ansiRegex(), '') .replace(/[^\x20-\x7E]/g, '') .replaceAll('-', '') .trim() : text ) .filter((t) => t !== ''); expect(stderrCalls).toMatchInlineSnapshot(` [ "Labeling 2 PRs with the patch:done label...", "Successfully labeled all PRs with the patch:done label.", ] `); expect(github.getUnpickedPRs).toHaveBeenCalledTimes(1); }); ```
/content/code_sandbox/scripts/release/__tests__/label-patches.test.ts
xml
2016-03-18T04:23:44
2024-08-16T19:22:08
storybook
storybookjs/storybook
83,755
1,710
```xml /* * * See the LICENSE file at the top-level directory of this distribution * for licensing information. * * Unless otherwise agreed in a custom licensing agreement with the Lisk Foundation, * no part of this software, including this file, may be copied, modified, * propagated, or distributed except according to the terms contained in the * LICENSE file. * * Removal or modification of this copyright notice is prohibited. */ export { TokenModule } from './module'; export { TransferCommand, Params as TransferParams } from './commands/transfer'; export { TransferCrossChainCommand, Params as CCTransferParams, } from './commands/transfer_cross_chain'; export { CrossChainTransferCommand } from './cc_commands/cc_transfer'; export { TokenMethod } from './method'; export { TokenInteroperableMethod } from './cc_method'; export { TokenEndpoint } from './endpoint'; export { genesisTokenStoreSchema } from './schemas'; export { CROSS_CHAIN_COMMAND_NAME_TRANSFER, LOCAL_ID_LENGTH, TOKEN_ID_LENGTH, MAX_DATA_LENGTH, } from './constants'; ```
/content/code_sandbox/framework/src/modules/token/index.ts
xml
2016-02-01T21:45:35
2024-08-15T19:16:48
lisk-sdk
LiskArchive/lisk-sdk
2,721
221
```xml import { LOCALE_ID, Inject, Injectable } from '@angular/core'; import { CalendarEventTitleFormatter, CalendarEvent } from 'angular-calendar'; import { formatDate } from '@angular/common'; @Injectable() export class CustomEventTitleFormatter extends CalendarEventTitleFormatter { constructor(@Inject(LOCALE_ID) private locale: string) { super(); } // you can override any of the methods defined in the parent class month(event: CalendarEvent): string { return `<b>${formatDate(event.start, 'h:m a', this.locale)}</b> ${ event.title }`; } week(event: CalendarEvent): string { return `<b>${formatDate(event.start, 'h:m a', this.locale)}</b> ${ event.title }`; } day(event: CalendarEvent): string { return `<b>${formatDate(event.start, 'h:m a', this.locale)}</b> ${ event.title }`; } } ```
/content/code_sandbox/projects/demos/app/demo-modules/show-dates-on-titles/custom-event-title-formatter.provider.ts
xml
2016-04-26T15:19:33
2024-08-08T14:23:40
angular-calendar
mattlewis92/angular-calendar
2,717
207
```xml import React from 'react'; import { Nav } from 'rsuite'; import StaticCodeView from '../CodeView/StaticCodeView'; const unstyledComponents = [ 'Schema', 'DOMHelper', 'Whisper', 'SafeAnchor', 'Affix', 'internals', 'CustomProvider', 'locales', 'MaskedInput' ]; const defaultCommands = { main: '', individual: '' }; interface ImportGuideProps { name?: string; activeCommand?: keyof typeof defaultCommands; components?: string[]; hasCssComponents?: string[]; } function individualCode(components: string[], hasCssComponents: string[], name = 'rsuite') { let individual = components .map(component => `import ${component} from '${name}/${component}';`) .join('\r\n'); if (hasCssComponents.length > 0) { individual += '\r\n\r\n// (Optional) Import component styles. If you are using Less, import the `index.less` file. \r\n' + hasCssComponents .map(component => `import '${name}/${component}/styles/index.css';`) .join('\r\n'); } return individual; } function mainCode(components: string[], name = 'rsuite') { return `import { ${components.join(', ')} } from '${name}';`; } const ImportGuide = (props: ImportGuideProps) => { const { name = 'rsuite', activeCommand, components, hasCssComponents: hasCssComponentsProp } = props; const [active, setActive] = React.useState(activeCommand || 'main'); const hasCssComponents = hasCssComponentsProp || components.filter(component => !unstyledComponents.includes(component)); const main = mainCode(components, name); const individual = individualCode(components, hasCssComponents, name); const commands = { main, individual }; return ( <div style={{ marginTop: 16 }}> <Nav appearance="subtle" activeKey={active} onSelect={setActive}> <Nav.Item eventKey="main">Main</Nav.Item> <Nav.Item eventKey="individual">Individual</Nav.Item> </Nav> <StaticCodeView code={commands[active]} language="javascript" /> </div> ); }; export default ImportGuide; ```
/content/code_sandbox/docs/components/ImportGuide/ImportGuide.tsx
xml
2016-06-06T02:27:46
2024-08-16T16:41:54
rsuite
rsuite/rsuite
8,263
502
```xml import React from 'react'; import { Chart as ChartJS, ArcElement, Tooltip, Legend } from 'chart.js'; import { Pie } from 'react-chartjs-2'; ChartJS.register(ArcElement, Tooltip, Legend); export const data = { labels: ['Red', 'Blue', 'Yellow', 'Green', 'Purple', 'Orange'], datasets: [ { label: '# of Votes', data: [12, 19, 3, 5, 2, 3], backgroundColor: [ 'rgba(255, 99, 132, 0.2)', 'rgba(54, 162, 235, 0.2)', 'rgba(255, 206, 86, 0.2)', 'rgba(75, 192, 192, 0.2)', 'rgba(153, 102, 255, 0.2)', 'rgba(255, 159, 64, 0.2)', ], borderColor: [ 'rgba(255, 99, 132, 1)', 'rgba(54, 162, 235, 1)', 'rgba(255, 206, 86, 1)', 'rgba(75, 192, 192, 1)', 'rgba(153, 102, 255, 1)', 'rgba(255, 159, 64, 1)', ], borderWidth: 1, }, ], }; export function App() { return <Pie data={data} />; } ```
/content/code_sandbox/sandboxes/pie/default/App.tsx
xml
2016-05-06T22:01:08
2024-08-16T12:44:53
react-chartjs-2
reactchartjs/react-chartjs-2
6,538
339
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <dimen name="cover_margin_top">28dp</dimen> </resources> ```
/content/code_sandbox/app/src/main/res/values-xhdpi/dimens.xml
xml
2016-01-14T13:38:47
2024-08-16T13:03:46
APlayer
rRemix/APlayer
1,308
37
```xml <?xml version="1.0" encoding="utf-8"?> <project name="ext-locale" default=".help"> <!-- The build-impl.xml file imported here contains the guts of the build process. It is a great idea to read that file to understand how the process works, but it is best to limit your changes to this file. --> <import file="${basedir}/.sencha/package/build-impl.xml"/> <import file="${basedir}/.sencha/test/test-impl.xml"/> <!-- The following targets can be provided to inject logic before and/or after key steps of the build process: The "init-local" target is used to initialize properties that may be personalized for the local machine. <target name="-before-init-local"/> <target name="-after-init-local"/> The "clean" target is used to clean build output from the build.dir. <target name="-before-clean"/> <target name="-after-clean"/> The general "init" target is used to initialize all other properties, including those provided by Sencha Cmd. <target name="-before-init"/> <target name="-after-init"/> The "build" target performs the call to Sencha Cmd to build the application. <target name="-before-build"/> <target name="-after-build"/> --> <target name="build" depends="init,build-all"/> <target name="build-all" depends="init"> <for param="build.locale.dir"> <dirset dir="${package.dir}/overrides" includes="*"/> <sequential> <local name="build.locale"/> <basename file="@{build.locale.dir}" property="build.locale"/> <echo>Building locale ${build.locale}</echo> <concat destfile="${build.dir}/${package.name}-${build.locale}-debug.js"> <fileset dir="@{build.locale.dir}" includes="**/*.js"/> </concat> <x-compress-js srcfile="${build.dir}/${package.name}-${build.locale}-debug.js" outfile="${build.dir}/${package.name}-${build.locale}.js"/> <!-- <ant antfile="${package.dir}/build.xml" inheritall="false" target="js" useNativeBasedir="true" inheritrefs="true"> <property name="package.framework" value="ext"/> <property name="cmd.dir" value="${cmd.dir}"/> <property name="compiler.ref.id" value="${compiler.ref.id}-${build.locale}"/> <property name="package.locale" value="${build.locale}"/> <property name="build.name.prefix" value="${package.name}-${build.locale}"/> <property name="build.name.css.prefix" value="${package.name}-${build.locale}"/> </ant> --> </sequential> </for> <ant antfile="${package.dir}/build.xml" inheritall="false" target="pkg" useNativeBasedir="true" inheritrefs="true"> </ant> </target> </project> ```
/content/code_sandbox/ext/packages/ext-locale/build.xml
xml
2016-04-12T18:27:27
2024-08-16T16:17:46
community-edition
ramboxapp/community-edition
6,351
661
```xml import { SQSHandler, SQSMessageAttributes } from 'aws-lambda'; const receiver: SQSHandler = async (event) => { try { for (const record of event.Records) { const messageAttributes: SQSMessageAttributes = record.messageAttributes; console.log('Message Attributtes --> ', messageAttributes.AttributeNameHere.stringValue); console.log('Message Body --> ', record.body); // Do something } } catch (error) { console.log(error); } }; export default receiver; ```
/content/code_sandbox/aws-node-typescript-sqs-standard/sqs/receiver.ts
xml
2016-11-12T02:14:55
2024-08-15T16:35:14
examples
serverless/examples
11,377
116
```xml import useLiveRegionContext from './private/useContext'; import type { StaticElement } from './private/types'; /** * Queues a static element to the live region. * * After the element is queued, screen reader will eventually narrate it and it cannot be changed. */ export default function useQueueStaticElement(): (element: StaticElement) => void { return useLiveRegionContext().queueStaticElement; } ```
/content/code_sandbox/packages/component/src/providers/LiveRegionTwin/useQueueStaticElement.ts
xml
2016-07-07T23:16:57
2024-08-16T00:12:37
BotFramework-WebChat
microsoft/BotFramework-WebChat
1,567
86
```xml export { VOtpInput } from './VOtpInput' ```
/content/code_sandbox/packages/vuetify/src/components/VOtpInput/index.ts
xml
2016-09-12T00:39:35
2024-08-16T20:06:39
vuetify
vuetifyjs/vuetify
39,539
13
```xml /** * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import {t} from '../i18n'; import {DagCommitInfo} from './dagCommitInfo'; export const YOU_ARE_HERE_VIRTUAL_COMMIT: DagCommitInfo = DagCommitInfo.fromCommitInfo({ hash: 'YOU_ARE_HERE', title: '', parents: [], phase: 'draft', isDot: false, date: new Date(8640000000000000), bookmarks: [], remoteBookmarks: [], author: '', description: t('You are here'), filesSample: [], totalFileCount: 0, isYouAreHere: true, }); ```
/content/code_sandbox/addons/isl/src/dag/virtualCommit.ts
xml
2016-05-05T16:53:47
2024-08-16T19:12:02
sapling
facebook/sapling
5,987
160
```xml import {OutlineAndFillStyleEnum} from "./DrawingEnums"; import {PointF2D} from "../../Common/DataObjects/PointF2D"; export class GraphicalLine { constructor(start: PointF2D, end: PointF2D, width: number = 0, styleEnum: OutlineAndFillStyleEnum = OutlineAndFillStyleEnum.BaseWritingColor, colorHex: string = undefined) { this.start = start; this.end = end; this.width = width; this.styleId = <number>styleEnum; this.colorHex = colorHex; } public styleId: number; private start: PointF2D; private end: PointF2D; private width: number; public colorHex: string; // will override styleId if not undefined public SVGElement: Node; public get Start(): PointF2D { return this.start; } public set Start(value: PointF2D) { this.start = value; } public get End(): PointF2D { return this.end; } public set End(value: PointF2D) { this.end = value; } public get Width(): number { return this.width; } public set Width(value: number) { this.width = value; } } ```
/content/code_sandbox/src/MusicalScore/Graphical/GraphicalLine.ts
xml
2016-02-08T15:47:01
2024-08-16T17:49:53
opensheetmusicdisplay
opensheetmusicdisplay/opensheetmusicdisplay
1,416
279
```xml export interface UnsubscriptionError extends Error { readonly errors: any[]; } export interface UnsubscriptionErrorCtor { new (errors: any[]): UnsubscriptionError; } /** * An error thrown when one or more errors have occurred during the * `unsubscribe` of a {@link Subscription}. */ export declare const UnsubscriptionError: UnsubscriptionErrorCtor; ```
/content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/internal/util/UnsubscriptionError.d.ts
xml
2016-09-05T10:18:44
2024-08-11T13:21:40
LiquidCore
LiquidPlayer/LiquidCore
1,010
75
```xml import { expect } from 'chai'; import { optionalChainingMutator as sut } from '../../../src/mutators/optional-chaining-mutator.js'; import { expectJSMutation } from '../../helpers/expect-mutation.js'; describe(sut.name, () => { it('should have name "OptionalChaining"', () => { expect(sut.name).eq('OptionalChaining'); }); it('should mutate an optional member expression', () => { expectJSMutation(sut, 'foo?.bar', 'foo.bar'); }); it('should mutate an optional call expression', () => { expectJSMutation(sut, 'foo?.()', 'foo()'); }); it('should mutate an optional member expression with computed syntax', () => { expectJSMutation(sut, 'foo?.[0]', 'foo[0]'); }); it('should not mutate an optional member expression inside an optional call expression', () => { expectJSMutation(sut, 'qux()?.map()', 'qux().map()'); }); it('should mutate an optional chain', () => { expectJSMutation(sut, 'foo?.bar?.()?.[0]', 'foo.bar?.()?.[0]', 'foo?.bar()?.[0]', 'foo?.bar?.()[0]'); }); it('should not mutate the non-optional parts of a chain', () => { expectJSMutation(sut, 'foo.bar()?.[0]', 'foo.bar()[0]'); expectJSMutation(sut, 'foo.bar?.()[0]', 'foo.bar()[0]'); expectJSMutation(sut, 'foo.bar()?.baz', 'foo.bar().baz'); }); }); ```
/content/code_sandbox/packages/instrumenter/test/unit/mutators/optional-chaining-mutator.spec.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
366
```xml /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at path_to_url */ export * from './select-harness'; export * from './select-harness-filters'; ```
/content/code_sandbox/src/material/select/testing/public-api.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
54
```xml // path_to_url import { XmlComponent } from "@file/xml-components"; import { MathComponent } from "./math-component"; export interface IMathOptions { readonly children: readonly MathComponent[]; } export class Math extends XmlComponent { public constructor(options: IMathOptions) { super("m:oMath"); for (const child of options.children) { this.root.push(child); } } } ```
/content/code_sandbox/src/file/paragraph/math/math.ts
xml
2016-03-26T23:43:56
2024-08-16T13:02:47
docx
dolanmiu/docx
4,139
87
```xml /** * @license * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at path_to_url */ import {Component, inject} from '@angular/core'; import {FormBuilder, FormGroup, FormsModule, ReactiveFormsModule} from '@angular/forms'; import {MatButtonModule} from '@angular/material/button'; import {MatInputModule} from '@angular/material/input'; import {MatFormFieldModule} from '@angular/material/form-field'; import {MatStepperModule} from '@angular/material/stepper'; /** * @title Stepper animations */ @Component({ selector: 'stepper-animations-example', templateUrl: 'stepper-animations-example.html', styleUrl: 'stepper-animations-example.css', standalone: true, imports: [ MatStepperModule, FormsModule, ReactiveFormsModule, MatFormFieldModule, MatInputModule, MatButtonModule, ], }) export class StepperAnimationsExample { private _formBuilder = inject(FormBuilder); firstFormGroup: FormGroup = this._formBuilder.group({firstCtrl: ['']}); secondFormGroup: FormGroup = this._formBuilder.group({secondCtrl: ['']}); } ```
/content/code_sandbox/src/components-examples/material/stepper/stepper-animations/stepper-animations-example.ts
xml
2016-01-04T18:50:02
2024-08-16T11:21:13
components
angular/components
24,263
247
```xml import { emptyResults, failsResultsWithoutMessages, warnResults, failsResults, messagesResults, customIconMessagesResults, multipleMessagesResults, markdownResults, summaryResults, multipleSummaryResults, } from "../../_tests/fixtures/ExampleDangerResults" import { dangerSignaturePostfix, template, inlineTemplate } from "../bitbucketCloudTemplate" import { DangerResults } from "../../../dsl/DangerResults" import * as utils from "../../DangerUtils" const commitID = "e70f3d6468f61a4bef68c9e6eaba9166b096e23c" const noEntryEmoji = ":x:" const warningEmoji = ":warning:" const messageEmoji = ":sparkles:" describe("generating messages for BitBucket cloud", () => { let complimentMock: jest.SpyInstance<string, []> beforeEach(() => { complimentMock = jest.spyOn(utils, "compliment").mockReturnValue("Well done.") }) afterEach(() => { complimentMock.mockRestore() }) it("shows no sections for empty results", () => { const issues = template("blankID", emptyResults, commitID) expect(issues).not.toContain("Fails") expect(issues).not.toContain("Warnings") expect(issues).not.toContain("Messages") expect(issues).toContain("Well done.") expect(complimentMock).toBeCalledTimes(1) }) it("shows no sections for results without messages", () => { const issues = template("blankID", failsResultsWithoutMessages, commitID) expect(issues).not.toContain("Fails") expect(issues).not.toContain("Warnings") expect(issues).not.toContain("Messages") expect(issues).not.toContain("Well done.") expect(complimentMock).not.toBeCalled() }) it("Shows the failing messages in a section", () => { const issues = template("blankID", failsResults, commitID) expect(issues).toContain("Fails") expect(issues).not.toContain("Warnings") expect(issues).not.toContain("Well done.") expect(complimentMock).not.toBeCalled() }) it("Shows the warning messages in a section", () => { const issues = template("blankID", warnResults, commitID) expect(issues).toContain("Warnings") expect(issues).not.toContain("Fails") expect(issues).not.toContain("Well done.") expect(complimentMock).not.toBeCalled() }) it("Shows custom icon for message", () => { const issues = template("blankID", customIconMessagesResults, commitID) expect(issues).toContain("Messages") expect(issues).toContain("") expect(issues).not.toContain(messageEmoji) expect(issues).not.toContain("Warnings") expect(issues).not.toContain("Fails") expect(issues).toContain("Well done.") expect(complimentMock).toBeCalled() }) it("Mixed icon messages match snapshot", () => { expect(template("blankID", multipleMessagesResults, commitID)).toMatchSnapshot() }) it("summary result matches snapshot, with a commit", () => { expect(template("blankID", summaryResults, commitID)).toMatchSnapshot() }) it("summary result matches snapshot, without a commit", () => { expect(template("blankID", summaryResults)).toMatchSnapshot() }) it("multiple summary result matches snapshot", () => { expect(template("blankID", multipleSummaryResults, commitID)).toMatchSnapshot() }) it("shows a postfix message indicating the current commit ID at the time of comment", () => { expect(template("blankID", emptyResults, commitID)).toContain(dangerSignaturePostfix({} as DangerResults, commitID)) }) it("shows a postfix message with no commit ID if not provided", () => { expect(template("blankID", emptyResults)).toContain(dangerSignaturePostfix({} as DangerResults)) }) it("empty result matches snapshot, with a compliment", () => { expect(template("blankID", emptyResults, commitID)).toMatchSnapshot() }) }) describe("generating inline messages", () => { it("Shows the failing message", () => { const issues = inlineTemplate("blankID", failsResults, "File.swift", 5) expect(issues).toContain(`- ${noEntryEmoji} Failing message`) expect(issues).not.toContain(`- ${warningEmoji}`) expect(issues).not.toContain(`- ${messageEmoji}`) }) it("Shows the warning message", () => { const issues = inlineTemplate("blankID", warnResults, "File.swift", 5) expect(issues).toContain(`- ${warningEmoji} Warning message`) expect(issues).not.toContain(`- ${noEntryEmoji}`) expect(issues).not.toContain(`- ${messageEmoji}`) }) it("Shows the message", () => { const issues = inlineTemplate("blankID", messagesResults, "File.swift", 5) expect(issues).toContain(`- ${messageEmoji} Message`) expect(issues).not.toContain(`- ${noEntryEmoji}`) expect(issues).not.toContain(`- ${warningEmoji}`) }) it("Shows message with custom icon", () => { const issues = inlineTemplate("blankID", customIconMessagesResults, "File.swift", 10) expect(issues).toContain("- Message with custom icon") expect(issues).not.toContain(`- ${messageEmoji}`) expect(issues).not.toContain(`- ${noEntryEmoji}`) expect(issues).not.toContain(`- ${warningEmoji}`) }) it("Shows mixed messages", () => { const issues = inlineTemplate("blankID", multipleMessagesResults, "File.swift", 10) expect(issues).toContain("- Message with custom icon") expect(issues).toContain("- Message with custom icon2") expect(issues).toContain(`- ${messageEmoji} Test message`) expect(issues).not.toContain(`- ${noEntryEmoji}`) expect(issues).not.toContain(`- ${warningEmoji}`) }) it("Shows markdowns one after another", () => { const issues = inlineTemplate("blankID", markdownResults, "File.swift", 5) const expected = ` ### Short Markdown Message1 ### Short Markdown Message2 ` expect(issues).toContain(expected) }) it("summary inline result matches snapshot", () => { expect(inlineTemplate("blankID", summaryResults, "File.swift", 5)).toMatchSnapshot() }) }) ```
/content/code_sandbox/source/runner/templates/_tests/_bitbucketCloudTemplate.test.ts
xml
2016-08-20T12:57:06
2024-08-13T14:00:02
danger-js
danger/danger-js
5,229
1,430
```xml import "reflect-metadata" import { closeTestingConnections, createTestingConnections, reloadTestingDatabases, } from "../../../utils/test-utils" import { DataSource } from "../../../../src/data-source/DataSource" import { Post } from "./entity/Post" import { PostDetails } from "./entity/PostDetails" describe.skip("relations > relation mapped to relation with different name (#56)", () => { // skipped because of CI error. todo: needs investigation let connections: DataSource[] before( async () => (connections = await createTestingConnections({ entities: [__dirname + "/entity/*{.js,.ts}"], })), ) beforeEach(() => reloadTestingDatabases(connections)) after(() => closeTestingConnections(connections)) it("should work perfectly", () => Promise.all( connections.map(async (connection) => { // first create and save details const details = new PostDetails() details.keyword = "post-1" await connection.manager.save(details) // then create and save a post with details const post1 = new Post() post1.title = "Hello Post #1" post1.details = details await connection.manager.save(post1) // now check const posts = await connection.manager.find(Post, { join: { alias: "post", innerJoinAndSelect: { details: "post.details", }, }, }) posts.should.be.eql([ { id: 1, title: "Hello Post #1", details: { keyword: "post-1", }, }, ]) }), )) }) ```
/content/code_sandbox/test/functional/relations/relation-mapped-to-different-name-column/relation-mapped-to-different-name-column.ts
xml
2016-02-29T07:41:14
2024-08-16T18:28:52
typeorm
typeorm/typeorm
33,875
351
```xml import * as React from "react"; import useEventListener from "./useEventListener"; /** * A hook that returns the currently selected text. * * @returns The selected text */ export default function useTextSelection() { const [selection, setSelection] = React.useState<string>(""); useEventListener( "selectionchange", () => { const selection = window.getSelection(); const text = selection?.toString(); setSelection(text ?? ""); }, document ); return selection; } ```
/content/code_sandbox/app/hooks/useTextSelection.ts
xml
2016-05-22T21:31:47
2024-08-16T19:57:22
outline
outline/outline
26,751
105
```xml /** * Wraps a promise in a Task api for convenience. */ export class Task<T = void> { protected _promise: Promise<T>; private resolveFn!: (value: PromiseLike<T> | T) => void; private rejectFn!: (reason: any) => void; private _isCompleted = false; constructor() { this._promise = new Promise<T>((resolve, reject) => { this.resolveFn = resolve; this.rejectFn = reject; }); } public get promise(): Promise<T> { return this._promise; } public get isCompleted(): boolean { return this._isCompleted; } public resolve = (result: PromiseLike<T> | T): void => { this._isCompleted = true; this.resolveFn(result); }; public reject: (reason: any) => void = (reason: any): void => { this._isCompleted = true; this.rejectFn(reason); }; } /** * A task that can expire after the given time. */ export class ExpirableTask<T = void> extends Task<T | typeof ExpirableTask.TimeoutExpired> { public static readonly TimeoutExpired: unique symbol = Symbol('TimeoutExpired'); constructor(timeoutMS: number) { super(); this._promise = ExpirableTask.timeout(this._promise, timeoutMS); } public static timeout<K>(promise: Promise<K>, ms: number): Promise<K | typeof ExpirableTask.TimeoutExpired> { const sleep = new Promise<K | typeof ExpirableTask.TimeoutExpired>((res, rej) => { const timer = setTimeout(() => res(ExpirableTask.TimeoutExpired), ms); promise .then((result) => { clearTimeout(timer); res(result); }) .catch((error: unknown) => { clearTimeout(timer); // eslint-disable-next-line @typescript-eslint/prefer-promise-reject-errors rej(error); }); }); return sleep; } } ```
/content/code_sandbox/packages/util/src/task.ts
xml
2016-02-12T13:14:28
2024-08-15T18:38:25
stryker-js
stryker-mutator/stryker-js
2,561
426
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import float64ToFloat32 = require( './index' ); // TESTS // // The function returns a number... { float64ToFloat32( 3.14 ); // $ExpectType number float64ToFloat32( 0 ); // $ExpectType number } // The compiler throws an error if the function is provided a value other than a number... { float64ToFloat32( true ); // $ExpectError float64ToFloat32( false ); // $ExpectError float64ToFloat32( '5' ); // $ExpectError float64ToFloat32( [] ); // $ExpectError float64ToFloat32( {} ); // $ExpectError float64ToFloat32( ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided insufficient arguments... { float64ToFloat32(); // $ExpectError } ```
/content/code_sandbox/lib/node_modules/@stdlib/number/float64/base/to-float32/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
242
```xml <dar> <documents> <document id="manuscript" type="article" path="manuscript.xml" /> </documents> <assets> <asset id="fig1" type="image/jpg" path="fig1.jpg"/> <asset id="fig2" type="image/jpg" path="fig2.jpg"/> <asset id="fig3" type="image/jpg" path="fig3.jpg"/> <asset id="fig4" type="image/jpg" path="fig4.jpg"/> <asset id="fig5" type="image/jpg" path="fig5.jpg"/> </assets> </dar> ```
/content/code_sandbox/data/elife-32671/manifest.xml
xml
2016-04-18T10:30:54
2024-07-16T02:46:41
texture
substance/texture
1,000
144
```xml import { CommonModule } from '@angular/common'; import { NgModule } from '@angular/core'; import { RouterModule } from '@angular/router'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { AppDocModule } from '@layout/doc/app.doc.module'; import { AppCodeModule } from '@layout/doc/app.code.component'; import { ImportDoc } from './importdoc'; import { BasicDoc } from './basicdoc'; import { DropdownModule } from 'primeng/dropdown'; import { EditableDoc } from './editabledoc'; import { GroupDoc } from './groupdoc'; import { TemplateDoc } from './templatedoc'; import { DisabledDoc } from './disableddoc'; import { InvalidDoc } from './invaliddoc'; import { VirtualScrollDoc } from './virtualscrolldoc'; import { LazyVirtualScrollDoc } from './lazyvirtualscrolldoc'; import { FilterDoc } from './filterdoc'; import { CustomFilterDoc } from './customfilterdoc'; import { FloatLabelDoc } from './floatlabeldoc'; import { StyleDoc } from './styledoc'; import { AccessibilityDoc } from './accessibilitydoc'; import { ReactiveFormsDoc } from './reactiveformsdoc'; import { ButtonModule } from 'primeng/button'; import { InputTextModule } from 'primeng/inputtext'; import { CheckmarkDoc } from './checkmarkdoc'; import { ClearIconDoc } from './clearicondoc'; import { LoadingStateDoc } from './loadingstatedoc'; import { FilledDoc } from './filleddoc'; import { FloatLabelModule } from 'primeng/floatlabel'; @NgModule({ imports: [CommonModule, RouterModule, AppCodeModule, AppDocModule, FormsModule, ReactiveFormsModule, DropdownModule, ButtonModule, InputTextModule, FloatLabelModule], exports: [AppDocModule], declarations: [ ImportDoc, BasicDoc, EditableDoc, GroupDoc, TemplateDoc, DisabledDoc, InvalidDoc, VirtualScrollDoc, LazyVirtualScrollDoc, CustomFilterDoc, FilterDoc, FloatLabelDoc, StyleDoc, AccessibilityDoc, ReactiveFormsDoc, CheckmarkDoc, ClearIconDoc, LoadingStateDoc, FilledDoc ] }) export class DropdownDocModule {} ```
/content/code_sandbox/src/app/showcase/doc/dropdown/dropdowndoc.module.ts
xml
2016-01-16T09:23:28
2024-08-16T19:58:20
primeng
primefaces/primeng
9,969
486
```xml import type { match } from 'react-router'; import { generatePath, matchPath } from 'react-router'; import type { Location } from 'history'; import { MAILBOX_LABEL_IDS } from '@proton/shared/lib/constants'; import { changeSearchParams, getSearchParams } from '@proton/shared/lib/helpers/url'; import { isNumber } from '@proton/shared/lib/helpers/validators'; import { MAIN_ROUTE_PATH } from '../constants'; import type { Filter, SearchParameters, Sort } from '../models/tools'; import { getHumanLabelID } from './labels'; // No interface to comply with generatePath argument type export type MailUrlParams = { labelID: string; elementID?: string; messageID?: string; }; export const getUrlPathname = (params: MailUrlParams) => generatePath(MAIN_ROUTE_PATH, { ...params, // The as any is needed du to a bug into ExtractRouteParams inference which takes the `?` in the param name // Remove this once fixed labelID: getHumanLabelID(params.labelID), } as any); export const setParamsInLocation = (location: Location, params: MailUrlParams): Location => ({ ...location, pathname: getUrlPathname(params), }); export const setParamsInUrl = (location: Location, params: MailUrlParams): string => getUrlPathname(params) + location.search; export const getParamsFromPathname = (pathname: string): match<MailUrlParams> => matchPath(pathname, { path: MAIN_ROUTE_PATH }) as match<MailUrlParams>; const stringToPage = (string: string | undefined): number => { if (string === undefined) { return 0; } const pageNumber = parseInt(string, 10); if (!Number.isNaN(pageNumber)) { return pageNumber - 1; } return 0; }; const stringToSort = (string: string | undefined, labelID?: string): Sort => { const isScheduledLabel = labelID && labelID === MAILBOX_LABEL_IDS.SCHEDULED; switch (string) { case '-size': return { sort: 'Size', desc: true }; case 'size': return { sort: 'Size', desc: false }; case 'date': return { sort: 'Time', desc: !!isScheduledLabel }; default: return { sort: 'Time', desc: !isScheduledLabel }; } }; const stringToInt = (string: string | undefined): number | undefined => { if (string === undefined) { return undefined; } return isNumber(string) ? parseInt(string, 10) : undefined; }; export const sortToString = (sort: Sort): string | undefined => sort.sort === 'Time' ? (sort.desc ? undefined : 'date') : sort.desc ? '-size' : 'size'; const stringToFilter = (string: string | undefined): Filter => { switch (string) { case 'read': return { Unread: 0 }; case 'unread': return { Unread: 1 }; case 'has-file': return { Attachments: 1 }; default: return {}; } }; type FilterStatus = 'has-file' | 'unread' | 'read'; export const filterToString = (filter: Filter): FilterStatus | undefined => { if (filter.Attachments === 1) { return 'has-file'; } if (filter.Unread === 1) { return 'unread'; } if (filter.Unread === 0) { return 'read'; } return undefined; }; export const keywordToString = (keyword: string): string | undefined => { const trimmed = keyword.trim(); return trimmed || undefined; }; export const pageFromUrl = (location: Location) => stringToPage(getSearchParams(location.hash).page); export const sortFromUrl = (location: Location, labelID?: string) => stringToSort(getSearchParams(location.hash).sort, labelID); export const filterFromUrl = (location: Location) => stringToFilter(getSearchParams(location.hash).filter); export const extractSearchParameters = (location: Location): SearchParameters => { const { address, from, to, keyword, begin, end, wildcard } = getSearchParams(location.hash); return { address, from, to, keyword, begin: stringToInt(begin), end: stringToInt(end), wildcard: stringToInt(wildcard), }; }; export const setPageInUrl = (location: Location, page: number) => changeSearchParams(location.pathname, location.hash, { page: page === 0 ? undefined : String(page + 1) }); export const setSortInUrl = (location: Location, sort: Sort) => changeSearchParams(location.pathname, location.hash, { page: undefined, sort: sortToString(sort) }); export const setFilterInUrl = (location: Location, filter: Filter) => changeSearchParams(location.pathname, location.hash, { page: undefined, filter: filterToString(filter) }); export const setKeywordInUrl = (location: Location, keyword: string) => changeSearchParams(location.pathname, location.hash, { page: undefined, keyword: keywordToString(keyword) }); ```
/content/code_sandbox/applications/mail/src/app/helpers/mailboxUrl.ts
xml
2016-06-08T11:16:51
2024-08-16T14:14:27
WebClients
ProtonMail/WebClients
4,300
1,114
```xml /* * @license Apache-2.0 * * * * path_to_url * * Unless required by applicable law or agreed to in writing, software * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ import srange = require( './index' ); // TESTS // // The function returns a number... { const x = new Float32Array( 10 ); srange( x.length, x, 1 ); // $ExpectType number } // The compiler throws an error if the function is provided a first argument which is not a number... { const x = new Float32Array( 10 ); srange( '10', x, 1 ); // $ExpectError srange( true, x, 1 ); // $ExpectError srange( false, x, 1 ); // $ExpectError srange( null, x, 1 ); // $ExpectError srange( undefined, x, 1 ); // $ExpectError srange( [], x, 1 ); // $ExpectError srange( {}, x, 1 ); // $ExpectError srange( ( x: number ): number => x, x, 1 ); // $ExpectError } // The compiler throws an error if the function is provided a second argument which is not a Float32Array... { const x = new Float32Array( 10 ); srange( x.length, 10, 1 ); // $ExpectError srange( x.length, '10', 1 ); // $ExpectError srange( x.length, true, 1 ); // $ExpectError srange( x.length, false, 1 ); // $ExpectError srange( x.length, null, 1 ); // $ExpectError srange( x.length, undefined, 1 ); // $ExpectError srange( x.length, [], 1 ); // $ExpectError srange( x.length, {}, 1 ); // $ExpectError srange( x.length, ( x: number ): number => x, 1 ); // $ExpectError } // The compiler throws an error if the function is provided a third argument which is not a number... { const x = new Float32Array( 10 ); srange( x.length, x, '10' ); // $ExpectError srange( x.length, x, true ); // $ExpectError srange( x.length, x, false ); // $ExpectError srange( x.length, x, null ); // $ExpectError srange( x.length, x, undefined ); // $ExpectError srange( x.length, x, [] ); // $ExpectError srange( x.length, x, {} ); // $ExpectError srange( x.length, x, ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the function is provided an unsupported number of arguments... { const x = new Float32Array( 10 ); srange(); // $ExpectError srange( x.length ); // $ExpectError srange( x.length, x ); // $ExpectError srange( x.length, x, 1, 10 ); // $ExpectError } // Attached to main export is an `ndarray` method which returns a number... { const x = new Float32Array( 10 ); srange.ndarray( x.length, x, 1, 0 ); // $ExpectType number } // The compiler throws an error if the `ndarray` method is provided a first argument which is not a number... { const x = new Float32Array( 10 ); srange.ndarray( '10', x, 1, 0 ); // $ExpectError srange.ndarray( true, x, 1, 0 ); // $ExpectError srange.ndarray( false, x, 1, 0 ); // $ExpectError srange.ndarray( null, x, 1, 0 ); // $ExpectError srange.ndarray( undefined, x, 1, 0 ); // $ExpectError srange.ndarray( [], x, 1, 0 ); // $ExpectError srange.ndarray( {}, x, 1, 0 ); // $ExpectError srange.ndarray( ( x: number ): number => x, x, 1, 0 ); // $ExpectError } // The compiler throws an error if the `ndarray` method is provided a second argument which is not a Float32Array... { const x = new Float32Array( 10 ); srange.ndarray( x.length, 10, 1, 0 ); // $ExpectError srange.ndarray( x.length, '10', 1, 0 ); // $ExpectError srange.ndarray( x.length, true, 1, 0 ); // $ExpectError srange.ndarray( x.length, false, 1, 0 ); // $ExpectError srange.ndarray( x.length, null, 1, 0 ); // $ExpectError srange.ndarray( x.length, undefined, 1, 0 ); // $ExpectError srange.ndarray( x.length, [], 1, 0 ); // $ExpectError srange.ndarray( x.length, {}, 1, 0 ); // $ExpectError srange.ndarray( x.length, ( x: number ): number => x, 1, 0 ); // $ExpectError } // The compiler throws an error if the `ndarray` method is provided a third argument which is not a number... { const x = new Float32Array( 10 ); srange.ndarray( x.length, x, '10', 0 ); // $ExpectError srange.ndarray( x.length, x, true, 0 ); // $ExpectError srange.ndarray( x.length, x, false, 0 ); // $ExpectError srange.ndarray( x.length, x, null, 0 ); // $ExpectError srange.ndarray( x.length, x, undefined, 0 ); // $ExpectError srange.ndarray( x.length, x, [], 0 ); // $ExpectError srange.ndarray( x.length, x, {}, 0 ); // $ExpectError srange.ndarray( x.length, x, ( x: number ): number => x, 0 ); // $ExpectError } // The compiler throws an error if the `ndarray` method is provided a fourth argument which is not a number... { const x = new Float32Array( 10 ); srange.ndarray( x.length, x, 1, '10' ); // $ExpectError srange.ndarray( x.length, x, 1, true ); // $ExpectError srange.ndarray( x.length, x, 1, false ); // $ExpectError srange.ndarray( x.length, x, 1, null ); // $ExpectError srange.ndarray( x.length, x, 1, undefined ); // $ExpectError srange.ndarray( x.length, x, 1, [] ); // $ExpectError srange.ndarray( x.length, x, 1, {} ); // $ExpectError srange.ndarray( x.length, x, 1, ( x: number ): number => x ); // $ExpectError } // The compiler throws an error if the `ndarray` method is provided an unsupported number of arguments... { const x = new Float32Array( 10 ); srange.ndarray(); // $ExpectError srange.ndarray( x.length ); // $ExpectError srange.ndarray( x.length, x ); // $ExpectError srange.ndarray( x.length, x, 1 ); // $ExpectError srange.ndarray( x.length, x, 1, 0, 10 ); // $ExpectError } ```
/content/code_sandbox/lib/node_modules/@stdlib/stats/base/srange/docs/types/test.ts
xml
2016-03-24T04:19:52
2024-08-16T09:03:19
stdlib
stdlib-js/stdlib
4,266
1,663
```xml import { Component } from '@angular/core'; @Component({ selector: 'app-nav-side-menu', templateUrl: './nav-side-menu.component.html' }) export class NavSideMenuComponent { } ```
/content/code_sandbox/Src/WebUI/ClientApp/src/app/nav-side-menu/nav-side-menu.component.ts
xml
2016-10-11T10:52:28
2024-08-14T10:29:35
NorthwindTraders
jasontaylordev/NorthwindTraders
5,001
40
```xml <?xml version="1.0" encoding="utf-8"?> <resources> <string name="appupdater_btn_disable">Non mostrare di nuovo</string> <string name="appupdater_btn_dismiss">Ignora</string> <string name="appupdater_btn_update">Aggiorna</string> <string name="appupdater_update_available">Nuovo aggiornamento disponibile!</string> <string name="appupdater_update_available_description_dialog">L\'aggiornamento %1$s disponibile al download. Scaricando l\'ultimo aggiornamento avrai le ultime funzionalit, migliorie e bug fix per %2$s.</string> <string name=your_sha256_hashtes">Aggiornamento %1$s disponibile al download.\n\nPuoi avere queste nuove funzionalit:\n%2$s</string> <string name="appupdater_update_available_description_notification">L\'aggiornamento %1$s di %2$s disponibile al download</string> <string name="appupdater_update_available_description_snackbar">L\'aggiornamento %1$s disponibile!</string> <string name="appupdater_update_not_available">Nessun aggiornamento disponibile</string> <string name="appupdater_update_not_available_description">Hai l\'ultima versione disponibile di %s!</string> </resources> ```
/content/code_sandbox/library/src/main/res/values-it/strings.xml
xml
2016-02-02T18:10:59
2024-08-08T01:46:33
AppUpdater
javiersantos/AppUpdater
1,975
312
```xml <GroupPolicyObject><SecurityGroups><Group bkp:Source="FromDACL"><Sid><![CDATA[S-1-5-21-2508026330-3077189028-2444564301-519]]></Sid><SamAccountName><![CDATA[Enterprise Admins]]></SamAccountName><Type><![CDATA[UniversalGroup]]></Type><NetBIOSDomainName><![CDATA[SHB]]></NetBIOSDomainName><DnsDomainName><![CDATA[SHB.GOV]]></DnsDomainName><UPN><![CDATA[Enterprise Admins@SHB.GOV]]></UPN></Group><Group bkp:Source="FromDACL"><Sid><![CDATA[S-1-5-21-2508026330-3077189028-2444564301-512]]></Sid><SamAccountName><![CDATA[Domain Admins]]></SamAccountName><Type><![CDATA[GlobalGroup]]></Type><NetBIOSDomainName><![CDATA[SHB]]></NetBIOSDomainName><DnsDomainName><![CDATA[SHB.GOV]]></DnsDomainName><UPN><![CDATA[Domain Admins@SHB.GOV]]></UPN></Group></SecurityGroups><FilePaths/><GroupPolicyCoreSettings><ID><![CDATA[{343866EE-1828-4BB7-B706-4989C511FEE9}]]></ID><Domain><![CDATA[SHB.GOV]]></Domain><SecurityDescriptor>01 00 04 9c 00 00 00 00 00 00 00 00 00 00 00 00 14 00 00 00 04 00 ec 00 08 00 00 00 05 02 28 00 00 01 00 00 01 00 00 00 8f fd ac ed b3 ff d1 11 b4 1d 00 a0 c9 68 f9 39 01 01 00 00 00 00 00 05 0b 00 00 00 00 00 24 00 ff 00 0f 00 01 05 00 00 00 00 00 05 15 00 00 00 da 71 7d 95 a4 2d 6a b7 4d 17 b5 91 00 02 00 00 00 02 24 00 ff 00 0f 00 01 05 00 00 00 00 00 05 15 00 00 00 da 71 7d 95 a4 2d 6a b7 4d 17 b5 91 00 02 00 00 00 02 24 00 ff 00 0f 00 01 05 00 00 00 00 00 05 15 00 00 00 da 71 7d 95 a4 2d 6a b7 4d 17 b5 91 07 02 00 00 00 02 14 00 94 00 02 00 01 01 00 00 00 00 00 05 09 00 00 00 00 02 14 00 94 00 02 00 01 01 00 00 00 00 00 05 0b 00 00 00 00 02 14 00 ff 00 0f 00 01 01 00 00 00 00 00 05 12 00 00 00 00 0a 14 00 ff 00 0f 00 01 01 00 00 00 00 00 03 00 00 00 00</SecurityDescriptor><DisplayName><![CDATA[Adobe Reader DC]]></DisplayName><Options><![CDATA[0]]></Options><UserVersionNumber><![CDATA[0]]></UserVersionNumber><MachineVersionNumber><![CDATA[1703962]]></MachineVersionNumber><MachineExtensionGuids><![CDATA[[{35378EAC-683F-11D2-A89A-00C04FBBCFA2}{D02B1F72-3407-48AE-BA88-E8213C6761F1}]]]></MachineExtensionGuids><UserExtensionGuids/><WMIFilter/></GroupPolicyCoreSettings> <GroupPolicyExtension bkp:ID="{35378EAC-683F-11D2-A89A-00C04FBBCFA2}" bkp:DescName="Registry"> <FSObjectFile bkp:Path="%GPO_MACH_FSPATH%\registry.pol" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Machine\registry.pol" bkp:Location="DomainSysvol\GPO\Machine\registry.pol"/> <FSObjectFile bkp:Path="%GPO_FSPATH%\Adm\*.*" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Adm\*.*"/> </GroupPolicyExtension> <GroupPolicyExtension bkp:ID="{F15C46CD-82A0-4C2D-A210-5D0D3182A418}" bkp:DescName="Unknown Extension"><FSObjectFile bkp:Path="%GPO_MACH_FSPATH%\comment.cmtx" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Machine\comment.cmtx" bkp:Location="DomainSysvol\GPO\Machine\comment.cmtx"/><FSObjectDir bkp:Path="%GPO_MACH_FSPATH%\Scripts" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Machine\Scripts" bkp:Location="DomainSysvol\GPO\Machine\Scripts"/><FSObjectDir bkp:Path="%GPO_MACH_FSPATH%\Scripts\Shutdown" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Machine\Scripts\Shutdown" bkp:Location="DomainSysvol\GPO\Machine\Scripts\Shutdown"/><FSObjectDir bkp:Path="%GPO_MACH_FSPATH%\Scripts\Startup" bkp:SourceExpandedPath="\\SRV.SHB.GOV\sysvol\SHB.GOV\Policies\{343866EE-1828-4BB7-B706-4989C511FEE9}\Machine\Scripts\Startup" bkp:Location="DomainSysvol\GPO\Machine\Scripts\Startup"/></GroupPolicyExtension></GroupPolicyObject> </GroupPolicyBackupScheme> ```
/content/code_sandbox/Adobe Reader/Group Policy Objects/Computer/{659E383E-BA08-4166-9A33-60EC86176370}/Backup.xml
xml
2016-02-26T19:43:51
2024-08-16T18:13:11
Windows-Secure-Host-Baseline
nsacyber/Windows-Secure-Host-Baseline
1,548
1,570
```xml <dict> <key>LayoutID</key> <integer>30</integer> <key>PathMapRef</key> <array> <dict> <key>CodecID</key> <array> <integer>283902549</integer> </array> <key>Headphone</key> <dict/> <key>Inputs</key> <array> <string>Mic</string> <string>LineIn</string> </array> <key>IntSpeaker</key> <dict> <key>DefaultVolume</key> <integer>4293722112</integer> <key>MaximumBootBeepValue</key> <integer>64</integer> <key>MuteGPIO</key> <integer>0</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspEqualization</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1121130925</integer> <key>7</key> <integer>1062181913</integer> <key>8</key> <integer>-1051960877</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1121437227</integer> <key>7</key> <integer>1062181913</integer> <key>8</key> <integer>-1052549551</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>1</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1147243075</integer> <key>7</key> <integer>1069052072</integer> <key>8</key> <integer>-1059648963</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>1</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1147243075</integer> <key>7</key> <integer>1069052072</integer> <key>8</key> <integer>-1059648963</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>2</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1153510794</integer> <key>7</key> <integer>1079650306</integer> <key>8</key> <integer>0</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>2</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1153270572</integer> <key>7</key> <integer>1074610652</integer> <key>8</key> <integer>-1062064882</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1163795438</integer> <key>7</key> <integer>1076603811</integer> <key>8</key> <integer>0</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>3</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1163927873</integer> <key>7</key> <integer>1076557096</integer> <key>8</key> <integer>-1067488498</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>5</integer> <key>6</key> <integer>1165447446</integer> <key>7</key> <integer>1093664768</integer> <key>8</key> <integer>-1094411354</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>4</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>5</integer> <key>6</key> <integer>1137180672</integer> <key>7</key> <integer>1093664768</integer> <key>8</key> <integer>-1095204569</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120722521</integer> <key>7</key> <integer>1060714809</integer> <key>8</key> <integer>-1064028699</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>5</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1120926723</integer> <key>7</key> <integer>1060714809</integer> <key>8</key> <integer>-1079922904</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>6</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1125212588</integer> <key>7</key> <integer>1062958591</integer> <key>8</key> <integer>-1070587707</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>6</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1125238907</integer> <key>7</key> <integer>1062998322</integer> <key>8</key> <integer>-1071124578</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1122038312</integer> <key>7</key> <integer>1074440875</integer> <key>8</key> <integer>-1061498991</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>7</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1121924912</integer> <key>7</key> <integer>1074271873</integer> <key>8</key> <integer>-1061498991</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1128612513</integer> <key>7</key> <integer>1079014663</integer> <key>8</key> <integer>-1059382945</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1126665806</integer> <key>7</key> <integer>1087746943</integer> <key>8</key> <integer>-1063010452</integer> </dict> <dict> <key>2</key> <integer>0</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1157720978</integer> <key>7</key> <integer>1103101952</integer> <key>8</key> <integer>-1076613600</integer> </dict> <dict> <key>2</key> <integer>1</integer> <key>3</key> <integer>9</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>6</integer> <key>6</key> <integer>1157720978</integer> <key>7</key> <integer>1103393070</integer> <key>8</key> <integer>-1076613600</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspVirtualization</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>10</key> <integer>0</integer> <key>11</key> <integer>1</integer> <key>12</key> <integer>-1060850508</integer> <key>13</key> <integer>-1038329254</integer> <key>14</key> <integer>10</integer> <key>15</key> <integer>210</integer> <key>16</key> <integer>-1049408692</integer> <key>17</key> <integer>5</integer> <key>18</key> <integer>182</integer> <key>19</key> <integer>418</integer> <key>2</key> <integer>-1082130432</integer> <key>20</key> <integer>-1038976903</integer> <key>21</key> <integer>3</integer> <key>22</key> <integer>1633</integer> <key>23</key> <integer>4033</integer> <key>24</key> <integer>-1046401747</integer> <key>25</key> <integer>4003</integer> <key>26</key> <integer>9246</integer> <key>27</key> <integer>168</integer> <key>28</key> <integer>1060875180</integer> <key>29</key> <integer>0</integer> <key>3</key> <integer>-1085584568</integer> <key>30</key> <integer>-1048128813</integer> <key>31</key> <integer>982552730</integer> <key>32</key> <integer>16</integer> <key>33</key> <integer>-1063441106</integer> <key>34</key> <integer>1008902816</integer> <key>35</key> <integer>4</integer> <key>36</key> <integer>-1059986974</integer> <key>37</key> <integer>0</integer> <key>38</key> <integer>234</integer> <key>39</key> <integer>1</integer> <key>4</key> <integer>-1094466626</integer> <key>40</key> <integer>-1047912930</integer> <key>41</key> <integer>1022423360</integer> <key>42</key> <integer>0</integer> <key>43</key> <data>your_sha512_hash/PoLzKPoE9VliZvVAiGD1DUa692FG0PaD8kb1s7dW8Cvd1P4AH1rx9+your_sha256_hasheu8wK0EvN4bnzwcZ4o8XuerPN1Lhzk6gfk7OnQgvG5lGrzURc+8ogiRvJL8ELwRvBg8qQGUPM4QWzzNMaQ7QlzSu3iKYbsKSbK7kk/tuhTxlruJRKu6DVSwORAuiLrWfoA6Hp+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAAAAAAAAAAAAAAAAAAAAAAACasrC7Y0/Tu/+3lLv0l7I5r0STO4dM6DtPRRM8zbj/O+Y2ijtWlU67mDwmvK2+GLyKIpu7Sp34um8TZDkTvp+7UZuaOWcGRTrf22i7D3MfPOY9aTyK8oA94CaQPc3Y2z0d9Ik+N3BQPv60hz28u6M975E8PZYjDT2eVgk9Xp1GPfiKqz3S4U49E7QoPZLzJj3+XNg8D5bCPMiRlTyuLAM9dBEcPTXIDT0m1xE9o7/NPE+Cazye/qw7Xhdjuyen1LtqMOG7/Eo9uxlBXDt1St07kpvdO/gnTjt2Fp+your_sha256_hash7lxMiOe/WVDsBH407KMBOO9ILWDn1ciO7L+CmuyDt3bue4My7DhNpu0im9jqJ+8E7SMSkOz/fcTuD/q46618ZO3WrlDvWWeQ6c5P0O7L/zjvkHyw8jTzBO4rc27wJi9C8CA22vV/your_sha256_hashn3rzvEbC8mcWGvHkexLz8tKu86dpLvOicNbzF2eK7zCAvu2TPYTpu+pw7oyjHO5aduDv60iA7afr8uq46j7sjqZK7q6Aeuxms8bjz6Ks6MH/your_sha256_hashyour_sha256_hashuvdhRtD2g/JG9bO3VvAr3dT+AB9a8ffmRvYRgtD2DIq69OpUYPa0bmb0oX4E9Cs+your_sha256_hash5Ozp0ILxuZRq81EXPvKIIkbyS/your_sha256_hashoi61n6AOh6fmTg=</data> <key>5</key> <integer>-1056748724</integer> <key>6</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>0</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspMultibandDRC</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Crossover</key> <dict> <key>4</key> <integer>2</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1143079818</integer> </dict> <key>Limiter</key> <array> <dict> <key>10</key> <integer>-1058198226</integer> <key>11</key> <integer>1094651663</integer> <key>12</key> <integer>-1047897509</integer> <key>13</key> <integer>1067573730</integer> <key>14</key> <integer>-1027604480</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1065353216</integer> <key>17</key> <integer>1073741824</integer> <key>18</key> <integer>1103811283</integer> <key>19</key> <integer>1086830520</integer> <key>2</key> <integer>1</integer> <key>20</key> <integer>1137180672</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>-1096637784</integer> </dict> <dict> <key>10</key> <integer>-1060418742</integer> <key>11</key> <integer>1086941546</integer> <key>12</key> <integer>-1047786484</integer> <key>13</key> <integer>1067919143</integer> <key>14</key> <integer>-1027604480</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1065353216</integer> <key>17</key> <integer>1073741824</integer> <key>18</key> <integer>1111814385</integer> <key>19</key> <integer>1101004800</integer> <key>2</key> <integer>2</integer> <key>20</key> <integer>1137180672</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>-1099105016</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>LineIn</key> <dict> <key>MuteGPIO</key> <integer>1342242840</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1073029587</integer> <key>5</key> <data>your_sha256_hashHMuYwrl9lcJXm4/CBhmQwuJvlMKbxJTC7qyUwtjDl8KU+ZzCnCaewsmuncK/your_sha512_hash+your_sha256_hashyour_sha256_hashfwhFzosLIZaPCwUOjwo6TosIkR6LC6vehwtrwosIdtJ/CXLmbwlSZmcKDhJXCDFGRwnV6j8JTjY/CrqGQwgqYk8INzpjCuTufwrjlocKviKPC5YqlwgdmpcKZ2aXCGiumwq95osJOIJ/Cxl+ewtWGl8KmPJPC+sSawkdHo8JWB6LCskyhwqk7pcIth6nCh4Wswk+crcK9J6zCYJWqwmVJq8K8063Cyour_sha512_hash+M0MKaftbCpcjdwm+p5sL/CfHCHcT8wrp3A8PiJAzD</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1078616770</integer> <key>3</key> <integer>1078616770</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspEqualization</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1132560510</integer> <key>7</key> <integer>1064190664</integer> <key>8</key> <integer>-1057196819</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150544383</integer> <key>7</key> <integer>1068848526</integer> <key>8</key> <integer>-1073422534</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>15</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1182094222</integer> <key>7</key> <integer>1063679547</integer> <key>8</key> <integer>-1048213171</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspMultibandDRC</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Crossover</key> <dict> <key>4</key> <integer>1</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1128792064</integer> </dict> <key>Limiter</key> <array> <dict> <key>10</key> <integer>-1068807345</integer> <key>11</key> <integer>1097982434</integer> <key>12</key> <integer>-1038380141</integer> <key>13</key> <integer>1068906038</integer> <key>14</key> <integer>-1036233644</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1101004800</integer> <key>17</key> <integer>1101004800</integer> <key>18</key> <integer>1128792064</integer> <key>19</key> <integer>1101004800</integer> <key>2</key> <integer>1</integer> <key>20</key> <integer>1127866850</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>0</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Mic</key> <dict> <key>MuteGPIO</key> <integer>1342242843</integer> <key>SignalProcessing</key> <dict> <key>SoftwareDSP</key> <dict> <key>DspFunction0</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>0</integer> <key>DspFuncName</key> <string>DspNoiseReduction</string> <key>DspFuncProcessingIndex</key> <integer>0</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>-1073029587</integer> <key>5</key> <data>your_sha256_hashHMuYwrl9lcJXm4/CBhmQwuJvlMKbxJTC7qyUwtjDl8KU+ZzCnCaewsmuncK/your_sha512_hash+your_sha256_hashyour_sha256_hashfwhFzosLIZaPCwUOjwo6TosIkR6LC6vehwtrwosIdtJ/CXLmbwlSZmcKDhJXCDFGRwnV6j8JTjY/CrqGQwgqYk8INzpjCuTufwrjlocKviKPC5YqlwgdmpcKZ2aXCGiumwq95osJOIJ/Cxl+ewtWGl8KmPJPC+sSawkdHo8JWB6LCskyhwqk7pcIth6nCh4Wswk+crcK9J6zCYJWqwmVJq8K8063Cyour_sha512_hash+M0MKaftbCpcjdwm+p5sL/CfHCHcT8wrp3A8PiJAzD</data> </dict> <key>PatchbayInfo</key> <dict/> </dict> <key>DspFunction1</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>1</integer> <key>DspFuncName</key> <string>DspGainStage</string> <key>DspFuncProcessingIndex</key> <integer>1</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>2</key> <integer>1078616770</integer> <key>3</key> <integer>1078616770</integer> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>0</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction2</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>2</integer> <key>DspFuncName</key> <string>DspEqualization</string> <key>DspFuncProcessingIndex</key> <integer>2</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Filter</key> <array> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>0</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>1</integer> <key>6</key> <integer>1132560510</integer> <key>7</key> <integer>1064190664</integer> <key>8</key> <integer>-1057196819</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>8</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>4</integer> <key>6</key> <integer>1150544383</integer> <key>7</key> <integer>1068848526</integer> <key>8</key> <integer>-1073422534</integer> </dict> <dict> <key>2</key> <integer>2</integer> <key>3</key> <integer>15</integer> <key>4</key> <integer>0</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1182094222</integer> <key>7</key> <integer>1063679547</integer> <key>8</key> <integer>-1048213171</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>1</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> <key>DspFunction3</key> <dict> <key>FunctionInfo</key> <dict> <key>DspFuncInstance</key> <integer>3</integer> <key>DspFuncName</key> <string>DspMultibandDRC</string> <key>DspFuncProcessingIndex</key> <integer>3</integer> </dict> <key>ParameterInfo</key> <dict> <key>1</key> <integer>0</integer> <key>Crossover</key> <dict> <key>4</key> <integer>1</integer> <key>5</key> <integer>0</integer> <key>6</key> <integer>1128792064</integer> </dict> <key>Limiter</key> <array> <dict> <key>10</key> <integer>-1068807345</integer> <key>11</key> <integer>1097982434</integer> <key>12</key> <integer>-1038380141</integer> <key>13</key> <integer>1068906038</integer> <key>14</key> <integer>-1036233644</integer> <key>15</key> <integer>1065353216</integer> <key>16</key> <integer>1101004800</integer> <key>17</key> <integer>1101004800</integer> <key>18</key> <integer>1128792064</integer> <key>19</key> <integer>1101004800</integer> <key>2</key> <integer>1</integer> <key>20</key> <integer>1127866850</integer> <key>21</key> <integer>0</integer> <key>22</key> <integer>0</integer> <key>23</key> <integer>1</integer> <key>3</key> <integer>0</integer> <key>7</key> <integer>0</integer> <key>8</key> <integer>0</integer> <key>9</key> <integer>0</integer> </dict> </array> </dict> <key>PatchbayInfo</key> <dict> <key>InputPort0</key> <dict> <key>PortInstance</key> <integer>0</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>0</integer> </dict> <key>InputPort1</key> <dict> <key>PortInstance</key> <integer>1</integer> <key>PortWidth</key> <integer>1</integer> <key>SourceFuncInstance</key> <integer>2</integer> <key>SourcePortIndex</key> <integer>1</integer> </dict> </dict> </dict> </dict> </dict> </dict> <key>Outputs</key> <array> <string>Headphone</string> <string>IntSpeaker</string> </array> <key>PathMapID</key> <integer>255</integer> </dict> </array> </dict> ```
/content/code_sandbox/Resources/ALC255/layout99.xml
xml
2016-03-07T20:45:58
2024-08-14T08:57:03
AppleALC
acidanthera/AppleALC
3,420
11,679
```xml <ResourceDictionary xmlns="path_to_url" xmlns:x="path_to_url" xmlns:local="clr-namespace:MahApps.Metro.IconPacks"> <ResourceDictionary.MergedDictionaries> <ResourceDictionary Source="pack://application:,,,/MahApps.Metro.IconPacks.Typicons;component/Themes/PackIconTypicons.xaml" /> </ResourceDictionary.MergedDictionaries> <Style TargetType="{x:Type local:PackIconTypicons}" BasedOn="{StaticResource MahApps.Styles.PackIconTypicons}" /> </ResourceDictionary> ```
/content/code_sandbox/src/MahApps.Metro.IconPacks.Typicons/Themes/WPF/Generic.xaml
xml
2016-07-17T00:10:12
2024-08-16T16:16:36
MahApps.Metro.IconPacks
MahApps/MahApps.Metro.IconPacks
1,748
120
```xml const google = require('googleapis'); const promisify = require('micro-promisify'); const { getMessage } = require('../utils/messages'); import { Oauth2Client, GSheetsAppendResultsOptions, GSheetsValuesToAppend } from '../../types/types'; import { Logger } from '../utils/logger'; const logger = Logger.getInstance(); async function getRange(auth: Oauth2Client, range: number, spreadsheetId: string): Promise<Array<GSheetsValuesToAppend>> { try { const sheets = google.sheets('v4'); const response = await promisify(sheets.spreadsheets.values.get)({ auth: auth, spreadsheetId: spreadsheetId, range: range }); return response.values; } catch(error) { logger.error(getMessage('G_SHEETS_API_ERROR', error)); throw new Error(error); } } const formatValues = (values: Array<GSheetsValuesToAppend>) => { let newValues = values.slice(); return newValues.reduce((result: any, value: any) => { return result.concat(value.slice(3).join('\t')).concat('\n'); }, []).join(''); }; async function appendResults(auth: Oauth2Client, valuesToAppend: Array<GSheetsValuesToAppend>, options:GSheetsAppendResultsOptions):Promise<any> { try { const sheets = google.sheets('v4'); // clone values to append const values = Object.assign([], valuesToAppend); logger.log(getMessage('G_SHEETS_APPENDING', formatValues(valuesToAppend))); const response = await promisify(sheets.spreadsheets.values.append)({ auth: auth, spreadsheetId: options.spreadsheetId, range: `${options.tableName}!A1:C1`, valueInputOption: 'USER_ENTERED', resource: { values: values, }, }); const rangeValues: Array<GSheetsValuesToAppend> = await getRange(auth, response.updates.updatedRange, options.spreadsheetId); logger.log(getMessage('G_SHEETS_APPENDED', formatValues(rangeValues))); } catch(error) { logger.error(getMessage('G_SHEETS_API_ERROR', error)); throw new Error(error); } } export { appendResults }; ```
/content/code_sandbox/lib/sheets/gsheets.ts
xml
2016-08-24T04:22:43
2024-07-28T12:12:54
pwmetrics
paulirish/pwmetrics
1,247
490