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
/*
* @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
/**
* Evaluates the natural logarithm of the cumulative distribution function (logCDF) for a Cauchy distribution.
*
* @param x - input value
* @returns evaluated logCDF
*/
type Unary = ( x: number ) => number;
/**
* Interface for the logarithm of the cumulative distribution function (CDF) of a Cauchy distribution.
*/
interface LogCDF {
/**
* Evaluates the natural logarithm of the cumulative distribution function (logCDF) for a Cauchy distribution with location parameter `x0` and scale parameter `gamma` at a value `x`.
*
* ## Notes
*
* - If provided `gamma <= 0`, the function returns `NaN`.
*
* @param x - input value
* @param x0 - location parameter
* @param gamma - scale parameter
* @returns evaluated logCDF
*
* @example
* var y = logcdf( 4.0, 0.0, 2.0 );
* // returns ~-0.16
*
* @example
* var y = logcdf( 1.0, 0.0, 2.0 );
* // returns ~-0.435
*
* @example
* var y = logcdf( 1.0, 3.0, 2.0 );
* // returns ~-1.386
*
* @example
* var y = logcdf( NaN, 0.0, 2.0 );
* // returns NaN
*
* @example
* var y = logcdf( 1.0, 2.0, NaN );
* // returns NaN
*
* @example
* var y = logcdf( 1.0, NaN, 3.0 );
* // returns NaN
*/
( x: number, x0: number, gamma: number ): number;
/**
* Returns a function for evaluating the natural logarithm of the cumulative distribution function (logCDF) for a Cauchy distribution with location parameter `x0` and scale parameter `gamma`.
*
* @param x0 - location parameter
* @param gamma - scale parameter
* @returns logCDF
*
* @example
* var mylogcdf = logcdf.factory( 10.0, 2.0 );
*
* var y = mylogcdf( 10.0 );
* // returns ~-0.693
*
* y = mylogcdf( 12.0 );
* // returns ~-0.288
*/
factory( x0: number, gamma: number ): Unary;
}
/**
* Cauchy distribution logarithm of cumulative distribution function (CDF).
*
* @param x - input value
* @param x0 - location parameter
* @param gamma - scale parameter
* @returns evaluated logCDF
*
* @example
* var y = logcdf( 2.0, 0.0, 1.0 );
* // returns ~-0.16
*
* var mylogcdf = logcdf.factory( 1.5, 3.0 );
*
* y = mylogcdf( 1.0 );
* // returns ~-0.805
*/
declare var logCDF: LogCDF;
// EXPORTS //
export = logCDF;
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/base/dists/cauchy/logcdf/docs/types/index.d.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 795 |
```xml
/* eslint-disable no-console */
import { readFile, writeFile } from 'node:fs/promises';
import path from 'node:path';
const filePath = path.join(
process.cwd(),
'packages',
'graphql-tag-pluck',
'dist',
'esm',
'index.js',
);
async function main() {
console.time('done');
const content = await readFile(filePath, 'utf8');
await writeFile(
filePath,
`
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
${content}`.trimStart(),
);
console.timeEnd('done');
}
main();
``` | /content/code_sandbox/scripts/postbuild.ts | xml | 2016-03-22T00:14:38 | 2024-08-16T02:02:06 | graphql-tools | ardatan/graphql-tools | 5,331 | 135 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="about_contact_us">Kontaktiraj nas</string>
<string name="about_instagram">Sledi nam na Instagramu</string>
<string name="about_facebook">Vekaj nas na Facebooku</string>
<string name="about_play_store">Oceni nas na Trgovini Play</string>
<string name="about_youtube">Glej nas na Youtubu</string>
<string name="about_twitter">Sledi nam na Twitterju</string>
<string name="about_github">Forkaj nas na GitHubu</string>
<string name="about_website">Obii nao spletno stran</string>
</resources>
``` | /content/code_sandbox/library/src/main/res/values-sl/strings.xml | xml | 2016-04-20T23:26:30 | 2024-08-16T16:27:00 | android-about-page | medyo/android-about-page | 2,040 | 169 |
```xml
import { Given, Then } from 'cucumber';
import { expect } from 'chai';
import { last } from 'lodash';
let walletsTickers = [];
Given(/^the wallets have the following pending delegations:$/, async function (
delegationScenariosTable
) {
const delegationScenarios = delegationScenariosTable.hashes();
await this.client.waitUntil(async () => {
const stakePools = await this.client.execute(
() => daedalus.stores.staking.stakePools
);
return stakePools.value.length;
});
const walletsTickersInfo = await this.client.executeAsync(
(delegationScenarios, done) => {
const statusOptions = {
delegated: 'delegating',
undelegated: 'not_delegating',
};
const walletsTickers = [];
const modifiedWallets = [];
for (let index = 0; index < delegationScenarios.length; index++) {
const delegationQueue = delegationScenarios[
index
].DELEGATION_SCENARIO.split(' > ');
const modifiedWallet: {
name: string;
delegatedStakePoolId?: string;
delegationStakePoolStatus?: string;
lastDelegationStakePoolId?: string;
pendingDelegations: Array<Record<string, any>>;
syncState: Record<string, any>;
} = {
name: `Modified Wallet ${index + 1}`,
pendingDelegations: [],
syncState: {
status: 'ready',
},
};
const { stakePools } = daedalus.stores.staking;
const tickers = delegationQueue.map((delegationInfo, index) => {
const status = statusOptions[delegationInfo];
const stakePool = status === 'delegating' ? stakePools[index] : null;
const ticker = stakePool ? `[${stakePool.ticker}]` : 'UNDELEGATED';
const stakePoolId = stakePool ? stakePool.id : null;
return {
status,
ticker,
stakePoolId,
};
});
walletsTickers.push(tickers);
tickers.forEach(({ stakePoolId, status }, index) => {
if (index === 0) {
modifiedWallet.delegatedStakePoolId = stakePoolId;
modifiedWallet.delegationStakePoolStatus = status;
} else {
modifiedWallet.lastDelegationStakePoolId = stakePoolId;
modifiedWallet.pendingDelegations[index - 1] = {
status,
target: stakePoolId,
changes_at: {
epoch_start_time: '2020-02-02T02:02:57Z',
epoch_number: 123456789,
},
};
}
});
modifiedWallets.push(modifiedWallet);
}
// @ts-ignore
daedalus.api.ada.setTestingWallets(modifiedWallets);
done(walletsTickers);
},
delegationScenarios
);
walletsTickers = walletsTickersInfo.value;
});
Then(
/^the wallets should correctly display the correct stake pool tickers$/,
{
timeout: 60000,
},
async function () {
const walletNameSelector = '.WalletRow_title';
await this.client.waitForVisible(walletNameSelector);
// Waits for the patchAdaApi to transform the wallet values
await this.client.waitUntil(async () => {
const walletNames = await this.waitAndGetText(walletNameSelector);
return last(walletNames) === `Modified Wallet ${walletsTickers.length}`;
});
const tickerSelector = '.tickerText';
await this.client.waitForVisible(tickerSelector);
for (let index = 0; index < walletsTickers.length; index++) {
const expectedTickers = walletsTickers[index];
let tickerTexts = await this.waitAndGetText(
`.WalletRow_component:nth-child(${index + 1}) ${tickerSelector}`
);
if (!Array.isArray(tickerTexts)) tickerTexts = [tickerTexts];
expect(tickerTexts.length).to.equal(expectedTickers.length);
tickerTexts.forEach((tickerText, index) => {
const { ticker: expectedTickerText } = expectedTickers[index];
expect(tickerText).to.equal(expectedTickerText);
});
}
}
);
Then(/^the ADA logo should be displayed as follows:$/, async function (
visibilityTable
) {
const visibility = visibilityTable.hashes();
for (let index = 0; index < visibility.length; index++) {
const shouldBeVisible = visibility[index].ADA_LOGO === 'visible';
await this.client.waitForVisible(
`.WalletRow_component:nth-child(${index + 1}) .WalletRow_activeAdaSymbol`,
null,
!shouldBeVisible
);
}
});
Then(/^the tooltips should be displayed as follows:$/, async function (
tooltipsTable
) {
const tooltipsScenarios = tooltipsTable.hashes();
for (let index = 0; index < tooltipsScenarios.length; index++) {
const expectedTooltips = tooltipsScenarios[index].TOOLTIPS.split(
' > '
).filter((value) => value !== 'none');
if (expectedTooltips.length) {
let tooltipTexts = await this.client.getHTML(
`.WalletRow_component:nth-child(${
index + 1
}) .WalletRow_status .WalletRow_tooltipLabelWrapper span`
);
if (!Array.isArray(tooltipTexts)) tooltipTexts = [tooltipTexts];
expect(tooltipTexts.length).to.equal(expectedTooltips.length);
expectedTooltips.forEach((expectedTooltip, index) => {
const tooltipText = tooltipTexts[index];
const expectedExcerpt =
expectedTooltip === 'earning_rewards'
? 'Earning rewards'
: 'From epoch';
expect(tooltipText).to.have.string(expectedExcerpt);
});
}
}
});
Then(/^the action links should be displayed as follows:$/, async function (
linksTable
) {
const linksScenarios = linksTable.hashes();
for (let index = 0; index < linksScenarios.length; index++) {
const expectedLinkExcerpts = linksScenarios[index].LINKS.split(' or ');
const linksHTML = await this.client.getHTML(
`.WalletRow_component:nth-child(${index + 1}) .WalletRow_action`
);
expectedLinkExcerpts.forEach((expectedLinkExcerpt) => {
expect(linksHTML).to.have.string(expectedLinkExcerpt);
});
}
});
``` | /content/code_sandbox/tests/delegation/e2e/steps/delegation-pending.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 1,401 |
```xml
import "../styles/globals.css";
export default function MyApp({ Component, pageProps }) {
return <Component {...pageProps} />;
}
``` | /content/code_sandbox/examples/cms-webiny/pages/_app.tsx | xml | 2016-10-05T23:32:51 | 2024-08-16T19:44:30 | next.js | vercel/next.js | 124,056 | 29 |
```xml
/*
* Public API Surface of gridster
*/
export { GridsterComponent } from './lib/gridster.component';
export { GridsterItemComponent } from './lib/gridsterItem.component';
export {
GridsterItemComponentInterface,
GridsterItem
} from './lib/gridsterItem.interface';
export { GridsterComponentInterface } from './lib/gridster.interface';
export {
GridsterConfig,
GridType,
DisplayGrid,
CompactType,
Draggable,
Resizable,
PushDirections,
DirTypes
} from './lib/gridsterConfig.interface';
export { GridsterConfigService } from './lib/gridsterConfig.constant';
export { GridsterModule } from './lib/gridster.module';
export { GridsterPush } from './lib/gridsterPush.service';
export { GridsterPushResize } from './lib/gridsterPushResize.service';
export { GridsterSwap } from './lib/gridsterSwap.service';
``` | /content/code_sandbox/projects/angular-gridster2/src/public_api.ts | xml | 2016-01-13T10:43:19 | 2024-08-14T12:20:18 | angular-gridster2 | tiberiuzuld/angular-gridster2 | 1,267 | 192 |
```xml
import type { StrictArgTypes } from '@storybook/core/types';
import pickBy from 'lodash/pickBy.js';
export type PropDescriptor = string[] | RegExp;
const matches = (name: string, descriptor: PropDescriptor) =>
Array.isArray(descriptor) ? descriptor.includes(name) : name.match(descriptor);
export const filterArgTypes = (
argTypes: StrictArgTypes,
include?: PropDescriptor,
exclude?: PropDescriptor
) => {
if (!include && !exclude) {
return argTypes;
}
return (
argTypes &&
pickBy(argTypes, (argType, key) => {
const name = argType.name || key;
return (!include || matches(name, include)) && (!exclude || !matches(name, exclude));
})
);
};
``` | /content/code_sandbox/code/core/src/preview-api/modules/store/filterArgTypes.ts | xml | 2016-03-18T04:23:44 | 2024-08-16T19:22:08 | storybook | storybookjs/storybook | 83,755 | 166 |
```xml
import {PathParams} from "@tsed/platform-params";
import {Get} from "@tsed/schema";
import {Controller, Inject} from "@tsed/di";
import {CalendarsService} from "../services/CalendarsService";
import {IDFormatException} from "../errors/IDFormatException";
@Controller("/calendars")
export class CalendarCtrl {
@Inject()
calendarsService: CalendarsService;
@Get("/:id")
async get(@PathParams("id") id: number) {
if (isNaN(+id)) {
throw new IDFormatException();
}
}
}
``` | /content/code_sandbox/docs/docs/snippets/exceptions/custom-exception-usage.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 124 |
```xml
// See LICENSE in the project root for license information.
/**
* A fast, lightweight pattern matcher for tree structures such as an Abstract Syntax Tree (AST).
*
* @packageDocumentation
*/
export * from './TreePattern';
``` | /content/code_sandbox/libraries/tree-pattern/src/index.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 46 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="webrtc_error_recover">Recuperar</string>
<string name="webrtc_error_open_settings">Abrir configuraes</string>
<string name="webrtc_stream_mode">Modo global (WebRTC)</string>
<string name="webrtc_stream_mode_description">Descrio do modo global</string>
<string name="webrtc_stream_mode_details">
- Alimentado pela tecnologia WebRTC.\n
- Comunicao criptografada de ponta a ponta.\n
- Proteo do stream com senha.\n
- Pode enviar vdeo e udio.\n
- Conecte-se usando um ID de stream exclusivo e senha.\n
- Requer uma conexo com a Internet para fazer streaming.\n
- Transmisso de dados individual para cada cliente (quanto mais clientes, mais largura de banda da Internet necessria).
</string>
<string name="webrtc_stream_server_address">Acesse o stream em:\n%1$s</string>
<string name="webrtc_stream_stream_id_getting">Obtendo ID do stream</string>
<string name="webrtc_stream_stream_id">ID do stream: %1$s</string>
<string name="webrtc_stream_stream_password">Senha do stream: %1$s</string>
<string name="webrtc_stream_description_show_password">Mostrar senha do stream</string>
<string name="webrtc_stream_description_get_new_id">Obter novo ID do stream</string>
<string name="webrtc_stream_description_create_password">Criar nova senha do stream</string>
<string name="webrtc_stream_description_open_address">Abrir endereo</string>
<string name="webrtc_stream_description_copy_address">Copiar endereo</string>
<string name="webrtc_stream_description_share_address">Compartilhar endereo</string>
<string name="webrtc_stream_description_qr_address">Mostrar endereo como cdigo QR</string>
<string name="webrtc_stream_description_qr">Cdigo QR</string>
<string name="webrtc_stream_copied">Copiado</string>
<string name="webrtc_stream_audio_select">Selecionar fontes de udio:</string>
<string name="webrtc_stream_audio_mic">Microfone</string>
<string name="webrtc_stream_audio_device">udio do dispositivo</string>
<string name="webrtc_stream_connected_clients">Clientes conectados: %1$d</string>
<string name="webrtc_stream_no_web_browser_found">Nenhum navegador da web encontrado</string>
<string name="webrtc_stream_external_app_error">Erro na aplicao externa</string>
<string name="webrtc_stream_share_address">Compartilhar endereo do dispositivo</string>
<string name="webrtc_stream_start">Iniciar transmisso</string>
<string name="webrtc_stream_stop">Parar transmisso</string>
<string name="webrtc_pref_header">Configuraes do modo global (WebRTC)</string>
<string name="webrtc_pref_keep_awake">Manter o dispositivo ativo</string>
<string name="webrtc_pref_keep_awake_summary">Manter o dispositivo e a tela ativos durante a transmisso</string>
<string name="webrtc_pref_stop_on_sleep">Parar a transmisso ao adormecer</string>
<string name="webrtc_pref_stop_on_sleep_summary">Parar a transmisso quando a tela se desligar</string>
<string name="webrtc_stream_audio_permission_title">Permitir gravao de udio</string>
<string name="webrtc_stream_audio_permission_message">A permisso para gravar udio necessria para que o aplicativo faa streaming de contedo de udio.\n\nSem conceder essa permisso, o stream ficar sem udio.</string>
<string name="webrtc_stream_audio_permission_message_settings">Conceder acesso ao microfone nas permisses do aplicativo necessrio para que o aplicativo faa streaming de contedo de udio.\n\nSem conceder essa permisso, o stream ser conduzido sem udio.</string>
<string name="webrtc_stream_audio_permission_open_settings">Abrir configuraes</string>
<string name="webrtc_stream_cast_permission_required_title">Permisso necessria</string>
<string name="webrtc_stream_cast_permission_required">O aplicativo ScreenStream requer permisso de Cast de Tela para capturar a tela.</string>
<string name="webrtc_item_client_disconnect">Desconectar</string>
<string name="webrtc_error_play_integrity_update_play_store">Por favor, atualize o Google Play Store</string>
<string name="webrtc_error_play_integrity_install_play_store">Por favor, instale ou ative o Google Play Store oficial</string>
<string name="webrtc_error_play_integrity_install_play_service">Por favor, instale ou ative os Servios do Google Play</string>
<string name="webrtc_error_play_integrity_update_play_service">Por favor, atualize os Servios do Google Play</string>
<string name="webrtc_error_check_network">Por favor, verifique a conectividade com a Internet</string>
<string name="webrtc_notification_permission_required">O aplicativo requer notificaes ativadas para iniciar o servio de transmisso.\nPor favor, ative as notificaes nas configuraes do aplicativo.</string>
<string name="webrtc_error_unspecified">Algo deu errado. Por favor, tente novamente mais tarde.</string>
</resources>
``` | /content/code_sandbox/webrtc/src/main/res/values-pt/strings.xml | xml | 2016-07-18T08:07:33 | 2024-08-14T13:46:53 | ScreenStream | dkrivoruchko/ScreenStream | 1,630 | 1,263 |
```xml
<dict>
<key>LayoutID</key>
<integer>28</integer>
<key>PathMapRef</key>
<array>
<dict>
<key>CodecID</key>
<array>
<integer>283902549</integer>
</array>
<key>Headphone</key>
<dict>
<key>AmpPostDelay</key>
<integer>50</integer>
<key>AmpPreDelay</key>
<integer>100</integer>
<key>DefaultVolume</key>
<integer>4292870144</integer>
<key>Headset_dBV</key>
<integer>-1055916032</integer>
</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>48</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>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>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/layout28.xml | xml | 2016-03-07T20:45:58 | 2024-08-14T08:57:03 | AppleALC | acidanthera/AppleALC | 3,420 | 11,770 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>$(DEVELOPMENT_LANGUAGE)</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>BNDL</string>
<key>CFBundleShortVersionString</key>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
</dict>
</plist>
``` | /content/code_sandbox/Tests/Shared/Resources/Info.plist | xml | 2016-04-03T08:28:34 | 2024-08-16T19:21:00 | iOS | home-assistant/iOS | 1,514 | 219 |
```xml
import { css } from '@microsoft/fast-element';
import { display } from '../utils/index.js';
import {
fontFamilyBase,
fontFamilyMonospace,
fontFamilyNumeric,
fontSizeBase100,
fontSizeBase200,
fontSizeBase300,
fontSizeBase400,
fontSizeBase500,
fontSizeBase600,
fontSizeHero1000,
fontSizeHero700,
fontSizeHero800,
fontSizeHero900,
fontWeightBold,
fontWeightMedium,
fontWeightRegular,
fontWeightSemibold,
lineHeightBase100,
lineHeightBase200,
lineHeightBase300,
lineHeightBase400,
lineHeightBase500,
lineHeightBase600,
lineHeightHero1000,
lineHeightHero700,
lineHeightHero800,
lineHeightHero900,
} from '../theme/design-tokens.js';
/**
* Selector for the `nowrap` state.
* @public
*/
const nowrapState = css.partial`:is([state--nowrap], :state(nowrap))`;
/**
* Selector for the `truncate` state.
* @public
*/
const truncateState = css.partial`:is([state--truncate], :state(truncate))`;
/**
* Selector for the `underline` state.
* @public
*/
const underlineState = css.partial`:is([state--underline], :state(underline))`;
/**
* Selector for the `strikethrough` state.
* @public
*/
const strikethroughState = css.partial`:is([state--strikethrough], :state(strikethrough))`;
/** Text styles
* @public
*/
export const styles = css`
${display('inline')}
:host {
contain: content;
font-family: ${fontFamilyBase};
font-size: ${fontSizeBase300};
line-height: ${lineHeightBase300};
font-weight: ${fontWeightRegular};
text-align: start;
}
:host(${nowrapState}),
:host(${nowrapState}) ::slotted(*) {
white-space: nowrap;
overflow: hidden;
}
:host(${truncateState}),
:host(${truncateState}) ::slotted(*) {
text-overflow: ellipsis;
}
:host(:is([state--block], :state(block))) {
display: block;
}
:host(:is([state--italic], :state(italic))) {
font-style: italic;
}
:host(${underlineState}) {
text-decoration-line: underline;
}
:host(${strikethroughState}) {
text-decoration-line: line-through;
}
:host(${underlineState}${strikethroughState}) {
text-decoration-line: line-through underline;
}
:host(:is([state--size-100], :state(size-100))) {
font-size: ${fontSizeBase100};
line-height: ${lineHeightBase100};
}
:host(:is([state--size-200], :state(size-200))) {
font-size: ${fontSizeBase200};
line-height: ${lineHeightBase200};
}
:host(:is([state--size-400], :state(size-400))) {
font-size: ${fontSizeBase400};
line-height: ${lineHeightBase400};
}
:host(:is([state--size-500], :state(size-500))) {
font-size: ${fontSizeBase500};
line-height: ${lineHeightBase500};
}
:host(:is([state--size-600], :state(size-600))) {
font-size: ${fontSizeBase600};
line-height: ${lineHeightBase600};
}
:host(:is([state--size-700], :state(size-700))) {
font-size: ${fontSizeHero700};
line-height: ${lineHeightHero700};
}
:host(:is([state--size-800], :state(size-800))) {
font-size: ${fontSizeHero800};
line-height: ${lineHeightHero800};
}
:host(:is([state--size-900], :state(size-900))) {
font-size: ${fontSizeHero900};
line-height: ${lineHeightHero900};
}
:host(:is([state--size-1000], :state(size-1000))) {
font-size: ${fontSizeHero1000};
line-height: ${lineHeightHero1000};
}
:host(:is([state--monospace], :state(monospace))) {
font-family: ${fontFamilyMonospace};
}
:host(:is([state--numeric], :state(numeric))) {
font-family: ${fontFamilyNumeric};
}
:host(:is([state--medium], :state(medium))) {
font-weight: ${fontWeightMedium};
}
:host(:is([state--semibold], :state(semibold))) {
font-weight: ${fontWeightSemibold};
}
:host(:is([state--bold], :state(bold))) {
font-weight: ${fontWeightBold};
}
:host(:is([state--center], :state(center))) {
text-align: center;
}
:host(:is([state--end], :state(end))) {
text-align: end;
}
:host(:is([state--justify], :state(justify))) {
text-align: justify;
}
::slotted(*) {
display: inherit;
font: inherit;
line-height: inherit;
text-decoration-line: inherit;
text-align: inherit;
text-decoration-line: inherit;
margin: 0;
}
`;
``` | /content/code_sandbox/packages/web-components/src/text/text.styles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 1,179 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="path_to_url">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:minHeight="72dp"
android:orientation="vertical"
android:padding="16dp"
android:background="?attr/defaultRectRipple">
<TextView
android:id="@+id/url"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1" />
<TextView
android:id="@+id/status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
android:textAppearance="@style/TextCaption" />
<TextView
android:id="@+id/message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextCaption" />
</LinearLayout>
</layout>
``` | /content/code_sandbox/app/src/main/res/layout/item_trackers_list.xml | xml | 2016-10-18T15:38:44 | 2024-08-16T19:19:31 | libretorrent | proninyaroslav/libretorrent | 1,973 | 236 |
```xml
/**
* Default storage location options.
*
* `disk` generally means state that is accessible between restarts of the application,
* with the exception of the web client. In web this means `sessionStorage`. The data
* persists through refreshes of the page but not available once that tab is closed or
* from any other tabs.
*
* `memory` means that the information stored there goes away during application
* restarts.
*/
export type StorageLocation = "disk" | "memory";
/**
* *Note*: The property names of this object should match exactly with the string values of the {@link ClientType} enum
*/
export type ClientLocations = {
/**
* Overriding storage location for the web client.
*
* Includes an extra storage location to store data in `localStorage`
* that is available from different tabs and after a tab has closed.
*/
web: StorageLocation | "disk-local";
/**
* Overriding storage location for browser clients.
*
* `"memory-large-object"` is used to store non-countable objects in memory. This exists due to limited persistent memory available to browser extensions.
*
* `"disk-backup-local-storage"` is used to store object in both disk and in `localStorage`. Data is stored in both locations but is only retrieved
* from `localStorage` when a null-ish value is retrieved from disk first.
*/
browser: StorageLocation | "memory-large-object" | "disk-backup-local-storage";
/**
* Overriding storage location for desktop clients.
*/
//desktop: StorageLocation;
/**
* Overriding storage location for CLI clients.
*/
//cli: StorageLocation;
};
/**
* Defines the base location and instruction of where this state is expected to be located.
*/
export class StateDefinition {
readonly storageLocationOverrides: Partial<ClientLocations>;
/**
* Creates a new instance of {@link StateDefinition}, the creation of which is owned by the platform team.
* @param name The name of the state, this needs to be unique from all other {@link StateDefinition}'s.
* @param defaultStorageLocation The location of where this state should be stored.
*/
constructor(
readonly name: string,
readonly defaultStorageLocation: StorageLocation,
storageLocationOverrides?: Partial<ClientLocations>,
) {
this.storageLocationOverrides = storageLocationOverrides ?? {};
}
}
``` | /content/code_sandbox/libs/common/src/platform/state/state-definition.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 501 |
```xml
import { RendererIpcChannel } from './lib/RendererIpcChannel';
import { LOAD_ASSET_CHANNEL } from '../../../common/ipc/api';
import type {
LoadAssetRendererRequest,
LoadAssetMainResponse,
} from '../../../common/ipc/api';
// IpcChannel<Incoming, Outgoing>
export const loadAssetChannel: RendererIpcChannel<
LoadAssetMainResponse,
LoadAssetRendererRequest
> = new RendererIpcChannel(LOAD_ASSET_CHANNEL);
``` | /content/code_sandbox/source/renderer/app/ipc/loadAsset.ts | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 100 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<doc>
<assembly>
<name>System.Globalization</name>
</assembly>
<members>
<member name="T:System.Globalization.Calendar">
<summary>Rappresenta il tempo in suddivisioni, come settimane, mesi e anni.</summary>
</member>
<member name="M:System.Globalization.Calendar.#ctor">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.Calendar" />.</summary>
</member>
<member name="M:System.Globalization.Calendar.AddDays(System.DateTime,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di giorni specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di giorni e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> al quale aggiungere i giorni. </param>
<param name="days">Numero di giorni da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="days" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddHours(System.DateTime,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di ore specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di ore e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> al quale aggiungere le ore. </param>
<param name="hours">Numero di ore da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="hours" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddMilliseconds(System.DateTime,System.Double)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di millisecondi specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di millisecondi e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Oggetto <see cref="T:System.DateTime" /> al quale aggiungere i millisecondi. </param>
<param name="milliseconds">Numero di millisecondi da aggiungere.</param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="milliseconds" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddMinutes(System.DateTime,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di minuti specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di minuti e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> al quale aggiungere i minuti. </param>
<param name="minutes">Numero di minuti da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="minutes" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddMonths(System.DateTime,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di mesi specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di mesi e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Oggetto <see cref="T:System.DateTime" /> a cui aggiungere i mesi. </param>
<param name="months">Numero di mesi da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="months" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddSeconds(System.DateTime,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di secondi specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di secondi e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> al quale aggiungere i secondi. </param>
<param name="seconds">Numero di secondi da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="seconds" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddWeeks(System.DateTime,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di settimane specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero specificato di settimane e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> al quale aggiungere le settimane. </param>
<param name="weeks">Numero di settimane da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="weeks" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="M:System.Globalization.Calendar.AddYears(System.DateTime,System.Int32)">
<summary>Quando viene sottoposto a override in una classe derivata, restituisce un valore <see cref="T:System.DateTime" /> che rappresenta il numero di anni specificato a partire dal valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DateTime" /> risultante dalla somma del numero di anni specificato e del valore <see cref="T:System.DateTime" /> specificato.</returns>
<param name="time">Oggetto <see cref="T:System.DateTime" /> a cui aggiungere anni. </param>
<param name="years">Numero di anni da aggiungere. </param>
<exception cref="T:System.ArgumentException">L'oggetto <see cref="T:System.DateTime" /> risultante non compreso nell'intervallo supportato dal calendario. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="years" /> non compreso nell'intervallo supportato dal valore <see cref="T:System.DateTime" /> restituito. </exception>
</member>
<member name="F:System.Globalization.Calendar.CurrentEra">
<summary>Rappresenta l'era corrente del calendario corrente. </summary>
</member>
<member name="P:System.Globalization.Calendar.Eras">
<summary>Quando sottoposto a override in una classe derivata, ottiene l'elenco delle ere nel calendario corrente.</summary>
<returns>Matrice di valori interi che rappresenta le ere nel calendario corrente.</returns>
</member>
<member name="M:System.Globalization.Calendar.GetDayOfMonth(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il giorno del mese nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero positivo che rappresenta il giorno del mese nel parametro <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetDayOfWeek(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il giorno della settimana nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore <see cref="T:System.DayOfWeek" /> che rappresenta il giorno della settimana nel parametro <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetDayOfYear(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il giorno dell'anno nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero positivo che rappresenta il giorno dell'anno nel parametro <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetDaysInMonth(System.Int32,System.Int32)">
<summary>Restituisce il numero di giorni nel mese e nell'anno specificati dell'era corrente.</summary>
<returns>Numero di giorni nel mese specificato dell'anno specificato dell'era corrente.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetDaysInMonth(System.Int32,System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il numero di giorni nel mese, nell'anno e nell'era specificati.</summary>
<returns>Numero di giorni nel mese specificato dell'anno specificato dell'era specificata.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetDaysInYear(System.Int32)">
<summary>Restituisce il numero di giorni nell'anno specificato dell'era corrente.</summary>
<returns>Numero di giorni nell'anno specificato dell'era corrente.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetDaysInYear(System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il numero di giorni nell'anno e nell'era specificati.</summary>
<returns>Numero di giorni nell'anno specificato dell'era specificata.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetEra(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce l'era nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero che rappresenta l'era in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetHour(System.DateTime)">
<summary>Restituisce il valore delle ore nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero compreso tra 0 e 23 che rappresenta l'ora in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetLeapMonth(System.Int32,System.Int32)">
<summary>Calcola il mese intercalare per un anno e un'era specificati.</summary>
<returns>Valore intero positivo che indica il mese intercalare nell'anno e nell'era specificati.- oppure -Zero se il calendario non supporta un mese intercalare o se i parametri <paramref name="year" /> e <paramref name="era" /> non specificano un anno bisestile.</returns>
<param name="year">Un anno.</param>
<param name="era">Un'era.</param>
</member>
<member name="M:System.Globalization.Calendar.GetMilliseconds(System.DateTime)">
<summary>Restituisce il valore dei millisecondi nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Numero a virgola mobile e precisione doppia compreso tra 0 e 999 che rappresenta i millisecondi nel parametro <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetMinute(System.DateTime)">
<summary>Restituisce il valore dei minuti nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero compreso tra 0 e 59 che rappresenta i minuti in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetMonth(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il mese nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero positivo che rappresenta il mese in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetMonthsInYear(System.Int32)">
<summary>Restituisce il numero di mesi nell'anno specificato dell'era corrente.</summary>
<returns>Numero di mesi nell'anno specificato dell'era corrente.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetMonthsInYear(System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, restituisce il numero di mesi nell'anno specificato dell'era specificata.</summary>
<returns>Numero di mesi nell'anno specificato dell'era specificata.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetSecond(System.DateTime)">
<summary>Restituisce il valore dei secondi nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero compreso tra 0 e 59 che rappresenta i secondi in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.GetWeekOfYear(System.DateTime,System.Globalization.CalendarWeekRule,System.DayOfWeek)">
<summary>Restituisce la settimana dell'anno che comprende la data nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero positivo che rappresenta la settimana dell'anno che include la data nel parametro <paramref name="time" />.</returns>
<param name="time">Valore di data e ora. </param>
<param name="rule">Valore di enumerazione che definisce una settimana di calendario. </param>
<param name="firstDayOfWeek">Valore di enumerazione che rappresenta il primo giorno della settimana. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="time" /> precedente a <see cref="P:System.Globalization.Calendar.MinSupportedDateTime" /> o successivo a <see cref="P:System.Globalization.Calendar.MaxSupportedDateTime" />.- oppure -<paramref name="firstDayOfWeek" /> non un valore <see cref="T:System.DayOfWeek" /> valido.- oppure - <paramref name="rule" /> non un valore <see cref="T:System.Globalization.CalendarWeekRule" /> valido. </exception>
</member>
<member name="M:System.Globalization.Calendar.GetYear(System.DateTime)">
<summary>Quando sottoposto a override in una classe derivata, restituisce l'anno nel valore <see cref="T:System.DateTime" /> specificato.</summary>
<returns>Valore intero che rappresenta l'anno in <paramref name="time" />.</returns>
<param name="time">Valore <see cref="T:System.DateTime" /> da leggere. </param>
</member>
<member name="M:System.Globalization.Calendar.IsLeapDay(System.Int32,System.Int32,System.Int32)">
<summary>Determina se la data specificata nell'era corrente un giorno intercalare.</summary>
<returns>true se il giorno specificato intercalare. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="day">Valore intero positivo che rappresenta il giorno. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="day" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.IsLeapDay(System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, determina se la data specificata nell'era specificata un giorno intercalare.</summary>
<returns>true se il giorno specificato intercalare. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="day">Valore intero positivo che rappresenta il giorno. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="day" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.IsLeapMonth(System.Int32,System.Int32)">
<summary>Determina se il mese specificato nell'anno specificato dell'era corrente intercalare.</summary>
<returns>true se il mese specificato intercalare. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.IsLeapMonth(System.Int32,System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, determina se il mese specificato nell'anno specificato dell'era specificata intercalare.</summary>
<returns>true se il mese specificato intercalare. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.IsLeapYear(System.Int32)">
<summary>Determina se l'anno specificato nell'era corrente bisestile.</summary>
<returns>true se l'anno specificato bisestile. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.IsLeapYear(System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, determina se l'anno specificato nell'era specificata bisestile.</summary>
<returns>true se l'anno specificato bisestile. In caso contrario, false.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="P:System.Globalization.Calendar.IsReadOnly">
<summary>Ottiene un valore che indica se l'oggetto <see cref="T:System.Globalization.Calendar" /> in sola lettura.</summary>
<returns>true se l'oggetto <see cref="T:System.Globalization.Calendar" /> in sola lettura. In caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.Calendar.MaxSupportedDateTime">
<summary>Ottiene la data e l'ora pi recenti supportate dall'oggetto <see cref="T:System.Globalization.Calendar" />.</summary>
<returns>La data e l'ora pi recenti supportate dal calendario.Il valore predefinito <see cref="F:System.DateTime.MaxValue" />.</returns>
</member>
<member name="P:System.Globalization.Calendar.MinSupportedDateTime">
<summary>Ottiene la data e l'ora meno recenti supportate dall'oggetto <see cref="T:System.Globalization.Calendar" />.</summary>
<returns>La data e l'ora meno recenti supportate dal calendario.Il valore predefinito <see cref="F:System.DateTime.MinValue" />.</returns>
</member>
<member name="M:System.Globalization.Calendar.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>Restituisce un valore <see cref="T:System.DateTime" /> impostato sulla data e sull'ora specificate nell'era corrente.</summary>
<returns>Valore <see cref="T:System.DateTime" /> impostato sulla data e sull'ora specificate nell'era corrente.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="day">Valore intero positivo che rappresenta il giorno. </param>
<param name="hour">Valore intero compreso tra 0 e 23 che rappresenta l'ora. </param>
<param name="minute">Valore intero compreso tra 0 e 59 che rappresenta il minuto. </param>
<param name="second">Valore intero compreso tra 0 e 59 che rappresenta il secondo. </param>
<param name="millisecond">Valore intero compreso tra 0 e 999 che rappresenta il millisecondo. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="day" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="hour" /> minore di zero o maggiore di 23.- oppure - <paramref name="minute" /> minore di zero o maggiore di 59.- oppure - <paramref name="second" /> minore di zero o maggiore di 59.- oppure - <paramref name="millisecond" /> minore di zero o maggiore di 999. </exception>
</member>
<member name="M:System.Globalization.Calendar.ToDateTime(System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32,System.Int32)">
<summary>Quando sottoposto a override in una classe derivata, restituisce un valore <see cref="T:System.DateTime" /> impostato sulla data e sull'ora specificate nell'era specificata.</summary>
<returns>Valore <see cref="T:System.DateTime" /> impostato sulla data e sull'ora specificate nell'era corrente.</returns>
<param name="year">Valore intero che rappresenta l'anno. </param>
<param name="month">Valore intero positivo che rappresenta il mese. </param>
<param name="day">Valore intero positivo che rappresenta il giorno. </param>
<param name="hour">Valore intero compreso tra 0 e 23 che rappresenta l'ora. </param>
<param name="minute">Valore intero compreso tra 0 e 59 che rappresenta il minuto. </param>
<param name="second">Valore intero compreso tra 0 e 59 che rappresenta il secondo. </param>
<param name="millisecond">Valore intero compreso tra 0 e 999 che rappresenta il millisecondo. </param>
<param name="era">Valore intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="month" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="day" /> non compreso nell'intervallo supportato dal calendario.- oppure - <paramref name="hour" /> minore di zero o maggiore di 23.- oppure - <paramref name="minute" /> minore di zero o maggiore di 59.- oppure - <paramref name="second" /> minore di zero o maggiore di 59.- oppure - <paramref name="millisecond" /> minore di zero o maggiore di 999.- oppure - <paramref name="era" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="M:System.Globalization.Calendar.ToFourDigitYear(System.Int32)">
<summary>Converte l'anno specificato in un anno a quattro cifre utilizzando la propriet <see cref="P:System.Globalization.Calendar.TwoDigitYearMax" /> per determinare il secolo corretto.</summary>
<returns>Intero che contiene la rappresentazione a quattro cifre di <paramref name="year" />.</returns>
<param name="year">Valore intero a due o quattro cifre che rappresenta l'anno da convertire. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="year" /> non compreso nell'intervallo supportato dal calendario. </exception>
</member>
<member name="P:System.Globalization.Calendar.TwoDigitYearMax">
<summary>Ottiene o imposta l'ultimo anno che, nell'intervallo di un secolo, pu essere rappresentato da un anno a due cifre.</summary>
<returns>L'ultimo anno che, nell'intervallo di un secolo, pu essere rappresentato da un anno a due cifre.</returns>
<exception cref="T:System.InvalidOperationException">L'oggetto <see cref="T:System.Globalization.Calendar" /> corrente in sola lettura.</exception>
</member>
<member name="T:System.Globalization.CalendarWeekRule">
<summary>Definisce regole diverse per determinare la prima settimana dell'anno.</summary>
</member>
<member name="F:System.Globalization.CalendarWeekRule.FirstDay">
<summary>Indica che la prima settimana dell'anno inizia con il primo giorno dell'anno e termina prima del successivo primo giorno della settimana designato.Il valore 0.</summary>
</member>
<member name="F:System.Globalization.CalendarWeekRule.FirstFourDayWeek">
<summary>Indica che la prima settimana dell'anno la prima settimana con quattro o pi giorni prima del primo giorno della settimana designato.Il valore 2.</summary>
</member>
<member name="F:System.Globalization.CalendarWeekRule.FirstFullWeek">
<summary>Indica che la prima settimana dell'anno inizia con la prima occorrenza del primo giorno della settimana designato in corrispondenza o dopo il primo giorno dell'anno.Il valore 1.</summary>
</member>
<member name="T:System.Globalization.CharUnicodeInfo">
<summary>Recupera informazioni su un carattere Unicode.La classe non pu essere ereditata.</summary>
</member>
<member name="M:System.Globalization.CharUnicodeInfo.GetNumericValue(System.Char)">
<summary>Ottiene il valore numerico associato al carattere specificato.</summary>
<returns>Valore numerico associato al carattere specificato.In alternativa -1, se il carattere specificato non un carattere numerico.</returns>
<param name="ch">Carattere Unicode per cui ottenere il valore numerico. </param>
</member>
<member name="M:System.Globalization.CharUnicodeInfo.GetNumericValue(System.String,System.Int32)">
<summary>Ottiene il valore numerico associato al carattere nell'indice specificato della stringa specificata.</summary>
<returns>Valore numerico associato al carattere nell'indice specificato della stringa specificata.In alternativa -1, se il carattere nell'indice specificato della stringa specificata non un carattere numerico.</returns>
<param name="s">Oggetto <see cref="T:System.String" /> contenente il carattere Unicode per cui ottenere il valore numerico. </param>
<param name="index">Indice del carattere Unicode per cui ottenere il valore numerico. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="s" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> non compreso nell'intervallo di indici validi in <paramref name="s" />. </exception>
</member>
<member name="M:System.Globalization.CharUnicodeInfo.GetUnicodeCategory(System.Char)">
<summary>Ottiene la categoria Unicode di un carattere specificato.</summary>
<returns>Valore <see cref="T:System.Globalization.UnicodeCategory" /> che indica la categoria del carattere specificato.</returns>
<param name="ch">Carattere Unicode per cui ottenere la categoria Unicode. </param>
</member>
<member name="M:System.Globalization.CharUnicodeInfo.GetUnicodeCategory(System.String,System.Int32)">
<summary>Ottiene la categoria Unicode del carattere nell'indice specificato della stringa specificata.</summary>
<returns>Valore <see cref="T:System.Globalization.UnicodeCategory" /> che indica la categoria del carattere nell'indice specificato della stringa specificata.</returns>
<param name="s">Oggetto <see cref="T:System.String" /> che contiene il carattere Unicode per cui ottenere la categoria Unicode. </param>
<param name="index">Indice del carattere Unicode per cui ottenere la categoria Unicode. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="s" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> non compreso nell'intervallo di indici validi in <paramref name="s" />. </exception>
</member>
<member name="T:System.Globalization.CompareInfo">
<summary>Implementa un insieme di metodi per i confronti tra stringhe sensibili alle impostazioni cultura.</summary>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32)">
<summary>Confronta due sezioni di due stringhe.</summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero La sezione specificata di <paramref name="string1" /> minore della sezione specificata di <paramref name="string2" />. maggiore di zero La sezione specificata di <paramref name="string1" /> maggiore della sezione specificata di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="offset1">Indice in base zero del carattere in <paramref name="string1" /> dal quale iniziare il confronto. </param>
<param name="length1">Numero di caratteri consecutivi in <paramref name="string1" /> da confrontare. </param>
<param name="string2">Seconda stringa da confrontare. </param>
<param name="offset2">Indice in base zero del carattere in <paramref name="string2" /> dal quale iniziare il confronto. </param>
<param name="length2">Numero di caratteri consecutivi in <paramref name="string2" /> da confrontare. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset1" />, <paramref name="length1" />, <paramref name="offset2" /> o <paramref name="length2" /> minore di zero.-oppure- <paramref name="offset1" /> maggiore o uguale al numero di caratteri in <paramref name="string1" />-oppure- <paramref name="offset2" /> maggiore o uguale al numero di caratteri in <paramref name="string2" />-oppure- <paramref name="length1" /> maggiore del numero di caratteri compresi tra <paramref name="offset1" /> e la fine di <paramref name="string1" />.-oppure- <paramref name="length2" /> maggiore del numero di caratteri compresi tra <paramref name="offset2" /> e la fine di <paramref name="string2" />. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.Int32,System.Int32,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)">
<summary>Confronta due sezioni di due stringhe usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero La sezione specificata di <paramref name="string1" /> minore della sezione specificata di <paramref name="string2" />. maggiore di zero La sezione specificata di <paramref name="string1" /> maggiore della sezione specificata di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="offset1">Indice in base zero del carattere in <paramref name="string1" /> dal quale iniziare il confronto. </param>
<param name="length1">Numero di caratteri consecutivi in <paramref name="string1" /> da confrontare. </param>
<param name="string2">Seconda stringa da confrontare. </param>
<param name="offset2">Indice in base zero del carattere in <paramref name="string2" /> dal quale iniziare il confronto. </param>
<param name="length2">Numero di caratteri consecutivi in <paramref name="string2" /> da confrontare. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="string1" /> e <paramref name="string2" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" /> e <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset1" />, <paramref name="length1" />, <paramref name="offset2" /> o <paramref name="length2" /> minore di zero.-oppure- <paramref name="offset1" /> maggiore o uguale al numero di caratteri in <paramref name="string1" />-oppure- <paramref name="offset2" /> maggiore o uguale al numero di caratteri in <paramref name="string2" />-oppure- <paramref name="length1" /> maggiore del numero di caratteri compresi tra <paramref name="offset1" /> e la fine di <paramref name="string1" />.-oppure- <paramref name="length2" /> maggiore del numero di caratteri compresi tra <paramref name="offset2" /> e la fine di <paramref name="string2" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.Int32,System.String,System.Int32)">
<summary>Confronta le sezioni finali di due stringhe.</summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero La sezione specificata di <paramref name="string1" /> minore della sezione specificata di <paramref name="string2" />. maggiore di zero La sezione specificata di <paramref name="string1" /> maggiore della sezione specificata di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="offset1">Indice in base zero del carattere in <paramref name="string1" /> dal quale iniziare il confronto. </param>
<param name="string2">Seconda stringa da confrontare. </param>
<param name="offset2">Indice in base zero del carattere in <paramref name="string2" /> dal quale iniziare il confronto. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset1" /> o <paramref name="offset2" /> minore di zero.-oppure- <paramref name="offset1" /> maggiore o uguale al numero di caratteri in <paramref name="string1" />-oppure- <paramref name="offset2" /> maggiore o uguale al numero di caratteri in <paramref name="string2" /></exception>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.Int32,System.String,System.Int32,System.Globalization.CompareOptions)">
<summary>Confronta le sezioni finali di due stringhe usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero La sezione specificata di <paramref name="string1" /> minore della sezione specificata di <paramref name="string2" />. maggiore di zero La sezione specificata di <paramref name="string1" /> maggiore della sezione specificata di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="offset1">Indice in base zero del carattere in <paramref name="string1" /> dal quale iniziare il confronto. </param>
<param name="string2">Seconda stringa da confrontare. </param>
<param name="offset2">Indice in base zero del carattere in <paramref name="string2" /> dal quale iniziare il confronto. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="string1" /> e <paramref name="string2" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" /> e <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="offset1" /> o <paramref name="offset2" /> minore di zero.-oppure- <paramref name="offset1" /> maggiore o uguale al numero di caratteri in <paramref name="string1" />-oppure- <paramref name="offset2" /> maggiore o uguale al numero di caratteri in <paramref name="string2" /></exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.String)">
<summary>Confronta due stringhe. </summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero <paramref name="string1" /> minore di <paramref name="string2" />. maggiore di zero <paramref name="string1" /> maggiore di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="string2">Seconda stringa da confrontare. </param>
</member>
<member name="M:System.Globalization.CompareInfo.Compare(System.String,System.String,System.Globalization.CompareOptions)">
<summary>Confronta due stringhe usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Intero con segno a 32 bit che indica la relazione lessicale tra i due termini del confronto.Valore Condizione zero Le due stringhe sono uguali. minore di zero <paramref name="string1" /> minore di <paramref name="string2" />. maggiore di zero <paramref name="string1" /> maggiore di <paramref name="string2" />. </returns>
<param name="string1">Prima stringa da confrontare. </param>
<param name="string2">Seconda stringa da confrontare. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="string1" /> e <paramref name="string2" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" />, <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" /> e <see cref="F:System.Globalization.CompareOptions.StringSort" />.</param>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.Equals(System.Object)">
<summary>Determina se l'oggetto specificato uguale all'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente.</summary>
<returns>true se l'oggetto specificato uguale all'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente; in caso contrario, false.</returns>
<param name="value">Oggetto da confrontare con l'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente. </param>
</member>
<member name="M:System.Globalization.CompareInfo.GetCompareInfo(System.String)">
<summary>Inizializza un nuovo oggetto <see cref="T:System.Globalization.CompareInfo" /> associato alle impostazioni cultura con il nome specificato.</summary>
<returns>Nuovo oggetto <see cref="T:System.Globalization.CompareInfo" /> associato alle impostazioni cultura con l'identificatore specificato che usa i metodi di confronto tra stringhe nell'oggetto <see cref="T:System.Reflection.Assembly" /> corrente.</returns>
<param name="name">Stringa che rappresenta il nome delle impostazioni cultura. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="name" /> un nome di impostazioni cultura non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.GetHashCode">
<summary>Viene usato come funzione hash per l'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente per algoritmi hash e strutture di dati, ad esempio una tabella hash.</summary>
<returns>Codice hash per l'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente.</returns>
</member>
<member name="M:System.Globalization.CompareInfo.GetHashCode(System.String,System.Globalization.CompareOptions)">
<summary>Ottiene il codice hash per una stringa basata sulle opzioni di confronto specificate. </summary>
<returns>Codice hash di un intero con segno a 32 bit. </returns>
<param name="source">Stringa di cui deve essere restituito il codice hash. </param>
<param name="options">Valore che determina la modalit di confronto delle stringhe. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.Char)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero della prima occorrenza all'interno dell'intera stringa di origine.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> all'interno di <paramref name="source" />, se presente; in caso contrario, -1.Restituisce 0 (zero) se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.Char,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero della prima occorrenza all'interno dell'intera stringa di origine usando il valore <see cref="T:System.Globalization.CompareOptions" />.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno di <paramref name="source" /> usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce 0 (zero) se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto delle stringhe.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.Char,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine che si estende dall'indice specificato alla fine della stringa usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> compresa tra <paramref name="startIndex" /> e la fine di <paramref name="source" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.Char,System.Int32,System.Int32)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine che inizia dall'indice specificato e contiene il numero specificato di elementi.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno della sezione di <paramref name="source" /> che inizia da <paramref name="startIndex" /> e contiene il numero di elementi specificato da <paramref name="count" />; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.Char,System.Int32,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine, che inizia dall'indice specificato e contiene il numero specificato di elementi, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno della sezione di <paramref name="source" /> che inizia da <paramref name="startIndex" /> e contiene il numero di elementi specificato da <paramref name="count" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero della prima occorrenza all'interno dell'intera stringa di origine.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> all'interno di <paramref name="source" />, se presente; in caso contrario, -1.Restituisce 0 (zero) se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero della prima occorrenza all'interno dell'intera stringa di origine usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno di <paramref name="source" /> usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce 0 (zero) se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine compresa tra l'indice specificato e la fine della stringa, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> compresa tra <paramref name="startIndex" /> e la fine di <paramref name="source" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String,System.Int32,System.Int32)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine che inizia dall'indice specificato e contiene il numero specificato di elementi.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno della sezione di <paramref name="source" /> che inizia da <paramref name="startIndex" /> e contiene il numero di elementi specificato da <paramref name="count" />; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero della prima occorrenza all'interno della sezione della stringa di origine, che inizia dall'indice specificato e contiene il numero specificato di elementi, usando il valore <see cref="T:System.Globalization.CompareOptions" />.</summary>
<returns>Indice in base zero della prima occorrenza di <paramref name="value" /> se presente, all'interno della sezione di <paramref name="source" /> che inizia da <paramref name="startIndex" /> e contiene il numero di elementi specificato da <paramref name="count" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IsPrefix(System.String,System.String)">
<summary>Determina se la stringa di origine specificata inizia con il prefisso specificato.</summary>
<returns>true se la lunghezza di <paramref name="prefix" /> minore o uguale alla lunghezza di <paramref name="source" /> e se <paramref name="source" /> inizia con <paramref name="prefix" />; in caso contrario, false.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="prefix">Stringa da confrontare con l'inizio di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="prefix" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IsPrefix(System.String,System.String,System.Globalization.CompareOptions)">
<summary>Determina se la stringa di origine specificata inizia con il prefisso specificato usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>true se la lunghezza di <paramref name="prefix" /> minore o uguale alla lunghezza di <paramref name="source" /> e se <paramref name="source" /> inizia con <paramref name="prefix" />; in caso contrario, false.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="prefix">Stringa da confrontare con l'inizio di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="prefix" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="prefix" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IsSuffix(System.String,System.String)">
<summary>Determina se la stringa di origine specificata termina con il suffisso specificato.</summary>
<returns>true se la lunghezza di <paramref name="suffix" /> minore o uguale alla lunghezza di <paramref name="source" /> e se <paramref name="source" /> termina con <paramref name="suffix" />; in caso contrario, false.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="suffix">Stringa da confrontare con la fine di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="suffix" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.IsSuffix(System.String,System.String,System.Globalization.CompareOptions)">
<summary>Determina se la stringa di origine specificata termina con il suffisso specificato usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>true se la lunghezza di <paramref name="suffix" /> minore o uguale alla lunghezza di <paramref name="source" /> e se <paramref name="source" /> termina con <paramref name="suffix" />; in caso contrario, false.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="suffix">Stringa da confrontare con la fine di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="suffix" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> utilizzato da solo o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="suffix" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.Char)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero dell'ultima occorrenza all'interno dell'intera stringa di origine.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" /> all'interno di <paramref name="source" />, se presente; in caso contrario, -1.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.Char,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero dell'ultima occorrenza all'interno dell'intera stringa di origine usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" /> se presente, all'interno di <paramref name="source" /> usando le opzioni di confronto specificate; in caso contrario, -1.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.Char,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero dell'ultima occorrenza all'interno della sezione della stringa di origine compresa tra l'inizio della stringa e l'indice specificato, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> compresa tra l'inizio di <paramref name="source" /> e <paramref name="startIndex" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.Char,System.Int32,System.Int32)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero dell'ultima occorrenza all'interno della sezione della stringa di origine che contiene il numero specificato di elementi e termina in corrispondenza dell'indice specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> che contiene il numero di elementi specificato da <paramref name="count" /> e che termina in corrispondenza di <paramref name="startIndex" />; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.Char,System.Int32,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca il carattere specificato e restituisce l'indice in base zero dell'ultima occorrenza all'interno della sezione della stringa di origine che contiene il numero specificato di elementi e termina in corrispondenza dell'indice specificato, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> che contiene il numero di elementi specificato da <paramref name="count" /> e termina in corrispondenza di <paramref name="startIndex" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Carattere da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.String)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero dell'ultima occorrenza all'interno dell'intera stringa di origine.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" /> all'interno di <paramref name="source" />, se presente; in caso contrario, -1.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.String,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero dell'ultima occorrenza all'interno dell'intera stringa di origine usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" /> se presente, all'interno di <paramref name="source" /> usando le opzioni di confronto specificate; in caso contrario, -1.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.String,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero dell'ultima occorrenza nella sezione della stringa di origine compresa tra l'inizio della stringa e l'indice specificato, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> compresa tra l'inizio di <paramref name="source" /> e <paramref name="startIndex" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.String,System.Int32,System.Int32)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero dell'ultima occorrenza all'interno della sezione della stringa di origine che contiene il numero specificato di elementi e termina in corrispondenza dell'indice specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> che contiene il numero di elementi specificato da <paramref name="count" /> e che termina in corrispondenza di <paramref name="startIndex" />; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
</member>
<member name="M:System.Globalization.CompareInfo.LastIndexOf(System.String,System.String,System.Int32,System.Int32,System.Globalization.CompareOptions)">
<summary>Cerca la sottostringa specificata e restituisce l'indice in base zero dell'ultima occorrenza all'interno della sezione della stringa di origine che contiene il numero specificato di elementi e termina in corrispondenza dell'indice specificato, usando il valore <see cref="T:System.Globalization.CompareOptions" /> specificato.</summary>
<returns>Indice in base zero dell'ultima occorrenza di <paramref name="value" />, se presente, all'interno della sezione di <paramref name="source" /> che contiene il numero di elementi specificato da <paramref name="count" /> e termina in corrispondenza di <paramref name="startIndex" />, usando le opzioni di confronto specificate; in caso contrario, -1.Restituisce <paramref name="startIndex" /> se <paramref name="value" /> un carattere che possibile ignorare.</returns>
<param name="source">Stringa in cui effettuare la ricerca. </param>
<param name="value">Stringa da individuare all'interno di <paramref name="source" />. </param>
<param name="startIndex">Indice iniziale in base zero della ricerca all'indietro. </param>
<param name="count">Numero di elementi nella sezione in cui effettuare la ricerca. </param>
<param name="options">Valore che definisce la modalit di confronto di <paramref name="source" /> e <paramref name="value" />.<paramref name="options" /> il valore di enumerazione <see cref="F:System.Globalization.CompareOptions.Ordinal" /> o la combinazione bit per bit di uno o pi dei seguenti valori: <see cref="F:System.Globalization.CompareOptions.IgnoreCase" />, <see cref="F:System.Globalization.CompareOptions.IgnoreSymbols" />, <see cref="F:System.Globalization.CompareOptions.IgnoreNonSpace" />, <see cref="F:System.Globalization.CompareOptions.IgnoreWidth" /> e <see cref="F:System.Globalization.CompareOptions.IgnoreKanaType" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="source" /> null.-oppure- <paramref name="value" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="startIndex" /> non rientra nell'intervallo di indici validi per <paramref name="source" />.-oppure- <paramref name="count" /> minore di zero.-oppure- <paramref name="startIndex" /> e <paramref name="count" /> non specificano una sezione valida in <paramref name="source" />. </exception>
<exception cref="T:System.ArgumentException">
<paramref name="options" /> contiene un valore di <see cref="T:System.Globalization.CompareOptions" /> non valido. </exception>
</member>
<member name="P:System.Globalization.CompareInfo.Name">
<summary>Ottiene il nome delle impostazioni cultura usate per le operazioni di ordinamento dall'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente.</summary>
<returns>Nome di impostazioni cultura.</returns>
</member>
<member name="M:System.Globalization.CompareInfo.ToString">
<summary>Restituisce una stringa che rappresenta l'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente.</summary>
<returns>Stringa che rappresenta l'oggetto <see cref="T:System.Globalization.CompareInfo" /> corrente.</returns>
</member>
<member name="T:System.Globalization.CompareOptions">
<summary>Definisce le opzioni per il confronto tra stringhe da utilizzare con <see cref="T:System.Globalization.CompareInfo" />.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.IgnoreCase">
<summary>Indica che nel confronto tra stringhe non deve essere fatta distinzione tra maiuscole e minuscole.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.IgnoreKanaType">
<summary>Indica che nel confronto tra stringhe deve essere ignorato il tipo di carattere Kana.Il tipo Kana fa riferimento ai caratteri giapponesi hiragana e katakana che rappresentano i fonemi della lingua giapponese.L'hiragana utilizzato per le espressioni e le parole giapponesi native, mentre il katakana utilizzato per le parole mutuate da altre lingue, come "computer" o "Internet".Un fonema pu essere espresso sia in hiragana sia in katakana.Se questo valore selezionato, il carattere hiragana per un fonema considerato equivalente al carattere katakana per lo stesso fonema.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.IgnoreNonSpace">
<summary>Indica che nel confronto tra stringhe devono essere ignorati i caratteri di combinazione di non spaziatura, come i segni diacritici.Lo standard Unicode definisce le combinazioni di caratteri come caratteri combinati con caratteri di base per produrre un nuovo carattere.I caratteri di combinazione di non spaziatura non occupano uno spazio quando vengono visualizzati.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.IgnoreSymbols">
<summary>Indica che nel confronto tra stringhe devono essere ignorati i simboli, come i caratteri di spazio, di punteggiatura, i simboli di valuta, i segni di percentuale, i simboli matematici, la "e" commerciale (&) e cos via.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.IgnoreWidth">
<summary>Indica che nel confronto tra stringhe deve essere ignorata la larghezza dei caratteri.Ad esempio, i caratteri katakana giapponesi possono essere scritti a larghezza massima o parziale (ridotta della met).Se viene selezionato questo valore, i caratteri katakana scritti a larghezza massima sono considerati uguali agli stessi caratteri scritti a met larghezza.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.None">
<summary>Indica le impostazioni predefinite delle opzioni per il confronto tra stringhe.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.Ordinal">
<summary>Indica che per il confronto di stringhe devono essere utilizzati valori della stringa codificati in formato successivo a Unicode UTF-16 (confronto tra singole unit di codice), ottenendo un confronto veloce ma indipendente dalle impostazioni cultura.Una stringa che inizia con un'unit di codice XXXX16" precede una stringa che inizia con YYYY16, se XXXX16 minore di YYYY16.Poich non possibile combinare questo valore con altri valori <see cref="T:System.Globalization.CompareOptions" />, necessario utilizzarlo da solo.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.OrdinalIgnoreCase">
<summary>Nel confronto tra stringhe non deve essere fatta distinzione tra maiuscole e minuscole e deve essere effettuato un confronto ordinale.Questa tecnica equivale alla conversione della stringa in lettere maiuscole tramite le impostazioni cultura non associate alla lingua inglese e alla successiva esecuzione di un confronto ordinale sul risultato.</summary>
</member>
<member name="F:System.Globalization.CompareOptions.StringSort">
<summary>Indica che nel confronto tra stringhe deve essere utilizzato l'algoritmo di ordinamento delle stringhe.In un ordinamento per stringhe, il trattino e l'apostrofo, cos come altri simboli non alfanumerici, precedono i caratteri alfanumerici.</summary>
</member>
<member name="T:System.Globalization.CultureInfo">
<summary>Fornisce informazioni su impostazioni cultura specifiche, ovvero impostazioni locali per lo sviluppo di codice non gestito.Le informazioni includono i nomi per le impostazioni cultura, il sistema di scrittura, il calendario usato e la formattazione per date e stringhe di ordinamento.</summary>
</member>
<member name="M:System.Globalization.CultureInfo.#ctor(System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureInfo" /> in base alle impostazioni cultura specificate per nome.</summary>
<param name="name">Nome <see cref="T:System.Globalization.CultureInfo" /> predefinito, propriet <see cref="P:System.Globalization.CultureInfo.Name" /> di un oggetto <see cref="T:System.Globalization.CultureInfo" /> esistente o nome di impostazioni cultura solo Windows.Per <paramref name="name" /> non viene effettuata la distinzione tra maiuscole e minuscole.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is null. </exception>
<exception cref="T:System.Globalization.CultureNotFoundException">
<paramref name="name" /> is not a valid culture name.For more information, see the Notes to Callers section.</exception>
</member>
<member name="P:System.Globalization.CultureInfo.Calendar">
<summary>Ottiene il calendario predefinito usato per le impostazioni cultura.</summary>
<returns>Oggetto <see cref="T:System.Globalization.Calendar" /> che rappresenta il calendario predefinito usato per le impostazioni cultura.</returns>
</member>
<member name="M:System.Globalization.CultureInfo.Clone">
<summary>Crea una copia dell'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</summary>
<returns>Copia dell'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.CompareInfo">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.CompareInfo" /> che definisce come confrontare le stringhe per le impostazioni cultura.</summary>
<returns>Oggetto <see cref="T:System.Globalization.CompareInfo" /> che definisce come confrontare le stringhe per le impostazioni cultura.</returns>
<PermissionSet>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
</PermissionSet>
</member>
<member name="P:System.Globalization.CultureInfo.CurrentCulture">
<summary>Ottiene o imposta l'oggetto <see cref="T:System.Globalization.CultureInfo" /> che rappresenta le impostazioni cultura usate dal thread corrente.</summary>
<returns>Oggetto che rappresenta le impostazioni cultura usate dal thread corrente.</returns>
<exception cref="T:System.ArgumentNullException">The property is set to null.</exception>
</member>
<member name="P:System.Globalization.CultureInfo.CurrentUICulture">
<summary>Ottiene o imposta l'oggetto <see cref="T:System.Globalization.CultureInfo" /> che rappresenta le impostazioni cultura correnti dell'interfaccia utente usate da Gestione risorse per cercare le risorse specifiche delle impostazioni cultura in fase di esecuzione.</summary>
<returns>Impostazioni cultura usate da Gestione risorse per cercare le risorse specifiche delle impostazioni cultura in fase di esecuzione.</returns>
<exception cref="T:System.ArgumentNullException">The property is set to null.</exception>
<exception cref="T:System.ArgumentException">The property is set to a culture name that cannot be used to locate a resource file.Resource filenames can include only letters, numbers, hyphens, or underscores.</exception>
<PermissionSet>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
</PermissionSet>
</member>
<member name="P:System.Globalization.CultureInfo.DateTimeFormat">
<summary>Ottiene o imposta un oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> che definisce il formato culturalmente appropriato per la visualizzazione della data e dell'ora.</summary>
<returns>Oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> che definisce il formato culturalmente appropriato per la visualizzazione della data e dell'ora.</returns>
<exception cref="T:System.ArgumentNullException">The property is set to null. </exception>
<exception cref="T:System.InvalidOperationException">The <see cref="P:System.Globalization.CultureInfo.DateTimeFormat" /> property or any of the <see cref="T:System.Globalization.DateTimeFormatInfo" /> properties is set, and the <see cref="T:System.Globalization.CultureInfo" /> is read-only. </exception>
</member>
<member name="P:System.Globalization.CultureInfo.DefaultThreadCurrentCulture">
<summary>Ottiene o imposta le impostazioni cultura predefinite per i thread nel dominio dell'applicazione corrente.</summary>
<returns>Le impostazioni cultura predefinite dei thread nel dominio dell'applicazione corrente o null se le impostazioni cultura correnti del sistema sono le impostazioni cultura predefinite del thread nel dominio dell'applicazione.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.DefaultThreadCurrentUICulture">
<summary>Ottiene o imposta le impostazioni cultura predefinite dell'interfaccia utente per i thread nel dominio dell'applicazione corrente.</summary>
<returns>Impostazioni cultura dell'interfaccia utente predefinite per i thread nel dominio dell'applicazione corrente oppure null se le impostazioni cultura dell'interfaccia utente correnti del sistema sono le impostazioni cultura dell'interfaccia utente predefinite per i thread nel dominio dell'applicazione.</returns>
<exception cref="T:System.ArgumentException">In a set operation, the <see cref="P:System.Globalization.CultureInfo.Name" /> property value is invalid. </exception>
</member>
<member name="P:System.Globalization.CultureInfo.DisplayName">
<summary>Ottiene il nome completo delle impostazioni cultura localizzate. </summary>
<returns>Nome completo delle impostazioni cultura localizzato nel formato lingua (paese), dove lingua il nome completo della lingua e paese il nome completo del paese.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.EnglishName">
<summary>Ottiene il nome delle impostazioni cultura nel formato lingua (paese) in inglese.</summary>
<returns>Nome delle impostazioni cultura nel formato lingua (paese) in inglese, dove lingua il nome completo della lingua e paese il nome completo del paese.</returns>
</member>
<member name="M:System.Globalization.CultureInfo.Equals(System.Object)">
<summary>Determina se l'oggetto specificato coincide con le stesse impostazioni cultura della classe <see cref="T:System.Globalization.CultureInfo" /> corrente.</summary>
<returns>true se <paramref name="value" /> coincide con le impostazioni cultura della classe <see cref="T:System.Globalization.CultureInfo" /> corrente; in caso contrario, false.</returns>
<param name="value">Oggetto da confrontare con l'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente. </param>
</member>
<member name="M:System.Globalization.CultureInfo.GetFormat(System.Type)">
<summary>Ottiene un oggetto che definisce le modalit di formattazione del tipo specificato.</summary>
<returns>Valore della propriet <see cref="P:System.Globalization.CultureInfo.NumberFormat" />, che una classe <see cref="T:System.Globalization.NumberFormatInfo" /> contenente le informazioni predefinite per la formattazione dei numeri per la classe <see cref="T:System.Globalization.CultureInfo" /> corrente, se <paramref name="formatType" /> l'oggetto <see cref="T:System.Type" /> per la classe <see cref="T:System.Globalization.NumberFormatInfo" />.-oppure- Valore della propriet <see cref="P:System.Globalization.CultureInfo.DateTimeFormat" />, che una classe <see cref="T:System.Globalization.DateTimeFormatInfo" /> contenente le informazioni predefinite per la formattazione di data e ora per la classe <see cref="T:System.Globalization.CultureInfo" /> corrente, se <paramref name="formatType" /> l'oggetto <see cref="T:System.Type" /> per la classe <see cref="T:System.Globalization.DateTimeFormatInfo" />.-oppure- null, se <paramref name="formatType" /> qualsiasi altro oggetto.</returns>
<param name="formatType">Oggetto <see cref="T:System.Type" /> per il quale ottenere un oggetto di formattazione.Questo metodo supporta solo i tipi <see cref="T:System.Globalization.NumberFormatInfo" /> e <see cref="T:System.Globalization.DateTimeFormatInfo" />.</param>
</member>
<member name="M:System.Globalization.CultureInfo.GetHashCode">
<summary>Viene usato come funzione hash per l'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente, adatto per algoritmi hash e strutture di dati, ad esempio una tabella hash.</summary>
<returns>Codice hash per l'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.InvariantCulture">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.CultureInfo" /> indipendente dalle impostazioni cultura.</summary>
<returns>Oggetto indipendente dalle impostazioni cultura (non variabile).</returns>
</member>
<member name="P:System.Globalization.CultureInfo.IsNeutralCulture">
<summary>Ottiene un valore che indica se la classe <see cref="T:System.Globalization.CultureInfo" /> corrente rappresenta impostazioni cultura non associate ad alcun paese.</summary>
<returns>true se la classe <see cref="T:System.Globalization.CultureInfo" /> corrente rappresenta impostazioni cultura non associate ad alcun paese; in caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.IsReadOnly">
<summary>Ottiene un valore che indica se la classe <see cref="T:System.Globalization.CultureInfo" /> corrente di sola lettura.</summary>
<returns>true se l'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente di sola lettura; in caso contrario, false.Il valore predefinito false.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.Name">
<summary>Ottiene il nome delle impostazioni cultura nel formato codicelingua2-codicepaese2.</summary>
<returns>Nome delle impostazioni cultura nel formato codicelingua2-codicepaese2.codicelingua2 un codice di due lettere minuscole derivato da ISO 639-1.codicepaese2 deriva da ISO 3166 e in genere costituito da due lettere maiuscole o da un tag di lingua BCP-47.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.NativeName">
<summary>Ottiene il nome delle impostazioni cultura, costituito dalla lingua, dal paese dallo script facoltativo impostati per la visualizzazione.</summary>
<returns>Nome delle impostazioni culturacostituito dal nome completo della lingua e del paese e dallo script facoltativo.Il formato illustrato nella descrizione della classe <see cref="T:System.Globalization.CultureInfo" />.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.NumberFormat">
<summary>Ottiene o imposta un oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> che definisce il formato culturalmente appropriato per la visualizzazione di numeri, valute e percentuali.</summary>
<returns>Oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> che definisce il formato culturalmente appropriato per la visualizzazione di numeri, valute e percentuali.</returns>
<exception cref="T:System.ArgumentNullException">The property is set to null. </exception>
<exception cref="T:System.InvalidOperationException">The <see cref="P:System.Globalization.CultureInfo.NumberFormat" /> property or any of the <see cref="T:System.Globalization.NumberFormatInfo" /> properties is set, and the <see cref="T:System.Globalization.CultureInfo" /> is read-only. </exception>
</member>
<member name="P:System.Globalization.CultureInfo.OptionalCalendars">
<summary>Ottiene l'elenco dei calendari utilizzabili con le impostazioni cultura.</summary>
<returns>Matrice di tipo <see cref="T:System.Globalization.Calendar" /> che rappresenta i calendari utilizzabili con le impostazioni cultura rappresentate dalla classe <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.Parent">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.CultureInfo" /> che rappresenta le impostazioni cultura padre dell'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</summary>
<returns>Oggetto <see cref="T:System.Globalization.CultureInfo" /> che rappresenta le impostazioni cultura padre dell'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
<PermissionSet>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
</PermissionSet>
</member>
<member name="M:System.Globalization.CultureInfo.ReadOnly(System.Globalization.CultureInfo)">
<summary>Restituisce un wrapper di sola lettura per l'oggetto <see cref="T:System.Globalization.CultureInfo" /> specificato. </summary>
<returns>Wrapper <see cref="T:System.Globalization.CultureInfo" /> di sola lettura di <paramref name="ci" />.</returns>
<param name="ci">Oggetto <see cref="T:System.Globalization.CultureInfo" /> di cui eseguire il wrapping. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="ci" /> is null. </exception>
</member>
<member name="P:System.Globalization.CultureInfo.TextInfo">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.TextInfo" /> che definisce il sistema di scrittura associato alle impostazioni cultura.</summary>
<returns>Oggetto <see cref="T:System.Globalization.TextInfo" /> che definisce il sistema di scrittura associato alle impostazioni cultura.</returns>
<PermissionSet>
<IPermission class="System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.3600.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="UnmanagedCode" />
</PermissionSet>
</member>
<member name="M:System.Globalization.CultureInfo.ToString">
<summary>Restituisce una stringa contenente il nome della classe <see cref="T:System.Globalization.CultureInfo" /> nel formato codicelingua2-paese/codicepaese2.</summary>
<returns>Stringa contenente il nome dell'oggetto <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.CultureInfo.TwoLetterISOLanguageName">
<summary>Ottiene il codice ISO 639-1 di due lettere per la lingua della classe <see cref="T:System.Globalization.CultureInfo" /> corrente.</summary>
<returns>Codice ISO 639-1 di due lettere per la lingua della classe <see cref="T:System.Globalization.CultureInfo" /> corrente.</returns>
</member>
<member name="T:System.Globalization.CultureNotFoundException">
<summary>Eccezione generata quando viene richiamato un metodo che tenta di costruire impostazioni cultura non disponibili sul computer.</summary>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con la relativa stringa di messaggio impostata su un messaggio fornito dal sistema.</summary>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor(System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con il messaggio di errore specificato.</summary>
<param name="message">Messaggio di errore da visualizzare con questa eccezione.</param>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor(System.String,System.Exception)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con un messaggio di errore specificato e un riferimento all'eccezione interna che la causa dell'eccezione corrente.</summary>
<param name="message">Messaggio di errore da visualizzare con questa eccezione.</param>
<param name="innerException">Eccezione che ha determinato l'eccezione corrente.Se il parametro <paramref name="innerException" /> non un riferimento Null, l'eccezione corrente verr generata in un blocco catch che gestisce l'eccezione interna.</param>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor(System.String,System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con un messaggio di errore specificato e il nome del parametro che ha causato l'eccezione corrente.</summary>
<param name="paramName">Nome del parametro che ha causato l'eccezione corrente.</param>
<param name="message">Messaggio di errore da visualizzare con questa eccezione.</param>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor(System.String,System.String,System.Exception)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con un messaggio di errore specificato, il nome delle impostazioni cultura non valido e un riferimento all'eccezione interna che ha causato l'eccezione corrente.</summary>
<param name="message">Messaggio di errore da visualizzare con questa eccezione.</param>
<param name="invalidCultureName">Nome delle impostazioni cultura non trovato.</param>
<param name="innerException">Eccezione che ha determinato l'eccezione corrente.Se il parametro <paramref name="innerException" /> non un riferimento Null, l'eccezione corrente verr generata in un blocco catch che gestisce l'eccezione interna.</param>
</member>
<member name="M:System.Globalization.CultureNotFoundException.#ctor(System.String,System.String,System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.CultureNotFoundException" /> con un messaggio di errore specificato, il nome delle impostazioni cultura non valido e il nome del parametro che ha causato l'eccezione corrente.</summary>
<param name="paramName">Nome del parametro che ha causato l'eccezione corrente.</param>
<param name="invalidCultureName">Nome delle impostazioni cultura non trovato.</param>
<param name="message">Messaggio di errore da visualizzare con questa eccezione.</param>
</member>
<member name="P:System.Globalization.CultureNotFoundException.InvalidCultureName">
<summary>Ottiene il nome delle impostazioni cultura non trovato.</summary>
<returns>Nome delle impostazioni cultura non valido.</returns>
</member>
<member name="P:System.Globalization.CultureNotFoundException.Message">
<summary>Recupera il messaggio di errore in cui viene spiegato il motivo dell'eccezione.</summary>
<returns>Stringa di testo che descrive i dettagli dell'eccezione.</returns>
</member>
<member name="T:System.Globalization.DateTimeFormatInfo">
<summary>Fornisce informazioni specifiche delle impostazioni cultura relative al formato dei valori di data e ora.</summary>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.#ctor">
<summary>Inizializza una nuova istanza scrivibile della classe <see cref="T:System.Globalization.DateTimeFormatInfo" /> che indipendente dalle impostazioni cultura (invariante).</summary>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.AbbreviatedDayNames">
<summary>Ottiene o imposta una matrice unidimensionale di tipo <see cref="T:System.String" /> contenente i nomi abbreviati dei giorni della settimana specifici delle impostazioni cultura.</summary>
<returns>Matrice unidimensionale di tipo <see cref="T:System.String" /> contenente i nomi abbreviati dei giorni della settimana specifici delle impostazioni cultura.Matrice per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> che contiene "Sun", "Mon", "Tue", "Wed", "Thu", "Fri" e "Sat".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.ArgumentException">The property is being set to an array that is multidimensional or that has a length that is not exactly 7. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.AbbreviatedMonthGenitiveNames">
<summary>Ottiene o imposta una matrice di stringhe dei nomi abbreviati dei mesi associati all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Matrice di nomi abbreviati dei mesi.</returns>
<exception cref="T:System.ArgumentException">In a set operation, the array is multidimensional or has a length that is not exactly 13.</exception>
<exception cref="T:System.ArgumentNullException">In a set operation, the array or one of the elements of the array is null.</exception>
<exception cref="T:System.InvalidOperationException">In a set operation, the current <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only.</exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.AbbreviatedMonthNames">
<summary>Ottiene o imposta una matrice di stringhe unidimensionale contenente i nomi abbreviati dei mesi specifici delle impostazioni cultura.</summary>
<returns>Matrice di stringhe unidimensionale con 13 elementi contenente i nomi abbreviati dei mesi specifici delle impostazioni cultura.In un calendario composto da 12 mesi il tredicesimo elemento della matrice una stringa vuota.Matrice per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> contiene "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" e "".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.ArgumentException">The property is being set to an array that is multidimensional or that has a length that is not exactly 13. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.AMDesignator">
<summary>Ottiene o imposta l'indicatore di stringa per le ore "ante meridiem" (prima di mezzogiorno).</summary>
<returns>Indicatore di stringa per le ore ante meridiem (prima di mezzogiorno).L'impostazione predefinita per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> "AM".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.Calendar">
<summary>Ottiene o imposta il calendario da usare per le impostazioni cultura correnti.</summary>
<returns>Calendario da usare per le impostazioni cultura correnti.L'impostazione predefinita per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> un oggetto <see cref="T:System.Globalization.GregorianCalendar" />.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a <see cref="T:System.Globalization.Calendar" /> object that is not valid for the current culture. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.CalendarWeekRule">
<summary>Ottiene o imposta un valore che specifica la regola usata per determinare la prima settimana di calendario dell'anno.</summary>
<returns>Valore che determina la prima settimana di calendario dell'anno.Il valore predefinito per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> <see cref="F:System.Globalization.CalendarWeekRule.FirstDay" />.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is not a valid <see cref="T:System.Globalization.CalendarWeekRule" /> value. </exception>
<exception cref="T:System.InvalidOperationException">In a set operation, the current <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only.</exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.Clone">
<summary>Crea una copia superficiale di <see cref="T:System.Globalization.DateTimeFormatInfo" />.</summary>
<returns>Nuovo oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> copiato dall'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> originale.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.CurrentInfo">
<summary>Ottiene un oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura che formatta i valori in base alle impostazioni cultura correnti.</summary>
<returns>Oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura basato sull'oggetto <see cref="T:System.Globalization.CultureInfo" /> per il thread corrente.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.DayNames">
<summary>Ottiene o imposta una matrice di stringa unidimensionale contenente i nomi estesi dei giorni della settimana specifici delle impostazioni cultura.</summary>
<returns>Matrice di stringhe unidimensionale che contiene i nomi estesi dei giorni della settimana specifici delle impostazioni cultura.La matrice per la propriet <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> contiene "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday" e "Saturday".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.ArgumentException">The property is being set to an array that is multidimensional or that has a length that is not exactly 7. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.FirstDayOfWeek">
<summary>Ottiene o imposta il primo giorno della settimana.</summary>
<returns>Valore di enumerazione che rappresenta il primo giorno della settimana.Il valore predefinito per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> <see cref="F:System.DayOfWeek.Sunday" />.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">The property is being set to a value that is not a valid <see cref="T:System.DayOfWeek" /> value. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.FullDateTimePattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di data e ora estese.</summary>
<returns>Stringa di formato personalizzata per un valore di data e ora estese.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetAbbreviatedDayName(System.DayOfWeek)">
<summary>Restituisce il nome abbreviato specifico delle impostazioni cultura del giorno della settimana specificato in base alle impostazioni cultura associate all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Nome abbreviato specifico delle impostazioni cultura del giorno della settimana rappresentato da <paramref name="dayofweek" />.</returns>
<param name="dayofweek">Valore <see cref="T:System.DayOfWeek" />. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="dayofweek" /> is not a valid <see cref="T:System.DayOfWeek" /> value. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetAbbreviatedEraName(System.Int32)">
<summary>Restituisce la stringa contenente il nome abbreviato dell'era specificata, a condizione che esista un'abbreviazione.</summary>
<returns>Stringa contenente il nome abbreviato dell'era specificata, a condizione che esista un'abbreviazione.-oppure- Stringa contenente il nome esteso dell'era, a condizione che non esista alcuna abbreviazione.</returns>
<param name="era">Intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="era" /> does not represent a valid era in the calendar specified in the <see cref="P:System.Globalization.DateTimeFormatInfo.Calendar" /> property. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetAbbreviatedMonthName(System.Int32)">
<summary>Restituisce il nome abbreviato specifico delle impostazioni cultura del mese specificato in base alle impostazioni cultura associate all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Nome abbreviato specifico delle impostazioni cultura del mese rappresentato da <paramref name="month" />.</returns>
<param name="month">Intero compreso tra 1 e 13 che rappresenta il nome del mese da recuperare. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="month" /> is less than 1 or greater than 13. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetDayName(System.DayOfWeek)">
<summary>Restituisce il nome completo specifico delle impostazioni cultura del giorno della settimana specificato in base alle impostazioni cultura associate all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Nome esteso specifico delle impostazioni cultura del giorno della settimana rappresentato da <paramref name="dayofweek" />.</returns>
<param name="dayofweek">Valore <see cref="T:System.DayOfWeek" />. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="dayofweek" /> is not a valid <see cref="T:System.DayOfWeek" /> value. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetEra(System.String)">
<summary>Restituisce l'intero che rappresenta l'era specificata.</summary>
<returns>Valore intero che rappresenta l'era, se <paramref name="eraName" /> valido; in caso contrario, -1.</returns>
<param name="eraName">Stringa contenente il nome dell'era. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="eraName" /> is null. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetEraName(System.Int32)">
<summary>Restituisce la stringa contenente il nome dell'era specificata.</summary>
<returns>Stringa contenente il nome dell'era.</returns>
<param name="era">Intero che rappresenta l'era. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="era" /> does not represent a valid era in the calendar specified in the <see cref="P:System.Globalization.DateTimeFormatInfo.Calendar" /> property. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetFormat(System.Type)">
<summary>Restituisce un oggetto del tipo specificato che fornisce un servizio di formattazione data e ora.</summary>
<returns>Oggetto corrente, se <paramref name="formatType" /> equivale al tipo dell'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente; in caso contrario, null.</returns>
<param name="formatType">Tipo del servizio di formattazione richiesto. </param>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetInstance(System.IFormatProvider)">
<summary>Restituisce l'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> associato all'oggetto <see cref="T:System.IFormatProvider" /> specificato.</summary>
<returns>Oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> associato a <see cref="T:System.IFormatProvider" />.</returns>
<param name="provider">
<see cref="T:System.IFormatProvider" /> che ottiene l'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" />.-oppure- null per ottenere <see cref="P:System.Globalization.DateTimeFormatInfo.CurrentInfo" />. </param>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.GetMonthName(System.Int32)">
<summary>Restituisce il nome completo specifico delle impostazioni cultura del mese specificato in base alle impostazioni cultura associate all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Nome esteso specifico delle impostazioni cultura del mese rappresentato da <paramref name="month" />.</returns>
<param name="month">Intero compreso tra 1 e 13 che rappresenta il nome del mese da recuperare. </param>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="month" /> is less than 1 or greater than 13. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.InvariantInfo">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> predefinito di sola lettura indipendente dalle impostazioni cultura (invariante).</summary>
<returns>Oggetto di sola lettura indipendente dalle impostazioni cultura (invariante).</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.IsReadOnly">
<summary>Ottiene un valore che indica se l'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura.</summary>
<returns>true se l'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura; in caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.LongDatePattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di data estesa.</summary>
<returns>Stringa di formato personalizzata per un valore di data estesa.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.LongTimePattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di ora estesa.</summary>
<returns>Modello di formato per un valore di ora estesa.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.MonthDayPattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di mese e giorno.</summary>
<returns>Stringa di formato personalizzata per un valore di mese e giorno.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.MonthGenitiveNames">
<summary>Ottiene o imposta una matrice di stringhe di nomi di mesi associata all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Matrice di stringhe di nomi di mesi.</returns>
<exception cref="T:System.ArgumentException">In a set operation, the array is multidimensional or has a length that is not exactly 13.</exception>
<exception cref="T:System.ArgumentNullException">In a set operation, the array or one of its elements is null.</exception>
<exception cref="T:System.InvalidOperationException">In a set operation, the current <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only.</exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.MonthNames">
<summary>Ottiene o imposta una matrice unidimensionale di tipo <see cref="T:System.String" /> contenente i nomi estesi dei mesi specifici delle impostazioni cultura.</summary>
<returns>Matrice unidimensionale di tipo <see cref="T:System.String" /> contenente i nomi estesi dei mesi specifici delle impostazioni cultura.In un calendario composto da 12 mesi il tredicesimo elemento della matrice una stringa vuota.La matrice per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> contiene "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" e "".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.ArgumentException">The property is being set to an array that is multidimensional or that has a length that is not exactly 13. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.PMDesignator">
<summary>Ottiene o imposta l'indicatore di stringa per le ore "post meridiem" (dopo mezzogiorno).</summary>
<returns>Indicatore di stringa per le ore "post meridiem" (dopo mezzogiorno).L'impostazione predefinita per <see cref="P:System.Globalization.DateTimeFormatInfo.InvariantInfo" /> "PM".</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="M:System.Globalization.DateTimeFormatInfo.ReadOnly(System.Globalization.DateTimeFormatInfo)">
<summary>Restituisce un wrapper <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura.</summary>
<returns>Wrapper <see cref="T:System.Globalization.DateTimeFormatInfo" /> di sola lettura.</returns>
<param name="dtfi">Oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> di cui eseguire il wrapping. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="dtfi" /> is null. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.RFC1123Pattern">
<summary>Ottiene la stringa di formato personalizzata per un valore di data e ora basato sulla specifica IETF (Internet Engineering Task Force) RFC (Request for Comments) 1123.</summary>
<returns>Stringa di formato personalizzata per un valore di ora basato sulla specifica IETF RFC 1123.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.ShortDatePattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di data breve.</summary>
<returns>Stringa di formato personalizzata per un valore di data breve.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.ShortestDayNames">
<summary>Ottiene o imposta una matrice di stringhe dei nomi univoci dei giorni abbreviati pi corti associati all'oggetto <see cref="T:System.Globalization.DateTimeFormatInfo" /> corrente.</summary>
<returns>Matrice di stringhe dei nomi dei giorni.</returns>
<exception cref="T:System.ArgumentException">In a set operation, the array does not have exactly seven elements.</exception>
<exception cref="T:System.ArgumentNullException">In a set operation, the value array or one of the elements of the value array is null.</exception>
<exception cref="T:System.InvalidOperationException">In a set operation, the current <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only.</exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.ShortTimePattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di ora breve.</summary>
<returns>Stringa di formato personalizzata per un valore di ora breve.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.SortableDateTimePattern">
<summary>Ottiene la stringa di formato personalizzata per un valore ordinabile di data e ora.</summary>
<returns>Stringa di formato personalizzata per un valore ordinabile di data e ora.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.UniversalSortableDateTimePattern">
<summary>Ottiene la stringa di formato personalizzata per una stringa di data e ora ordinabile e universale.</summary>
<returns>La stringa di formato personalizzata per una stringa di data e ora ordinabile e universale.</returns>
</member>
<member name="P:System.Globalization.DateTimeFormatInfo.YearMonthPattern">
<summary>Ottiene o imposta la stringa di formato personalizzata per un valore di anno e mese.</summary>
<returns>Stringa di formato personalizzata per un valore di anno e mese.</returns>
<exception cref="T:System.ArgumentNullException">The property is being set to null. </exception>
<exception cref="T:System.InvalidOperationException">The property is being set and the <see cref="T:System.Globalization.DateTimeFormatInfo" /> object is read-only. </exception>
</member>
<member name="T:System.Globalization.NumberFormatInfo">
<summary>Fornisce informazioni specifiche delle impostazioni cultura per la formattazione e l'analisi dei valori numerici. </summary>
</member>
<member name="M:System.Globalization.NumberFormatInfo.#ctor">
<summary>Inizializza una nuova istanza scrivibile della classe <see cref="T:System.Globalization.NumberFormatInfo" /> che indipendente dalle impostazioni cultura (invariante).</summary>
</member>
<member name="M:System.Globalization.NumberFormatInfo.Clone">
<summary>Crea una copia superficiale dell'oggetto <see cref="T:System.Globalization.NumberFormatInfo" />.</summary>
<returns>Nuovo oggetto copiato dall'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> originale.</returns>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyDecimalDigits">
<summary>Ottiene o imposta il numero di posizioni decimali da usare nei valori di valuta.</summary>
<returns>Numero di posizioni decimali da usare nei valori di valuta.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 2.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 99. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyDecimalSeparator">
<summary>Ottiene o imposta la stringa da usare come separatore decimale nei valori di valuta.</summary>
<returns>Stringa da usare come separatore decimale nei valori di valuta.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ".".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata su una stringa vuota.</exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyGroupSeparator">
<summary>Ottiene o imposta la stringa di separazione dei gruppi di cifre che si trovano a sinistra del separatore decimale nei valori di valuta.</summary>
<returns>Stringa che separa i gruppi di cifre che si trovano a sinistra del separatore decimale nei valori di valuta.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ",".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyGroupSizes">
<summary>Ottiene o imposta il numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori di valuta.</summary>
<returns>Numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori di valuta.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> una matrice unidimensionale con un solo elemento, che impostato su 3.</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata e la matrice contiene una voce minore di 0 o maggiore di 9-oppure- La propriet viene impostata e la matrice contiene un valore, diverso dal precedente, uguale a 0. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyNegativePattern">
<summary>Ottiene o imposta il modello di formato per i valori di valuta negativi.</summary>
<returns>Modello di formato per i valori di valuta negativi.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 0, che rappresenta "($n)", dove "$" la propriet <see cref="P:System.Globalization.NumberFormatInfo.CurrencySymbol" /> e <paramref name="n" /> un numero.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 15. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencyPositivePattern">
<summary>Ottiene o imposta il modello di formato per i valori di valuta positivi.</summary>
<returns>Modello di formato per i valori di valuta positivi.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 0, che rappresenta "$n", dove "$" la propriet <see cref="P:System.Globalization.NumberFormatInfo.CurrencySymbol" /> e <paramref name="n" /> un numero.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 3. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrencySymbol">
<summary>Ottiene o imposta la stringa da usare come simbolo di valuta.</summary>
<returns>Stringa da usare come simbolo di valuta.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.CurrentInfo">
<summary>Ottiene un oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura che formatta i valori in base alle impostazioni cultura correnti.</summary>
<returns>Oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura in base alle impostazioni cultura del thread corrente.</returns>
</member>
<member name="M:System.Globalization.NumberFormatInfo.GetFormat(System.Type)">
<summary>Ottiene un oggetto del tipo specificato che fornisce un servizio di formattazione dei numeri.</summary>
<returns>Oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> corrente, se <paramref name="formatType" /> corrisponde al tipo dell'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> corrente; in caso contrario, null.</returns>
<param name="formatType">Oggetto <see cref="T:System.Type" /> del servizio di formattazione richiesto. </param>
</member>
<member name="M:System.Globalization.NumberFormatInfo.GetInstance(System.IFormatProvider)">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> associato all'oggetto <see cref="T:System.IFormatProvider" /> specificato.</summary>
<returns>Oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> associato all'oggetto <see cref="T:System.IFormatProvider" /> specificato.</returns>
<param name="formatProvider">Oggetto <see cref="T:System.IFormatProvider" /> usato per ottenere <see cref="T:System.Globalization.NumberFormatInfo" />.-oppure- null per ottenere <see cref="P:System.Globalization.NumberFormatInfo.CurrentInfo" />. </param>
</member>
<member name="P:System.Globalization.NumberFormatInfo.InvariantInfo">
<summary>Ottiene un oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura indipendente dalle impostazioni cultura (invariante).</summary>
<returns>Oggetto di sola lettura indipendente dalle impostazioni cultura (invariante).</returns>
</member>
<member name="P:System.Globalization.NumberFormatInfo.IsReadOnly">
<summary>Ottiene un valore che indica se l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura.</summary>
<returns>true se <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura; in caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NaNSymbol">
<summary>Ottiene o imposta la stringa che rappresenta il valore IEEE NaN (Not a Number).</summary>
<returns>Stringa che rappresenta il valore IEEE NaN (Not a Number).L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "NaN".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NegativeInfinitySymbol">
<summary>Ottiene o imposta la stringa che rappresenta il valore di infinito negativo.</summary>
<returns>Stringa che rappresenta il valore di infinito negativo.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "-Infinity".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NegativeSign">
<summary>Ottiene o imposta la stringa che indica che il numero associato negativo.</summary>
<returns>Stringa che indica che il numero associato negativo.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "-".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NumberDecimalDigits">
<summary>Ottiene o imposta il numero di posizioni decimali da usare nei valori numerici.</summary>
<returns>Numero di posizioni decimali da usare nei valori numerici.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 2.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 99. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NumberDecimalSeparator">
<summary>Ottiene o imposta la stringa da usare come separatore decimale nei valori numerici.</summary>
<returns>Stringa da usare come separatore decimale nei valori numerici.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ".".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata su una stringa vuota.</exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NumberGroupSeparator">
<summary>Ottiene o imposta la stringa di separazione dei gruppi di cifre che si trovano a sinistra del separatore decimale nei valori numerici.</summary>
<returns>Stringa che separa i gruppi di cifre che si trovano a sinistra del separatore decimale nei valori numerici.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ",".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NumberGroupSizes">
<summary>Ottiene o imposta il numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori numerici.</summary>
<returns>Numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori numerici.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> una matrice unidimensionale con un solo elemento, che impostato su 3.</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata e la matrice contiene una voce minore di 0 o maggiore di 9-oppure- La propriet viene impostata e la matrice contiene un valore, diverso dal precedente, uguale a 0. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.NumberNegativePattern">
<summary>Ottiene o imposta il modello di formato per i valori numerici negativi.</summary>
<returns>Modello di formato per i valori numerici negativi. </returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 4. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentDecimalDigits">
<summary>Ottiene o imposta il numero di posizioni decimali da usare nei valori percentuali. </summary>
<returns>Numero di posizioni decimali da usare nei valori percentuali.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 2.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 99. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentDecimalSeparator">
<summary>Ottiene o imposta la stringa da usare come separatore decimale nei valori percentuali. </summary>
<returns>Stringa da usare come separatore decimale nei valori percentuali.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ".".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata su una stringa vuota.</exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentGroupSeparator">
<summary>Ottiene o imposta la stringa di separazione dei gruppi di cifre che si trovano a sinistra del separatore decimale nei valori percentuali. </summary>
<returns>Stringa che separa i gruppi di cifre che si trovano a sinistra del separatore decimale nei valori percentuali.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> ",".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentGroupSizes">
<summary>Ottiene o imposta il numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori percentuali. </summary>
<returns>Numero di cifre in ciascun gruppo che si trova a sinistra del separatore decimale nei valori percentuali.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> una matrice unidimensionale con un solo elemento, che impostato su 3.</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.ArgumentException">La propriet viene impostata e la matrice contiene una voce minore di 0 o maggiore di 9-oppure- La propriet viene impostata e la matrice contiene un valore, diverso dal precedente, uguale a 0. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentNegativePattern">
<summary>Ottiene o imposta il modello di formato per i valori percentuali negativi.</summary>
<returns>Modello di formato per i valori percentuali negativi.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 0, che rappresenta "-n %", dove "%" la propriet <see cref="P:System.Globalization.NumberFormatInfo.PercentSymbol" /> e <paramref name="n" /> un numero.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 11. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentPositivePattern">
<summary>Ottiene o imposta il modello di formato per i valori percentuali positivi.</summary>
<returns>Modello di formato per i valori percentuali positivi.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> 0, che rappresenta "n %", dove "%" la propriet <see cref="P:System.Globalization.NumberFormatInfo.PercentSymbol" /> e <paramref name="n" /> un numero.</returns>
<exception cref="T:System.ArgumentOutOfRangeException">La propriet viene impostata su un valore minore di 0 o maggiore di 3. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PercentSymbol">
<summary>Ottiene o imposta la stringa da usare come simbolo di percentuale.</summary>
<returns>Stringa da usare come simbolo di percentuale.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "%".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PerMilleSymbol">
<summary>Ottiene o imposta la stringa da usare come simbolo di per mille.</summary>
<returns>Stringa da usare come simbolo di per mille.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "", che corrisponde al carattere Unicode U+2030.</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PositiveInfinitySymbol">
<summary>Ottiene o imposta la stringa che rappresenta il valore di infinito positivo.</summary>
<returns>Stringa che rappresenta il valore di infinito positivo.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "Infinity".</returns>
<exception cref="T:System.ArgumentNullException">La propriet viene impostata su null. </exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="P:System.Globalization.NumberFormatInfo.PositiveSign">
<summary>Ottiene o imposta la stringa che indica che il numero associato positivo.</summary>
<returns>Stringa che indica che il numero associato positivo.L'impostazione predefinita per <see cref="P:System.Globalization.NumberFormatInfo.InvariantInfo" /> "+".</returns>
<exception cref="T:System.ArgumentNullException">In un'operazione set il valore da assegnare null.</exception>
<exception cref="T:System.InvalidOperationException">La propriet viene impostata e l'oggetto <see cref="T:System.Globalization.NumberFormatInfo" /> in sola lettura. </exception>
</member>
<member name="M:System.Globalization.NumberFormatInfo.ReadOnly(System.Globalization.NumberFormatInfo)">
<summary>Restituisce un wrapper <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura.</summary>
<returns>Wrapper <see cref="T:System.Globalization.NumberFormatInfo" /> di sola lettura di <paramref name="nfi" />.</returns>
<param name="nfi">
<see cref="T:System.Globalization.NumberFormatInfo" /> di cui eseguire il wrapping. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="nfi" /> null. </exception>
</member>
<member name="T:System.Globalization.RegionInfo">
<summary>Contiene le informazioni relative al paese.</summary>
</member>
<member name="M:System.Globalization.RegionInfo.#ctor(System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.RegionInfo" /> in base al paese o alle impostazioni cultura specifiche, specificato per nome.</summary>
<param name="name">Stringa contenente un codice a due lettere definito in ISO 3166 per il paese.-oppure-Stringa contenente il nome di impostazioni cultura specifiche, personalizzate o solo Windows.Se il nome delle impostazioni cultura non in formato RFC 4646, l'applicazione deve specificare il nome intero delle impostazioni cultura, anzich solo il paese.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="name" /> is null.</exception>
<exception cref="T:System.ArgumentException">
<paramref name="name" /> is not a valid country/region name or specific culture name.</exception>
</member>
<member name="P:System.Globalization.RegionInfo.CurrencySymbol">
<summary>Ottiene il simbolo di valuta associato al paese.</summary>
<returns>Simbolo di valuta associato al paese.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.CurrentRegion">
<summary>Ottiene l'oggetto <see cref="T:System.Globalization.RegionInfo" /> che rappresenta il paese usato dal thread corrente.</summary>
<returns>Oggetto <see cref="T:System.Globalization.RegionInfo" /> che rappresenta il paese usato dal thread corrente.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.DisplayName">
<summary>Ottiene il nome completo del paese nella lingua della versione localizzata di .NET Framework.</summary>
<returns>Nome completo del paese nella lingua della versione localizzata di .NET Framework.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.EnglishName">
<summary>Ottiene il nome completo del paese in lingua inglese.</summary>
<returns>Nome completo del paese in lingua inglese.</returns>
</member>
<member name="M:System.Globalization.RegionInfo.Equals(System.Object)">
<summary>Determina se l'oggetto specificato coincide con l'istanza dell'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente.</summary>
<returns>true se il parametro <paramref name="value" /> un oggetto <see cref="T:System.Globalization.RegionInfo" /> e la relativa propriet <see cref="P:System.Globalization.RegionInfo.Name" /> uguale alla propriet <see cref="P:System.Globalization.RegionInfo.Name" /> dell'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente; in caso contrario, false.</returns>
<param name="value">Oggetto da confrontare con l'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente. </param>
</member>
<member name="M:System.Globalization.RegionInfo.GetHashCode">
<summary>Viene usato come funzione hash per l'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente, adatto per algoritmi hash e strutture di dati, ad esempio una tabella hash.</summary>
<returns>Codice hash per l'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.IsMetric">
<summary>Ottiene un valore che indica se nel paese in questione viene usato il sistema metrico decimale per le misurazioni.</summary>
<returns>true se nel paese in questione viene usato il sistema metrico decimale per le misurazioni. In caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.ISOCurrencySymbol">
<summary>Ottiene il simbolo di valuta a tre lettere ISO 4217 associato al paese.</summary>
<returns>Simbolo di valuta a tre lettere ISO 4217 associato al paese.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.Name">
<summary>Ottiene il nome o il codice ISO 3166 a due lettere relativo al paese per l'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente.</summary>
<returns>Valore specificato dal parametro <paramref name="name" /> del costruttore <see cref="M:System.Globalization.RegionInfo.#ctor(System.String)" />.Il valore restituito in lettere maiuscole.-oppure-Codice a due lettere definito in ISO 3166 per il paese specificato dal parametro <paramref name="culture" /> del costruttore <see cref="M:System.Globalization.RegionInfo.#ctor(System.Int32)" />.Il valore restituito in lettere maiuscole.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.NativeName">
<summary>Ottiene il nome del paese, formattato nella lingua nativa del paese.</summary>
<returns>Nome nativo del paese formattato nella lingua associata al codice ISO 3166 relativo al paese. </returns>
</member>
<member name="M:System.Globalization.RegionInfo.ToString">
<summary>Restituisce una stringa contenente il nome delle impostazioni cultura o i codici ISO 3166 a due lettere relativi al paese specificati per l'oggetto <see cref="T:System.Globalization.RegionInfo" /> corrente.</summary>
<returns> Stringa contenente il nome delle impostazioni cultura o i codici ISO 3166 a due lettere relativi al paese definiti per l'oggetto <see cref="T:System.Globalization.RegionInfo" />.</returns>
</member>
<member name="P:System.Globalization.RegionInfo.TwoLetterISORegionName">
<summary>Ottiene il codice a due lettere definito in ISO 3166 per il paese.</summary>
<returns>Codice a due lettere definito in ISO 3166 per il paese.</returns>
</member>
<member name="T:System.Globalization.StringInfo">
<summary>Fornisce la funzionalit per suddividere una stringa in elementi di testo e per scorrere tali elementi.</summary>
</member>
<member name="M:System.Globalization.StringInfo.#ctor">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.StringInfo" />. </summary>
</member>
<member name="M:System.Globalization.StringInfo.#ctor(System.String)">
<summary>Inizializza una nuova istanza della classe <see cref="T:System.Globalization.StringInfo" /> sulla stringa specificata.</summary>
<param name="value">Stringa su cui inizializzare questo oggetto <see cref="T:System.Globalization.StringInfo" />.</param>
<exception cref="T:System.ArgumentNullException">
<paramref name="value" /> null.</exception>
</member>
<member name="M:System.Globalization.StringInfo.Equals(System.Object)">
<summary>Indica se l'oggetto <see cref="T:System.Globalization.StringInfo" /> corrente uguale a un oggetto specificato.</summary>
<returns>true se il parametro <paramref name="value" /> un oggetto <see cref="T:System.Globalization.StringInfo" /> e la propriet <see cref="P:System.Globalization.StringInfo.String" /> relativa uguale alla propriet <see cref="P:System.Globalization.StringInfo.String" /> di questo oggetto <see cref="T:System.Globalization.StringInfo" />; in caso contrario, false.</returns>
<param name="value">Un oggetto.</param>
</member>
<member name="M:System.Globalization.StringInfo.GetHashCode">
<summary>Calcola un codice hash per il valore dell'oggetto <see cref="T:System.Globalization.StringInfo" /> corrente.</summary>
<returns>Codice hash integer con segno a 32 bit basato sul valore della stringa di questo oggetto <see cref="T:System.Globalization.StringInfo" />.</returns>
</member>
<member name="M:System.Globalization.StringInfo.GetNextTextElement(System.String)">
<summary>Ottiene il primo elemento di testo in una stringa specificata.</summary>
<returns>Stringa contenente il primo elemento di testo nella stringa specificata.</returns>
<param name="str">Stringa dalla quale ottenere l'elemento di testo. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> null. </exception>
</member>
<member name="M:System.Globalization.StringInfo.GetNextTextElement(System.String,System.Int32)">
<summary>Ottiene l'elemento di testo in corrispondenza dell'indice specificato della stringa indicata.</summary>
<returns>Stringa contenente l'elemento di testo in corrispondenza dell'indice specificato della stringa indicata.</returns>
<param name="str">Stringa dalla quale ottenere l'elemento di testo. </param>
<param name="index">Indice in base zero in corrispondenza del quale inizia l'elemento di testo. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> non rientra nell'intervallo di indici validi per <paramref name="str" />. </exception>
</member>
<member name="M:System.Globalization.StringInfo.GetTextElementEnumerator(System.String)">
<summary>Restituisce un enumeratore che consente di scorrere gli elementi di testo dell'intera stringa.</summary>
<returns>Oggetto <see cref="T:System.Globalization.TextElementEnumerator" /> per l'intera stringa.</returns>
<param name="str">Stringa da scorrere. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> null. </exception>
</member>
<member name="M:System.Globalization.StringInfo.GetTextElementEnumerator(System.String,System.Int32)">
<summary>Restituisce un enumeratore che consente di scorrere gli elementi di testo della stringa, a partire dall'indice specificato.</summary>
<returns>Oggetto <see cref="T:System.Globalization.TextElementEnumerator" /> per la stringa che parte da <paramref name="index" />.</returns>
<param name="str">Stringa da scorrere. </param>
<param name="index">Indice in base zero dal quale iniziare lo scorrimento. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> null. </exception>
<exception cref="T:System.ArgumentOutOfRangeException">
<paramref name="index" /> non rientra nell'intervallo di indici validi per <paramref name="str" />. </exception>
</member>
<member name="P:System.Globalization.StringInfo.LengthInTextElements">
<summary>Ottiene il numero di elementi di testo nell'oggetto <see cref="T:System.Globalization.StringInfo" /> corrente.</summary>
<returns>Numero di caratteri base, coppie di surrogati e sequenze di caratteri di combinazione in questo oggetto <see cref="T:System.Globalization.StringInfo" />.</returns>
</member>
<member name="M:System.Globalization.StringInfo.ParseCombiningCharacters(System.String)">
<summary>Restituisce gli indici di ciascun carattere base, surrogato alto o carattere di controllo all'interno della stringa specificata.</summary>
<returns>Matrice di interi che contiene gli indici in base zero di ciascun carattere base, surrogato alto o carattere di controllo all'interno della stringa specificata.</returns>
<param name="str">Stringa da cercare. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> null. </exception>
</member>
<member name="P:System.Globalization.StringInfo.String">
<summary>Ottiene o imposta il valore dell'oggetto <see cref="T:System.Globalization.StringInfo" /> corrente.</summary>
<returns>Stringa che rappresenta il valore dell'oggetto <see cref="T:System.Globalization.StringInfo" /> corrente.</returns>
<exception cref="T:System.ArgumentNullException">Il valore in un'operazione di impostazione null.</exception>
</member>
<member name="T:System.Globalization.TextElementEnumerator">
<summary>Enumera gli elementi di testo di una stringa. </summary>
</member>
<member name="P:System.Globalization.TextElementEnumerator.Current">
<summary>Ottiene l'elemento di testo corrente nella stringa.</summary>
<returns>Oggetto che contiene l'elemento di testo corrente nella stringa.</returns>
<exception cref="T:System.InvalidOperationException">L'enumeratore viene posizionato prima del primo elemento di testo della stringa oppure dopo l'ultimo. </exception>
</member>
<member name="P:System.Globalization.TextElementEnumerator.ElementIndex">
<summary>Ottiene l'indice dell'elemento di testo sul quale l'enumeratore attualmente posizionato.</summary>
<returns>Indice dell'elemento di testo sul quale l'enumeratore attualmente posizionato.</returns>
<exception cref="T:System.InvalidOperationException">L'enumeratore viene posizionato prima del primo elemento di testo della stringa oppure dopo l'ultimo. </exception>
</member>
<member name="M:System.Globalization.TextElementEnumerator.GetTextElement">
<summary>Ottiene l'elemento di testo corrente nella stringa.</summary>
<returns>Nuova stringa che contiene l'elemento di testo corrente nella stringa in fase di lettura.</returns>
<exception cref="T:System.InvalidOperationException">L'enumeratore viene posizionato prima del primo elemento di testo della stringa oppure dopo l'ultimo. </exception>
</member>
<member name="M:System.Globalization.TextElementEnumerator.MoveNext">
<summary>Sposta l'enumeratore sull'elemento di testo successivo della stringa.</summary>
<returns>true se l'enumeratore stato spostato correttamente sull'elemento di testo successivo; false se l'enumeratore ha oltrepassato la fine della stringa.</returns>
</member>
<member name="M:System.Globalization.TextElementEnumerator.Reset">
<summary>Imposta l'enumeratore sulla relativa posizione iniziale, ovvero prima del primo elemento di testo nella stringa.</summary>
</member>
<member name="T:System.Globalization.TextInfo">
<summary>Definisce propriet e comportamenti di testo, ad esempio la combinazione di maiuscole e minuscole, specifici di un sistema di scrittura. </summary>
</member>
<member name="P:System.Globalization.TextInfo.CultureName">
<summary>Ottiene il nome delle impostazioni cultura associate all'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente.</summary>
<returns>Nome di impostazioni cultura. </returns>
</member>
<member name="M:System.Globalization.TextInfo.Equals(System.Object)">
<summary>Determina se l'oggetto specificato rappresenta lo stesso sistema di scrittura dell'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente.</summary>
<returns>true se <paramref name="obj" /> rappresenta lo stesso sistema di scrittura dell'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente; in caso contrario, false.</returns>
<param name="obj">Oggetto da confrontare con l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente. </param>
</member>
<member name="M:System.Globalization.TextInfo.GetHashCode">
<summary>Viene usato come funzione hash per l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente, adatto per algoritmi hash e strutture di dati, ad esempio una tabella hash.</summary>
<returns>Codice hash per l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente.</returns>
</member>
<member name="P:System.Globalization.TextInfo.IsReadOnly">
<summary>Ottiene un valore che indica se l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente di sola lettura.</summary>
<returns>true se l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente di sola lettura; in caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.TextInfo.IsRightToLeft">
<summary>Ottiene un valore che indica se l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente rappresenta un sistema di scrittura con una direzione di scorrimento del testo da destra a sinistra.</summary>
<returns>true se il testo scorre da destra a sinistra; in caso contrario, false.</returns>
</member>
<member name="P:System.Globalization.TextInfo.ListSeparator">
<summary>Ottiene o imposta la stringa che separa le voci di un elenco.</summary>
<returns>Stringa che separa le voci di un elenco.</returns>
<exception cref="T:System.ArgumentNullException">The value in a set operation is null.</exception>
<exception cref="T:System.InvalidOperationException">In a set operation, the current <see cref="T:System.Globalization.TextInfo" /> object is read-only.</exception>
</member>
<member name="M:System.Globalization.TextInfo.ToLower(System.Char)">
<summary>Converte il carattere specificato in minuscolo.</summary>
<returns>Carattere specificato convertito in minuscolo.</returns>
<param name="c">Carattere da convertire in minuscolo. </param>
</member>
<member name="M:System.Globalization.TextInfo.ToLower(System.String)">
<summary>Converte la stringa specificata in minuscolo.</summary>
<returns>Stringa specificata convertita in minuscolo.</returns>
<param name="str">Stringa da convertire in minuscolo. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> is null. </exception>
</member>
<member name="M:System.Globalization.TextInfo.ToString">
<summary>Restituisce una stringa che rappresenta l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente.</summary>
<returns>Stringa che rappresenta l'oggetto <see cref="T:System.Globalization.TextInfo" /> corrente.</returns>
</member>
<member name="M:System.Globalization.TextInfo.ToUpper(System.Char)">
<summary>Converte il carattere specificato in maiuscolo.</summary>
<returns>Carattere specificato convertito in maiuscolo.</returns>
<param name="c">Carattere da convertire in maiuscolo. </param>
</member>
<member name="M:System.Globalization.TextInfo.ToUpper(System.String)">
<summary>Converte la stringa specificata in maiuscolo.</summary>
<returns>Stringa specificata convertita in maiuscolo.</returns>
<param name="str">Stringa da convertire in maiuscolo. </param>
<exception cref="T:System.ArgumentNullException">
<paramref name="str" /> is null. </exception>
</member>
<member name="T:System.Globalization.UnicodeCategory">
<summary>Definisce la categoria Unicode di un carattere.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.ClosePunctuation">
<summary>Carattere di chiusura di una coppia di segni di punteggiatura, ad esempio parentesi, parentesi quadre e parentesi graffe.Identificato dalla definizione Unicode "Pe" (punctuation, close).Il valore 21.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.ConnectorPunctuation">
<summary>Carattere di punteggiatura di connessione che unisce due caratteri.Identificato dalla definizione Unicode "Pc" (punctuation, connector).Il valore 18.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.Control">
<summary>Carattere di codice di controllo, con un valore Unicode U+007F oppure compreso nell'intervallo tra U+0000 e U+001F o tra U+0080 e U+009F.Identificato dalla definizione Unicode "Cc" (other, control).Il valore 14.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.CurrencySymbol">
<summary>Carattere del simbolo di valuta.Identificato dalla definizione Unicode "Sc" (symbol, currency).Il valore 26.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.DashPunctuation">
<summary>Carattere di trattino o lineetta.Identificato dalla definizione Unicode "Pd" (punctuation, dash).Il valore 19.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.DecimalDigitNumber">
<summary>Carattere di cifra decimale, ovvero un carattere compreso nell'intervallo tra 0 e 9.Identificato dalla definizione Unicode "Nd" (number, decimal digit).Il valore 8.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.EnclosingMark">
<summary>Carattere di inclusione, ovvero un carattere di combinazione di non spaziatura che racchiude tutti i caratteri precedenti fino a comprendere un carattere di base.Identificato dalla definizione Unicode "Me" (mark, enclosing).Il valore 7.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.FinalQuotePunctuation">
<summary>Carattere di virgolette di chiusura.Identificato dalla definizione Unicode "Pf" (punctuation, final quote).Il valore 23.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.Format">
<summary>Carattere di formattazione che influisce sul layout del testo o il tipo di elaborazione del testo, ma in genere non viene sottoposto a rendering.Identificato dalla definizione Unicode "Cf" (other, format).Il valore 15.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.InitialQuotePunctuation">
<summary>Carattere di virgolette di apertura.Identificato dalla definizione Unicode "Pi" (punctuation, initial quote).Il valore 22.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.LetterNumber">
<summary>Numero rappresentato da una lettera, anzich da una cifra decimale, ad esempio il numero romano 5 indicato dalla lettera 'V'.L'indicatore identificato dalla definizione Unicode "Nl" (number, letter).Il valore 9.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.LineSeparator">
<summary>Carattere utilizzato per separare le righe di testo.Identificato dalla definizione Unicode "Zl" (separator, line).Il valore 12.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.LowercaseLetter">
<summary>Lettera minuscola.Identificato dalla definizione Unicode "Ll" (letter, lowercase).Il valore 1.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.MathSymbol">
<summary>Carattere di simbolo matematico, quale "+" o "=".Identificato dalla definizione Unicode "Sm" (symbol, math).Il valore 25.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.ModifierLetter">
<summary>Carattere di modificatore, ovvero un carattere di spaziatura libero che specifica le modifiche di una lettera precedente.Identificato dalla definizione Unicode "Lm" (letter, modifier).Il valore 3.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.ModifierSymbol">
<summary>Carattere di simbolo modificatore, che specifica le modifiche dei caratteri adiacenti.Ad esempio, la barra obliqua di una frazione indica che il numero alla sinistra il numeratore e il numero alla destra il denominatore.L'indicatore identificato dalla definizione Unicode "Sk" (symbol, modifier).Il valore 27.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.NonSpacingMark">
<summary>Carattere senza spaziatura che indica le modifiche di un carattere di base.Identificato dalla definizione Unicode "Mn" (mark, nonspacing).Il valore 5.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OpenPunctuation">
<summary>Carattere di apertura di una coppia di segni di punteggiatura, ad esempio parentesi, parentesi quadre e parentesi graffe.Identificato dalla definizione Unicode "Ps" (punctuation, open).Il valore 20.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OtherLetter">
<summary>Lettera diversa da una lettera maiuscola, una lettera minuscola, una lettera di un titolo o un modificatore.Identificato dalla definizione Unicode "Lo" (letter, other).Il valore 4.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OtherNotAssigned">
<summary>Carattere non assegnato ad alcuna categoria Unicode.Identificato dalla definizione Unicode "Cn" (other, not assigned).Il valore 29.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OtherNumber">
<summary>Numero che non n una cifra decimale n un numero rappresentato da una lettera, ad esempio la frazione 1/2.L'indicatore identificato dalla definizione Unicode "No" (numero, altro).Il valore 10.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OtherPunctuation">
<summary>Carattere di punteggiatura diverso da un segno di punteggiatura di connessione, una lineetta, un segno di punteggiatura di apertura, un segno di punteggiatura di chiusura, un segno di virgolette di apertura o un segno di virgolette di chiusura.Identificato dalla definizione Unicode "Po" (punctuation, other).Il valore 24.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.OtherSymbol">
<summary>Carattere simbolo diverso da un simbolo matematico, di valuta o modificatore.Identificato dalla definizione Unicode "So" (symbol, other).Il valore 28.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.ParagraphSeparator">
<summary>Carattere utilizzato per separare paragrafi.Identificato dalla definizione Unicode "Zp" (separator, paragraph).Il valore 13.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.PrivateUse">
<summary>Carattere ad uso privato, con valore Unicode compreso nell'intervallo tra U+E000 e U+F8FF.Identificato dalla definizione Unicode "Co" (other, private use).Il valore 17.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.SpaceSeparator">
<summary>Carattere di spazio, che non dispone di un glifo, ma non un carattere di controllo o di formattazione.Identificato dalla definizione Unicode "Zs" (separator, space).Il valore 11.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.SpacingCombiningMark">
<summary>Carattere di spaziatura, che specifica le modifiche di un carattere di base e influenza la larghezza del glifo del carattere di base.Identificato dalla definizione Unicode "Mc" (mark, spacing combining).Il valore 6.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.Surrogate">
<summary>Carattere surrogato alto o basso.I valori dei codici dei surrogati sono compresi nell'intervallo tra U+D800 e U+DFFF.Identificato dalla definizione Unicode "Cs" (other, surrogate).Il valore 16.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.TitlecaseLetter">
<summary>Lettera di titolo.Identificato dalla definizione Unicode "Lt" (letter, titlecase).Il valore 2.</summary>
</member>
<member name="F:System.Globalization.UnicodeCategory.UppercaseLetter">
<summary>Lettera maiuscola.Identificato dalla definizione Unicode "Lu" (letter, uppercase).Il valore 0.</summary>
</member>
</members>
</doc>
``` | /content/code_sandbox/packages/System.Globalization.4.0.0/ref/netcore50/it/System.Globalization.xml | xml | 2016-04-24T09:50:47 | 2024-08-16T11:45:14 | ILRuntime | Ourpalm/ILRuntime | 2,976 | 45,900 |
```xml
import { Volume } from 'docker-types/generated/1.41';
import axios, { parseAxiosError } from '@/portainer/services/axios';
import { EnvironmentId } from '@/react/portainer/environments/types';
import { buildDockerProxyUrl } from '../../proxy/queries/buildDockerProxyUrl';
/**
* Raw docker API query
* @param environmentId
* @param name
* @returns
*/
export async function getVolume(
environmentId: EnvironmentId,
name: Volume['Name']
) {
try {
const { data } = await axios.get(
buildDockerProxyUrl(environmentId, 'volumes', name)
);
return data;
} catch (e) {
throw parseAxiosError(e, 'Unable to retrieve volume details');
}
}
``` | /content/code_sandbox/app/react/docker/volumes/queries/useVolume.ts | xml | 2016-05-19T20:15:28 | 2024-08-16T19:15:14 | portainer | portainer/portainer | 30,083 | 169 |
```xml
export default defineComponent({
name: 'Foo',
methods: {
getMessage () {
return 'Hello world'
},
},
render () {
return h('div', {}, this.getMessage())
},
})
``` | /content/code_sandbox/test/fixtures/basic/components/client/Binding.client.ts | xml | 2016-10-26T11:18:47 | 2024-08-16T19:32:46 | nuxt | nuxt/nuxt | 53,705 | 47 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<set xmlns:android="path_to_url"
android:fillAfter="true" >
<scale
android:duration="500"
android:fromXScale="1.0"
android:fromYScale="1.0"
android:interpolator="@android:anim/linear_interpolator"
android:toXScale="1.0"
android:toYScale="0.0" />
</set>
``` | /content/code_sandbox/Android/Animations/app/src/main/res/anim/slide_up.xml | xml | 2016-05-02T05:43:21 | 2024-08-16T06:51:39 | journaldev | WebJournal/journaldev | 1,314 | 107 |
```xml
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>latest</LangVersion>
</PropertyGroup>
</Project>
``` | /content/code_sandbox/tests/common/mac/NetStandard/NetStandardLib.csproj | xml | 2016-04-20T18:24:26 | 2024-08-16T13:29:19 | xamarin-macios | xamarin/xamarin-macios | 2,436 | 46 |
```xml
import * as React from 'react';
import { useNavCategoryItem_unstable } from './useNavCategoryItem';
import { renderNavCategoryItem_unstable } from './renderNavCategoryItem';
import type { NavCategoryItemProps } from './NavCategoryItem.types';
import type { ForwardRefComponent } from '@fluentui/react-utilities';
import { useNavCategoryItemStyles_unstable } from './useNavCategoryItem.styles';
import { useNavCategoryItemContextValues_unstable } from '../useNavCategoryItemContextValues_unstable';
// import { useCustomStyleHook_unstable } from '@fluentui/react-shared-contexts';
/**
* A Nav Category Item provides provides a clickable accordion like header that exposes
* a list of NavSubItems to take users to a new destination.
*/
export const NavCategoryItem: ForwardRefComponent<NavCategoryItemProps> = React.forwardRef((props, ref) => {
const state = useNavCategoryItem_unstable(props, ref);
const contextValues = useNavCategoryItemContextValues_unstable(state);
useNavCategoryItemStyles_unstable(state);
// todo: add custom style hook
// useCustomStyleHook_unstable('useNavCategoryItemStyles')(state);
return renderNavCategoryItem_unstable(state, contextValues);
});
NavCategoryItem.displayName = 'NavCategoryItem';
``` | /content/code_sandbox/packages/react-components/react-nav-preview/library/src/components/NavCategoryItem/NavCategoryItem.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 279 |
```xml
import React, { useEffect } from 'react';
import { Text } from 'ink';
import { ProjectConfiguration } from './ProjectState.js';
import { useInstallDeps } from './useInstallDeps.js';
import { useRunFormatter } from './useRunFormatter.js';
export const StepRunInstall = ({
config,
onCompleted,
}: {
config: ProjectConfiguration;
onCompleted: (value: any) => void;
}) => {
const installDeps = useInstallDeps();
const runFormatter = useRunFormatter();
useEffect(() => {
installDeps(config).then(() => {
runFormatter(config).then(() => {
onCompleted({});
});
});
// Disabled as we want to run this only once
// eslint-disable-next-line react-hooks/exhaustive-deps
}, []);
return <Text>Generating your application...</Text>;
};
``` | /content/code_sandbox/packages/create-react-admin/src/StepRunInstall.tsx | xml | 2016-07-13T07:58:54 | 2024-08-16T18:32:27 | react-admin | marmelab/react-admin | 24,624 | 188 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>APPL</string>
<key>CFBundleShortVersionString</key>
<string>1.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>1</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
<string>LaunchScreen</string>
<key>UIRequiredDeviceCapabilities</key>
<array>
<string>armv7</string>
</array>
<key>UISupportedInterfaceOrientations</key>
<array>
<string>UIInterfaceOrientationPortrait</string>
<string>UIInterfaceOrientationLandscapeLeft</string>
<string>UIInterfaceOrientationLandscapeRight</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
<key>NSLocationWhenInUseUsageDescription</key>
<string></string>
<key>NSAppTransportSecurity</key>
<dict>
<!--See path_to_url -->
<key>NSAllowsArbitraryLoads</key>
<true/>
</dict>
</dict>
</plist>
``` | /content/code_sandbox/desktop/libs/StoryboardProject/ios/Project/Info.plist | xml | 2016-05-19T21:29:00 | 2024-08-14T00:14:01 | deco-ide | decosoftware/deco-ide | 5,835 | 433 |
```xml
import { IReadonlyTheme } from '@microsoft/sp-component-base';
import { IPage } from '@src/models/IPage';
import { INavLink } from '@fluentui/react';
export interface ILayoutProps {
domElement: HTMLElement;
pages: IPage[];
nav?: INavLink;
pageId?: number;
themeVariant: IReadonlyTheme;
}
``` | /content/code_sandbox/samples/react-pages-hierarchy/src/webparts/pagehierarchy/components/Layouts/ILayoutProps.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 82 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="path_to_url">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug-c++17|Win32">
<Configuration>Debug-c++17</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-c++17|x64">
<Configuration>Debug-c++17</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-static|Win32">
<Configuration>Debug-static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug-static|x64">
<Configuration>Debug-static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DebugVLD|Win32">
<Configuration>DebugVLD</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="DebugVLD|x64">
<Configuration>DebugVLD</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-c++17|Win32">
<Configuration>Release-c++17</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-c++17|x64">
<Configuration>Release-c++17</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-static|Win32">
<Configuration>Release-static</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release-static|x64">
<Configuration>Release-static</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|x64">
<Configuration>Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|x64">
<Configuration>Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="vc14-Debug|Win32">
<Configuration>vc14-Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="vc14-Debug|x64">
<Configuration>vc14-Debug</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="vc14-Release|Win32">
<Configuration>vc14-Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="vc14-Release|x64">
<Configuration>vc14-Release</Configuration>
<Platform>x64</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\test\unit\main.cpp" />
<ClCompile Include="..\..\..\test\unit\striped-map\map_boost_flat_map.cpp" />
<ClCompile Include="..\..\..\test\unit\striped-map\map_boost_list.cpp" />
<ClCompile Include="..\..\..\test\unit\striped-map\map_boost_map.cpp" />
<ClCompile Include="..\..\..\test\unit\striped-map\map_boost_slist.cpp" />
<ClCompile Include="..\..\..\test\unit\striped-map\map_boost_unordered_map.cpp" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\..\..\test\unit\striped-map\test_map.h" />
<ClInclude Include="..\..\..\test\unit\striped-map\test_map_data.h" />
<ClInclude Include="..\..\..\test\unit\striped-map\test_striped_map.h" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{32E3E2E1-1953-44FD-AAE2-19BD8D030CAB}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>striped-map</RootNamespace>
<WindowsTargetPlatformVersion>10.0.17763.0</WindowsTargetPlatformVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="Shared">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|Win32'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|Win32'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|x64'">
<LinkIncremental>true</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
<TargetName>$(ProjectName)_d</TargetName>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|Win32'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|x64'">
<LinkIncremental>false</LinkIncremental>
<OutDir>$(SolutionDir)..\..\..\bin\vc.$(PlatformToolset)\$(Platform)-$(Configuration)\</OutDir>
<IntDir>$(SolutionDir)..\..\..\obj\vc.$(PlatformToolset)\$(Platform)\$(ProjectName)\$(Configuration)\</IntDir>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CDS_BUILD_STATIC_LIB;_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|Win32'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-static|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>CDS_BUILD_STATIC_LIB;_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug-c++17|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget)-dbg.lib;gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Debug|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='DebugVLD|x64'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;_DEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<GenerateDebugInformation>DebugFastLink</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtestd.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDS_BUILD_STATIC_LIB;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;WIN32;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB32);$(GTEST_ROOT)/lib/x86;$(BOOST_PATH)/stage32/lib;$(BOOST_PATH)/stage/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-static|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDS_BUILD_STATIC_LIB;CDSUNIT_ENABLE_BOOST_CONTAINER;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-c++17|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
<LanguageStandard>stdcpp17</LanguageStandard>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>libcds-$(PlatformTarget).lib;gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='vc14-Release|x64'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>_ENABLE_ATOMIC_ALIGNMENT_FIX;_SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING;CDSUNIT_ENABLE_BOOST_CONTAINER;NDEBUG;_CONSOLE;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)..\..\..;$(GTEST_ROOT)/include;$(SolutionDir)..\..\..\test\include;$(BOOST_PATH);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
<AdditionalOptions>/bigobj %(AdditionalOptions) /Zc:inline /permissive- </AdditionalOptions>
</ClCompile>
<Link>
<SubSystem>Console</SubSystem>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalLibraryDirectories>$(GTEST_LIB64);$(GTEST_ROOT)/lib/x64;$(BOOST_PATH)/stage64/lib;$(BOOST_PATH)/bin;%(AdditionalLibraryDirectories);$(OutDir)</AdditionalLibraryDirectories>
<AdditionalDependencies>gtest.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>
``` | /content/code_sandbox/extern/libcds/projects/Win/vc141/gtest-striped-map-boost.vcxproj | xml | 2016-03-16T06:10:37 | 2024-08-16T14:13:51 | firebird | FirebirdSQL/firebird | 1,223 | 11,618 |
```xml
import React, { FunctionComponent } from "react";
import { graphql } from "react-relay";
import { withRouteConfig } from "coral-framework/lib/router";
import { Delay, Spinner } from "coral-ui/components/v2";
import { WebhookEndpointsConfigRouteQueryResponse } from "coral-admin/__generated__/WebhookEndpointsConfigRouteQuery.graphql";
import WebhookEndpointsConfigContainer from "./WebhookEndpointsConfigContainer";
interface Props {
data: WebhookEndpointsConfigRouteQueryResponse | null;
}
const WebhookEndpointsConfigRoute: FunctionComponent<Props> = ({ data }) => {
if (!data) {
return (
<Delay>
<Spinner />
</Delay>
);
}
return <WebhookEndpointsConfigContainer settings={data.settings} />;
};
const enhanced = withRouteConfig<Props>({
query: graphql`
query WebhookEndpointsConfigRouteQuery {
settings {
...WebhookEndpointsConfigContainer_settings
}
}
`,
})(WebhookEndpointsConfigRoute);
export default enhanced;
``` | /content/code_sandbox/client/src/core/client/admin/routes/Configure/sections/WebhookEndpoints/WebhookEndpointsConfigRoute.tsx | xml | 2016-10-31T16:14:05 | 2024-08-06T16:15:57 | talk | coralproject/talk | 1,881 | 217 |
```xml
///
///
///
/// 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 { ChangeDetectorRef, Component, Inject } from '@angular/core';
import { Store } from '@ngrx/store';
import { AppState } from '@core/core.state';
import { EntityComponent } from '../../components/entity/entity.component';
import { UntypedFormBuilder, UntypedFormGroup, Validators } from '@angular/forms';
import { EntityType } from '@shared/models/entity-type.models';
import { NULL_UUID } from '@shared/models/id/has-uuid';
import { ActionNotificationShow } from '@core/notification/notification.actions';
import { TranslateService } from '@ngx-translate/core';
import { EntityViewInfo } from '@app/shared/models/entity-view.models';
import { Observable } from 'rxjs';
import { DataKeyType } from '@shared/models/telemetry/telemetry.models';
import { EntityId } from '@app/shared/models/id/entity-id';
import { EntityTableConfig } from '@home/models/entity/entities-table-config.models';
@Component({
selector: 'tb-entity-view',
templateUrl: './entity-view.component.html',
styleUrls: ['./entity-view.component.scss']
})
export class EntityViewComponent extends EntityComponent<EntityViewInfo> {
entityType = EntityType;
dataKeyType = DataKeyType;
entityViewScope: 'tenant' | 'customer' | 'customer_user' | 'edge';
allowedEntityTypes = [EntityType.DEVICE, EntityType.ASSET];
maxStartTimeMs: Observable<number | null>;
minEndTimeMs: Observable<number | null>;
selectedEntityId: Observable<EntityId | null>;
constructor(protected store: Store<AppState>,
protected translate: TranslateService,
@Inject('entity') protected entityValue: EntityViewInfo,
@Inject('entitiesTableConfig') protected entitiesTableConfigValue: EntityTableConfig<EntityViewInfo>,
public fb: UntypedFormBuilder,
protected cd: ChangeDetectorRef) {
super(store, fb, entityValue, entitiesTableConfigValue, cd);
}
ngOnInit() {
this.entityViewScope = this.entitiesTableConfig.componentsData.entityViewScope;
super.ngOnInit();
this.maxStartTimeMs = this.entityForm.get('endTimeMs').valueChanges;
this.minEndTimeMs = this.entityForm.get('startTimeMs').valueChanges;
this.selectedEntityId = this.entityForm.get('entityId').valueChanges;
}
hideDelete() {
if (this.entitiesTableConfig) {
return !this.entitiesTableConfig.deleteEnabled(this.entity);
} else {
return false;
}
}
isAssignedToCustomer(entity: EntityViewInfo): boolean {
return entity && entity.customerId && entity.customerId.id !== NULL_UUID;
}
buildForm(entity: EntityViewInfo): UntypedFormGroup {
return this.fb.group(
{
name: [entity ? entity.name : '', [Validators.required, Validators.maxLength(255)]],
type: [entity ? entity.type : null, Validators.required],
entityId: [entity ? entity.entityId : null, [Validators.required]],
startTimeMs: [entity ? entity.startTimeMs : null],
endTimeMs: [entity ? entity.endTimeMs : null],
keys: this.fb.group(
{
attributes: this.fb.group(
{
cs: [entity && entity.keys && entity.keys.attributes ? entity.keys.attributes.cs : null],
sh: [entity && entity.keys && entity.keys.attributes ? entity.keys.attributes.sh : null],
ss: [entity && entity.keys && entity.keys.attributes ? entity.keys.attributes.ss : null],
}
),
timeseries: [entity && entity.keys && entity.keys.timeseries ? entity.keys.timeseries : null]
}
),
additionalInfo: this.fb.group(
{
description: [entity && entity.additionalInfo ? entity.additionalInfo.description : ''],
}
)
}
);
}
updateForm(entity: EntityViewInfo) {
this.entityForm.patchValue({name: entity.name});
this.entityForm.patchValue({type: entity.type});
this.entityForm.patchValue({entityId: entity.entityId});
this.entityForm.patchValue({startTimeMs: entity.startTimeMs});
this.entityForm.patchValue({endTimeMs: entity.endTimeMs});
this.entityForm.patchValue({
keys:
{
attributes: {
cs: entity.keys && entity.keys.attributes ? entity.keys.attributes.cs : null,
sh: entity.keys && entity.keys.attributes ? entity.keys.attributes.sh : null,
ss: entity.keys && entity.keys.attributes ? entity.keys.attributes.ss : null,
},
timeseries: entity.keys && entity.keys.timeseries ? entity.keys.timeseries : null
}
});
this.entityForm.patchValue({additionalInfo: {description: entity.additionalInfo ? entity.additionalInfo.description : ''}});
}
onEntityViewIdCopied($event) {
this.store.dispatch(new ActionNotificationShow(
{
message: this.translate.instant('entity-view.idCopiedMessage'),
type: 'success',
duration: 750,
verticalPosition: 'bottom',
horizontalPosition: 'right'
}));
}
}
``` | /content/code_sandbox/ui-ngx/src/app/modules/home/pages/entity-view/entity-view.component.ts | xml | 2016-12-01T09:33:30 | 2024-08-16T19:58:25 | thingsboard | thingsboard/thingsboard | 16,820 | 1,084 |
```xml
/*
*
*
* 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 classNames from "classnames";
import * as React from "react";
import {
type DefaultSVGIconProps,
type IconName,
type IconPaths,
Icons,
IconSize,
SVGIconContainer,
type SVGIconProps,
} from "@blueprintjs/icons";
import {
Classes,
DISPLAYNAME_PREFIX,
type IntentProps,
type MaybeElement,
type Props,
removeNonHTMLProps,
} from "../../common";
// re-export for convenience, since some users won't be importing from or have a direct dependency on the icons package
export { type IconName, IconSize };
export interface IconOwnProps {
/**
* Whether the component should automatically load icon contents using an async import.
*
* @default true
*/
autoLoad?: boolean;
/**
* Name of a Blueprint UI icon, or an icon element, to render. This prop is
* required because it determines the content of the component, but it can
* be explicitly set to falsy values to render nothing.
*
* - If `null` or `undefined` or `false`, this component will render nothing.
* - If given an `IconName` (a string literal union of all icon names), that
* icon will be rendered as an `<svg>` with `<path>` tags. Unknown strings
* will render a blank icon to occupy space.
* - If given a `React.JSX.Element`, that element will be rendered and _all other
* props on this component are ignored._ This type is supported to
* simplify icon support in other Blueprint components. As a consumer, you
* should avoid using `<Icon icon={<Element />}` directly; simply render
* `<Element />` instead.
*/
icon: IconName | MaybeElement;
/**
* Alias for `size` prop. Kept around for backwards-compatibility with Blueprint v4.x,
* will be removed in v6.0.
*
* @deprecated use `size` prop instead
*/
iconSize?: number;
/** Props to apply to the `SVG` element */
svgProps?: React.HTMLAttributes<SVGElement>;
}
// N.B. the following inteface is defined as a type alias instead of an interface due to a TypeScript limitation
// where interfaces cannot extend conditionally-defined union types.
/**
* Generic interface for the `<Icon>` component which may be parameterized by its root element type.
*
* @see path_to_url#core/components/icon.dom-attributes
*/
export type IconProps<T extends Element = Element> = IntentProps & Props & SVGIconProps<T> & IconOwnProps;
/**
* The default `<Icon>` props interface, equivalent to `IconProps` with its default type parameter.
* This is primarly exported for documentation purposes; users should reference `IconProps<T>` instead.
*/
export interface DefaultIconProps extends IntentProps, Props, DefaultSVGIconProps, IconOwnProps {
// empty interface for documentation purposes (documentalist handles this better than the IconProps<T> type alias)
}
/**
* Generic icon component type. This is essentially a type hack required to make forwardRef work with generic
* components. Note that this slows down TypeScript compilation, but it better than the alternative of globally
* augmenting "@types/react".
*
* @see path_to_url
*/
export interface IconComponent extends React.FC<IconProps<Element>> {
<T extends Element = Element>(props: IconProps<T>): React.ReactElement | null;
}
/**
* Icon component.
*
* @see path_to_url#core/components/icon
*/
// eslint-disable-next-line prefer-arrow-callback
export const Icon: IconComponent = React.forwardRef(function <T extends Element>(
props: IconProps<T>,
ref: React.Ref<T>,
) {
const { autoLoad, className, color, icon, intent, tagName, svgProps, title, htmlTitle, ...htmlProps } = props;
// Preserve Blueprint v4.x behavior: iconSize prop takes predecence, then size prop, then fall back to default value
// eslint-disable-next-line deprecation/deprecation
const size = props.iconSize ?? props.size ?? IconSize.STANDARD;
const [iconPaths, setIconPaths] = React.useState<IconPaths | undefined>(() =>
typeof icon === "string" ? Icons.getPaths(icon, size) : undefined,
);
React.useEffect(() => {
let shouldCancelIconLoading = false;
if (typeof icon === "string") {
// The icon may have been loaded already, in which case we can simply grab it.
// N.B. when `autoLoad={true}`, we can't rely on simply calling Icons.load() here to re-load an icon module
// which has already been loaded & cached, since it may have been loaded with special loading options which
// this component knows nothing about.
const loadedIconPaths = Icons.getPaths(icon, size);
if (loadedIconPaths !== undefined) {
setIconPaths(loadedIconPaths);
} else if (autoLoad) {
Icons.load(icon, size)
.then(() => {
// if this effect expired by the time icon loaded, then don't set state
if (!shouldCancelIconLoading) {
setIconPaths(Icons.getPaths(icon, size));
}
})
.catch(reason => {
console.error(`[Blueprint] Icon '${icon}' (${size}px) could not be loaded.`, reason);
});
} else {
console.error(
`[Blueprint] Icon '${icon}' (${size}px) is not loaded yet and autoLoad={false}, did you call Icons.load('${icon}', ${size})?`,
);
}
}
return () => {
shouldCancelIconLoading = true;
};
}, [autoLoad, icon, size]);
if (icon == null || typeof icon === "boolean") {
return null;
} else if (typeof icon !== "string") {
return icon;
}
if (iconPaths == null) {
// fall back to icon font if unloaded or unable to load SVG implementation
const sizeClass =
size === IconSize.STANDARD
? Classes.ICON_STANDARD
: size === IconSize.LARGE
? Classes.ICON_LARGE
: undefined;
return React.createElement(tagName!, {
"aria-hidden": title ? undefined : true,
...removeNonHTMLProps(htmlProps),
className: classNames(
Classes.ICON,
sizeClass,
Classes.iconClass(icon),
Classes.intentClass(intent),
className,
),
"data-icon": icon,
ref,
title: htmlTitle,
});
} else {
const pathElements = iconPaths.map((d, i) => <path d={d} key={i} fillRule="evenodd" />);
// HACKHACK: there is no good way to narrow the type of SVGIconContainerProps here because of the use
// of a conditional type within the type union that defines that interface. So we cast to <any>.
// see path_to_url path_to_url
return (
<SVGIconContainer<any>
children={pathElements}
// don't forward `Classes.ICON` or `Classes.iconClass(icon)` here, since the container will render those classes
className={classNames(Classes.intentClass(intent), className)}
color={color}
htmlTitle={htmlTitle}
iconName={icon}
ref={ref}
size={size}
svgProps={svgProps}
tagName={tagName}
title={title}
{...removeNonHTMLProps(htmlProps)}
/>
);
}
});
Icon.defaultProps = {
autoLoad: true,
tagName: "span",
};
Icon.displayName = `${DISPLAYNAME_PREFIX}.Icon`;
``` | /content/code_sandbox/packages/core/src/components/icon/icon.tsx | xml | 2016-10-25T21:17:50 | 2024-08-16T15:14:48 | blueprint | palantir/blueprint | 20,593 | 1,691 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "path_to_url">
<plist version="1.0">
<dict>
<key>ACPI</key>
<dict>
<key>AutoMerge</key>
<false/>
<key>DSDT</key>
<dict>
<key>Debug</key>
<false/>
<key>DropOEM_DSM</key>
<false/>
<key>Fixes</key>
<dict>
<key>AddDTGP</key>
<true/>
<key>AddHDMI</key>
<true/>
<key>AddIMEI</key>
<false/>
<key>AddMCHC</key>
<false/>
<key>AddPNLF</key>
<true/>
<key>DeleteUnused</key>
<true/>
<key>FakeLPC</key>
<false/>
<key>FixACST</key>
<true/>
<key>FixADP1</key>
<true/>
<key>FixAirport</key>
<false/>
<key>FixDarwin</key>
<false/>
<key>FixDarwin7</key>
<true/>
<key>FixDisplay</key>
<true/>
<key>FixFirewire</key>
<false/>
<key>FixHDA</key>
<true/>
<key>FixHPET</key>
<true/>
<key>FixHeaders</key>
<true/>
<key>FixIDE</key>
<false/>
<key>FixIPIC</key>
<true/>
<key>FixIntelGfx</key>
<false/>
<key>FixLAN</key>
<true/>
<key>FixMutex</key>
<false/>
<key>FixRTC</key>
<true/>
<key>FixRegions</key>
<true/>
<key>FixS3D</key>
<true/>
<key>FixSATA</key>
<false/>
<key>FixSBUS</key>
<true/>
<key>FixShutdown</key>
<true/>
<key>FixTMR</key>
<true/>
<key>FixUSB</key>
<true/>
<key>FixWAK</key>
<true/>
</dict>
<key>Name</key>
<string>DSDT.aml</string>
<key>Patches</key>
<array>
<dict>
<key>Comment</key>
<string>change SAT0 to SATA</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
U0FUMA==
</data>
<key>Replace</key>
<data>
U0FUQQ==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change EHC1 to EH01</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
RUhDMQ==
</data>
<key>Replace</key>
<data>
RUgwMQ==
</data>
</dict>
<dict>
<key>Comment</key>
<string>change EHC2 to EH02</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
RUhDMg==
</data>
<key>Replace</key>
<data>
RUgwMg==
</data>
</dict>
</array>
<key>ReuseFFFF</key>
<false/>
</dict>
<key>SSDT</key>
<dict>
<key>DropOem</key>
<true/>
<key>Generate</key>
<dict>
<key>CStates</key>
<false/>
<key>PStates</key>
<false/>
</dict>
</dict>
</dict>
<key>Boot</key>
<dict>
<key>Arguments</key>
<string>dart=0 nv_disable=1 kext-dev-mode=1</string>
<key>Debug</key>
<false/>
<key>DefaultVolume</key>
<string>LastBootedVolume</string>
<key>Legacy</key>
<string>PBRsata</string>
<key>NeverDoRecovery</key>
<true/>
<key>SignatureFixup</key>
<false/>
<key>Timeout</key>
<integer>3</integer>
</dict>
<key>BootGraphics</key>
<dict>
<key>EFILoginHiDPI</key>
<integer>1</integer>
</dict>
<key>CPU</key>
<dict>
<key>HWPEnable</key>
<true/>
</dict>
<key>Devices</key>
<dict>
<key>Audio</key>
<dict>
<key>Inject</key>
<string>13</string>
</dict>
<key>SetIntelBacklight</key>
<true/>
<key>USB</key>
<dict>
<key>AddClockID</key>
<true/>
<key>FixOwnership</key>
<true/>
<key>Inject</key>
<true/>
</dict>
</dict>
<key>GUI</key>
<dict>
<key>Hide</key>
<array>
<string>preboot</string>
<string>recovery</string>
</array>
<key>Mouse</key>
<dict>
<key>DoubleClick</key>
<integer>500</integer>
<key>Enabled</key>
<true/>
<key>Speed</key>
<integer>7</integer>
</dict>
<key>Scan</key>
<dict>
<key>Entries</key>
<true/>
<key>Legacy</key>
<false/>
<key>Linux</key>
<true/>
<key>Tool</key>
<false/>
</dict>
<key>ScreenResolution</key>
<string>1920x1080</string>
<key>Theme</key>
<string>SimpleThemeDark</string>
</dict>
<key>Graphics</key>
<dict>
<key>Inject</key>
<dict>
<key>ATI</key>
<false/>
<key>Intel</key>
<true/>
<key>NVidia</key>
<false/>
</dict>
<key>ig-platform-id</key>
<string>0x19270000</string>
</dict>
<key>KernelAndKextPatches</key>
<dict>
<key>AppleIntelCPUPM</key>
<false/>
<key>AppleRTC</key>
<true/>
<key>Debug</key>
<false/>
<key>DellSMBIOSPatch</key>
<false/>
<key>KernelCpu</key>
<false/>
<key>KernelLapic</key>
<false/>
<key>KernelPm</key>
<true/>
<key>KernelXCPM</key>
<false/>
<key>KextsToPatch</key>
<array>
<dict>
<key>Comment</key>
<string>DVMT</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AQMDAwAAIAIAAFAB
</data>
<key>Name</key>
<string>AppleIntelSKLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AQMDAwAAMAEAAJAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>DP</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AAAIAAIAAACYAAAAAQUJAAAEAAA=
</data>
<key>Name</key>
<string>AppleIntelSKLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AAAIAAAEAACYAAAAAQUJAAAEAAA=
</data>
</dict>
<dict>
<key>Comment</key>
<string>DVMT+change 3Port to 2port</string>
<key>Disabled</key>
<true/>
<key>Find</key>
<data>
AAAnGQAAAADEgggAAAAAAAEDAwMAACACAABQAQ==
</data>
<key>Name</key>
<string>AppleIntelSKLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AAAnGQAAAADEgggAAAAAAAEDAgIAADABAACQAA==
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI Audio</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
AgQKAAAAQAAIcBAA
</data>
<key>Name</key>
<string>AppleIntelSKLGraphicsFramebuffer</string>
<key>Replace</key>
<data>
AgQKAAAIAACHAQAA
</data>
</dict>
</array>
</dict>
<key>RtVariables</key>
<dict>
<key>BooterConfig</key>
<string>0x28</string>
<key>CsrActiveConfig</key>
<string>0x67</string>
</dict>
<key>SMBIOS</key>
<dict>
<key>BiosReleaseDate</key>
<string>08/08/2017</string>
<key>BiosVendor</key>
<string>Apple Inc.</string>
<key>BiosVersion</key>
<string>MBP131.88Z.0212.B00.1708080127</string>
<key>Board-ID</key>
<string>Mac-473D31EABEB93F9B</string>
<key>BoardManufacturer</key>
<string>Apple Inc.</string>
<key>BoardSerialNumber</key>
<string>C026523064NF5041F</string>
<key>BoardType</key>
<integer>10</integer>
<key>BoardVersion</key>
<string>MacBookPro13,1</string>
<key>ChassisAssetTag</key>
<string>MacBook-Aluminum</string>
<key>ChassisManufacturer</key>
<string>Apple Inc.</string>
<key>ChassisType</key>
<string>0x09</string>
<key>Family</key>
<string>MacBook Pro</string>
<key>FirmwareFeatures</key>
<string>0xFC0FE136</string>
<key>FirmwareFeaturesMask</key>
<string>0xFF1FFF3F</string>
<key>LocationInChassis</key>
<string>Part Component</string>
<key>Manufacturer</key>
<string>Apple Inc.</string>
<key>Memory</key>
<dict>
<key>Modules</key>
<array>
<dict>
<key>Frequency</key>
<integer>2400</integer>
<key>Size</key>
<integer>4096</integer>
<key>Slot</key>
<integer>1</integer>
<key>Type</key>
<string>DDR4</string>
<key>Vendor</key>
<string>hynix</string>
</dict>
<dict>
<key>Frequency</key>
<integer>2400</integer>
<key>Size</key>
<integer>4096</integer>
<key>Slot</key>
<integer>2</integer>
<key>Type</key>
<string>DDR4</string>
<key>Vendor</key>
<string>hynix</string>
</dict>
</array>
</dict>
<key>Mobile</key>
<true/>
<key>PlatformFeature</key>
<string>0x1A</string>
<key>ProductName</key>
<string>MacBookPro13,1</string>
<key>SerialNumber</key>
<string>C02T1UODGVC1</string>
<key>Version</key>
<string>1.0</string>
</dict>
<key>SystemParameters</key>
<dict>
<key>InjectKexts</key>
<string>Yes</string>
</dict>
</dict>
</plist>
``` | /content/code_sandbox/Clover-Configs/Lenovo/E42-80/CLOVER/config.plist | xml | 2016-11-05T04:22:54 | 2024-08-12T19:25:53 | Hackintosh-Installer-University | huangyz0918/Hackintosh-Installer-University | 3,937 | 3,268 |
```xml
import withCandlestick, { CandlestickProps } from './withCandlestick';
import CandlestickView from './candlestickView';
export { CandlestickProps, CandlestickView, withCandlestick };
export default withCandlestick(CandlestickView);
``` | /content/code_sandbox/packages/f2/src/components/candlestick/index.tsx | xml | 2016-08-29T06:26:23 | 2024-08-16T15:50:14 | F2 | antvis/F2 | 7,877 | 56 |
```xml
import { Entity } from './entity.dto';
export class Switch extends Entity {
state: boolean;
turnOn(): void {
this.state = true;
}
turnOff(): void {
this.state = false;
}
}
``` | /content/code_sandbox/src/entities/switch.ts | xml | 2016-08-18T18:50:21 | 2024-08-12T16:12:05 | room-assistant | mKeRix/room-assistant | 1,255 | 50 |
```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 incrrss = require( './index' );
// TESTS //
// The function returns an accumulator function...
{
incrrss(); // $ExpectType accumulator
}
// The compiler throws an error if the function is provided arguments...
{
incrrss( '5' ); // $ExpectError
incrrss( 5 ); // $ExpectError
incrrss( true ); // $ExpectError
incrrss( false ); // $ExpectError
incrrss( null ); // $ExpectError
incrrss( undefined ); // $ExpectError
incrrss( [] ); // $ExpectError
incrrss( {} ); // $ExpectError
incrrss( ( x: number ): number => x ); // $ExpectError
}
// The function returns an accumulator function which returns an accumulated result...
{
const acc = incrrss();
acc(); // $ExpectType number | null
acc( 3.14, 2.0 ); // $ExpectType number | null
}
// The compiler throws an error if the returned accumulator function is provided invalid arguments...
{
const acc = incrrss();
acc( '5', 1.0 ); // $ExpectError
acc( true, 1.0 ); // $ExpectError
acc( false, 1.0 ); // $ExpectError
acc( null, 1.0 ); // $ExpectError
acc( [], 1.0 ); // $ExpectError
acc( {}, 1.0 ); // $ExpectError
acc( ( x: number ): number => x, 1.0 ); // $ExpectError
acc( 3.14, '5' ); // $ExpectError
acc( 3.14, true ); // $ExpectError
acc( 3.14, false ); // $ExpectError
acc( 3.14, null ); // $ExpectError
acc( 3.14, [] ); // $ExpectError
acc( 3.14, {} ); // $ExpectError
acc( 3.14, ( x: number ): number => x ); // $ExpectError
}
``` | /content/code_sandbox/lib/node_modules/@stdlib/stats/incr/rss/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 523 |
```xml
import * as React from 'react';
import styles from './Attachments.module.scss';
import * as tsStyles from './AttachmentsStyles';
import { ITaskExternalReference } from '../../../../services/ITaskExternalReference';
import {
DefaultPalette,
Icon,
DefaultButton,
IContextualMenuProps,
IContextualMenuItem,
IconType,
Link,
IColumn,
DetailsList,
DetailsListLayoutMode,
getTheme,
MessageBar,
MessageBarType,
Spinner,
SpinnerSize,
LinkBase,
Stack,
} from 'office-ui-fabric-react';
import { IAttachmentsProps } from './IAttachmentsProps';
import { IAttachmentsState } from './IAttachmentsState';
import { SelectionMode } from '@pnp/spfx-controls-react';
import { UploadFromSharePoint } from '../../../../Controls/UploadFromSharePoint';
import { AddLink } from './../../../../Controls/AddLink';
import { UploadFile } from './../../../../Controls/UploadFile';
import { IListViewItems } from './IListViewItems';
import { utilities } from '../../../../utilities';
import { IFile } from './IFile';
import { ITaskDetails } from '../../../../services/ITaskDetails';
import { EditLink } from '../../../../Controls/EditLink';
import * as strings from 'MyTasksWebPartStrings';
export class Attachments extends React.Component<IAttachmentsProps, IAttachmentsState> {
private _listViewItems: IListViewItems[] = [];
private _util = new utilities();
private _selectedItem: IListViewItems = {} as IListViewItems;
private _theme = getTheme();
constructor(props: IAttachmentsProps) {
super(props);
const listAttachmentsItemMenuProps: IContextualMenuProps = {
items: [
{
key: '0',
text: strings.EditLabel,
iconProps: { iconName: 'Edit' },
onClick: this._editAttachment.bind(this)
// onClick: this.onClickFilterAllTasks.bind(this)
},
{
key: '1',
text: strings.RemoveLabel,
iconProps: { iconName: 'Delete' },
onClick: this._removeAttachment.bind(this)
// onClick: this.onClickFilterNotStartedTasks.bind(this)
}
]
};
const columns: IColumn[] = [
{
key: 'column1',
name: 'File_x0020_Type',
className: tsStyles.classNames.fileIconCell,
iconClassName: tsStyles.classNames.fileIconHeaderIcon,
iconName: 'Page',
isIconOnly: true,
fieldName: 'name',
minWidth: 28,
maxWidth: 28,
onRender: (item: IListViewItems) => {
return (
<div className={tsStyles.classNames.centerColumn}>
<Icon iconType={IconType.Image} imageProps={{ src: item.fileTypeImageUrl, height: 26, width: 26 }} />
</div>
);
}
},
{
name: 'Name',
key: 'column2',
fieldName: 'FileName',
minWidth: 430,
maxWidth: 430,
isResizable: false,
data: 'string',
isPadded: true,
onRender: (item: IListViewItems) => {
return (
<div className={tsStyles.classNames.centerColumn}>
<Stack horizontal horizontalAlign='start' gap='10'>
<Link
onClick={(event: React.MouseEvent<HTMLAnchorElement | HTMLElement | HTMLButtonElement | LinkBase, MouseEvent>) => {
event.preventDefault();
window.open(decodeURIComponent(item.fileUrl));
}}>
{item.fileName}
</Link>
</Stack>
</div>
);
}
},
{
name: 'more',
key: 'column3',
fieldName: 'FileName',
minWidth: 20,
maxWidth: 20,
isResizable: true,
data: 'string',
isPadded: true,
onRender: (item: IListViewItems) => {
return (
<div className={tsStyles.classNames.centerColumn}>
<DefaultButton
style={{ backgroundColor: '#1fe0' }}
iconProps={{ iconName: 'More' }}
text={''}
menuIconProps={{ iconName: '' }}
menuProps={listAttachmentsItemMenuProps}
disabled={false}
id={item.fileUrl}
checked={true}
/>
</div>
);
}
}
];
this.state = {
value: '',
displayUploadFromSharePoint: false,
displayLinkAttachment: false,
editLinkAttachment: false,
uploadFile: false,
renderReferences: [],
columns: columns,
listViewItems: [],
taskDetails: this.props.taskDetails,
hasError: false,
errorMessage: '',
isLoading: false,
percent: 0,
showDefaultLinkImage: false
};
}
public componentDidUpdate(prevProps: IAttachmentsProps, prevState: IAttachmentsState): void {}
private _loadReferences = async () => {
const referenceKeys = Object.keys(this.state.taskDetails.references);
this._listViewItems = [];
for (const key of referenceKeys) {
const reference = this.state.taskDetails.references[key];
if (reference) {
const fileImageUrl = await this._util.GetFileImageUrl(decodeURIComponent(key));
// reference.type !== 'Other' ? await this._util.GetFileImageUrl(decodeURIComponent(key)) : `${decodeURIComponent(key)}/favicon.ico`;
this._listViewItems.push({
fileName: reference.alias,
fileUrl: decodeURIComponent(key),
fileTypeImageUrl: fileImageUrl,
isUploading: false,
fileUploadPercent: 0
});
}
}
this.setState({ listViewItems: this._listViewItems, isLoading: false });
};
/**
* Components did mount
* @returns did mount
*/
public async componentDidMount(): Promise<void> {
this.setState({ isLoading: true });
await this._loadReferences();
}
/**
* Determines whether dismiss upload from share point on
*/
private _onDismissUploadFromSharePoint = () => {
this.setState({ displayUploadFromSharePoint: false });
};
/**
* Upload from share point of attachments
*/
private _uploadFromSharePoint = (
ev?: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>,
item?: IContextualMenuItem
) => {
this.setState({ displayUploadFromSharePoint: true });
};
/**
* Link attachment of attachments
*/
private _onActiveItemChanged = (item: IListViewItems, index: number, ev: React.FocusEvent<HTMLElement>) => {
ev.preventDefault();
this._selectedItem = item;
};
/**
* Link attachment of attachments
*/
private _LinkAttachment = (
ev?: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>,
item?: IContextualMenuItem
) => {
this.setState({ displayLinkAttachment: true });
};
/**
* Edit attachment of attachments
*/
private _editAttachment = async (
event?: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>,
item?: IContextualMenuItem
): Promise<void> => {
event.preventDefault();
this.setState({ editLinkAttachment: true });
};
/**
* Remove attachment of attachments
*/
private _removeAttachment = async (
ev?: React.MouseEvent<HTMLElement, MouseEvent> | React.KeyboardEvent<HTMLElement>,
item?: IContextualMenuItem
) => {
try {
let newReferences: ITaskExternalReference = this.state.taskDetails.references;
const fileFullUrl: string = `${this._selectedItem.fileUrl}`.replace(/\./g, '%2E').replace(/\:/g, '%3A');
for (const referenceKey of Object.keys(this.state.taskDetails.references)) {
const originalReference = this.state.taskDetails.references[referenceKey];
if (fileFullUrl == referenceKey) {
newReferences[referenceKey] = null;
} else {
newReferences[referenceKey] = {
alias: originalReference.alias,
'@odata.type': '#microsoft.graph.plannerExternalReference',
type: originalReference.type,
previewPriority: ' !'
};
}
}
const updatedTaskDetails = await this.props.spservice.updateTaskDetailsProperty(
this.state.taskDetails.id,
'References',
newReferences,
this.state.taskDetails['@odata.etag']
);
delete newReferences[fileFullUrl];
this.setState({
hasError: false,
errorMessage: '',
taskDetails: updatedTaskDetails
});
await this._loadReferences();
} catch (error) {
this.setState({ hasError: true, errorMessage: error.message });
}
};
/**
* Determines whether dismiss link attachment on
*/
private _onDismissLinkAttachment = (updTaskDetails: ITaskDetails) => {
this.setState({ displayLinkAttachment: false, taskDetails: updTaskDetails });
this._loadReferences();
// tslint:disable-next-line: semicolon
};
/**
* Determines whether dismiss edit link attachment on
*/
private _onDismissEditLinkAttachment = (updTaskDetails: ITaskDetails) => {
this.setState({ editLinkAttachment: false, taskDetails: updTaskDetails });
this._loadReferences();
// tslint:disable-next-line: semicolon
};
/**
* Upload file of attachments
*/
private _uploadFile = () => {
this.setState({ uploadFile: true });
};
/**
* Determines whether file upload on
*/
private _onFileUpload = async (file: File, groupDefaultLibrary: string) => {
const fileUrl = `${decodeURIComponent(groupDefaultLibrary)}/${file.name}`;
const fileType = await this._util.getFileType(file.name);
let newReferences: ITaskExternalReference = {} as ITaskExternalReference;
const fileFullUrl: string = `${fileUrl}`.replace(/\./g, '%2E').replace(/\:/g, '%3A');
newReferences[fileFullUrl] = {
alias: file.name,
'@odata.type': '#microsoft.graph.plannerExternalReference',
type: fileType,
previewPriority: ' !'
};
for (const referenceKey of Object.keys(this.state.taskDetails.references)) {
const originalReference = this.state.taskDetails.references[referenceKey];
newReferences[referenceKey] = {
alias: originalReference.alias,
'@odata.type': '#microsoft.graph.plannerExternalReference',
type: originalReference.type,
previewPriority: ' !'
};
}
this.setState({
hasError: false,
errorMessage: '',
taskDetails: { ...this.state.taskDetails, references: newReferences }
});
await this._loadReferences();
try {
const updatedTaskDetails = await this.props.spservice.updateTaskDetailsProperty(
this.state.taskDetails.id,
'References',
newReferences,
this.state.taskDetails['@odata.etag']
);
this.setState({
taskDetails: updatedTaskDetails ,
uploadFile: false
});
// const rs:FileAddResult = await web.getFolderByServerRelativeUrl(documentLibrary).files.add(fileName,fileB64,true);
} catch (error) {
console.log(error);
}
};
/**
* Determines whether select file on
*/
private _onSelectFile = async (file: IFile) => {
try {
const fileType = await this._util.getFileType(file.FileLeafRef);
let newReferences: ITaskExternalReference = {} as ITaskExternalReference;
const fileFullUrl: string = `${location.origin}${file.fileUrl}`.replace(/\./g, '%2E').replace(/\:/g, '%3A');
newReferences[fileFullUrl] = {
alias: file.FileLeafRef,
'@odata.type': '#microsoft.graph.plannerExternalReference',
type: fileType,
previewPriority: ' !'
};
for (const referenceKey of Object.keys(this.state.taskDetails.references)) {
const originalReference = this.state.taskDetails.references[referenceKey];
newReferences[referenceKey] = {
alias: originalReference.alias,
'@odata.type': '#microsoft.graph.plannerExternalReference',
type: originalReference.type,
previewPriority: ' !'
};
}
const updatedTaskDetails = await this.props.spservice.updateTaskDetailsProperty(
this.state.taskDetails.id,
'References',
newReferences,
this.state.taskDetails['@odata.etag']
);
this.setState({
displayUploadFromSharePoint: false,
hasError: false,
errorMessage: '',
taskDetails: updatedTaskDetails
});
await this._loadReferences();
} catch (error) {
this.setState({ hasError: true, errorMessage: error.message });
}
};
/**
* Renders attachments
* @returns render
*/
public render(): React.ReactElement<IAttachmentsProps> {
const addAttachmentMenuProps: IContextualMenuProps = {
items: [
{
key: '0',
text: strings.FileLabel,
iconProps: { iconName: 'Upload' },
onClick: this._uploadFile
// onClick: this.onClickFilterAllTasks.bind(this)
},
{
key: '1',
text: strings.LinkLabel,
iconProps: { iconName: 'Link' },
onClick: this._LinkAttachment
// onClick: this.onClickFilterNotStartedTasks.bind(this)
},
{
key: '2',
text: strings.SharePointLabel,
iconProps: { iconName: 'SharepointLogo', style: { color: this._theme.palette.themePrimary } },
onClick: this._uploadFromSharePoint
// onClick: this.onClickFilterStartedTasks.bind(this)
}
]
};
return (
<div>
<DefaultButton
style={{ backgroundColor: this._theme.palette.neutralLighter }}
iconProps={{ iconName: 'Add' }}
text={strings.AddAttachmentLabel}
menuIconProps={{ iconName: '' }}
menuProps={addAttachmentMenuProps}
disabled={false}
checked={true}
/>
{this.state.uploadFile && (
<UploadFile spservice={this.props.spservice} groupId={this.props.groupId} onFileUpload={this._onFileUpload} />
)}
<div style={{ width: '100%', marginTop: 15 }} />
{this.state.hasError && <MessageBar messageBarType={MessageBarType.error}>{this.state.errorMessage}</MessageBar>}
{this.state.isLoading && <Spinner size={SpinnerSize.medium} />}
<div style={{ marginBottom: 40 }}>
<DetailsList
items={this.state.listViewItems}
compact={false}
columns={this.state.columns}
selectionMode={SelectionMode.none}
setKey='none'
onActiveItemChanged={this._onActiveItemChanged}
layoutMode={DetailsListLayoutMode.justified}
isHeaderVisible={false}
/>
</div>
{this.state.displayUploadFromSharePoint && (
<UploadFromSharePoint
groupId={this.props.groupId}
spservice={this.props.spservice}
displayDialog={this.state.displayUploadFromSharePoint}
onDismiss={this._onDismissUploadFromSharePoint}
onSelectedFile={this._onSelectFile}
currentReferences={this.state.taskDetails.references}
/>
)}
{this.state.displayLinkAttachment && (
<AddLink
spservice={this.props.spservice}
displayDialog={true}
onDismiss={this._onDismissLinkAttachment}
taskDetails={this.state.taskDetails}
/>
)}
{this.state.editLinkAttachment && (
<EditLink
spservice={this.props.spservice}
displayDialog={true}
onDismiss={this._onDismissEditLinkAttachment}
taskDetails={this.state.taskDetails}
link={this._selectedItem.fileUrl}
/>
)}
</div>
);
}
}
``` | /content/code_sandbox/samples/react-mytasks/src/webparts/myTasks/components/Attachments/Attachments.tsx | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 3,444 |
```xml
// See LICENSE in the project root for license information.
import * as parser from '@typescript-eslint/parser';
import { RuleTester } from '@typescript-eslint/rule-tester';
import { typedefVar } from '../typedef-var';
const ruleTester = new RuleTester({
languageOptions: {
parser,
parserOptions: {
sourceType: 'module',
// Do not run under 'lib" folder
tsconfigRootDir: __dirname + '/../../src/test/fixtures',
project: './tsconfig.json'
}
}
});
ruleTester.run('typedef-var', typedefVar, {
invalid: [
{
code: 'const x = 123;',
errors: [{ messageId: 'expected-typedef-named' }]
},
{
code: 'let x = 123;',
errors: [{ messageId: 'expected-typedef-named' }]
},
{
code: 'var x = 123;',
errors: [{ messageId: 'expected-typedef-named' }]
},
{
code: '{ const x = 123; }',
errors: [{ messageId: 'expected-typedef-named' }]
}
],
valid: [
{
code: 'function f() { const x = 123; }'
},
{
code: 'const f = () => { const x = 123; };'
},
{
code: 'const f = function() { const x = 123; }'
},
{
code: 'for (const x of []) { }'
},
{
code: 'const x = 1 as const;'
},
{
code: 'const x: 1 = 1;'
},
{
code: 'const x: number = 1;'
},
{
// prettier-ignore
code: [
'let { a , b } = {',
' a: 123,',
' b: 234',
'}',
].join('\n')
},
{
// prettier-ignore
code: [
'class C {',
' public m(): void {',
' const x = 123;',
' }',
'}',
].join('\n')
},
{
// prettier-ignore
code: [
'class C {',
' public m = (): void => {',
' const x = 123;',
' }',
'}',
].join('\n')
}
]
});
``` | /content/code_sandbox/eslint/eslint-plugin/src/test/typedef-var.test.ts | xml | 2016-09-30T00:28:20 | 2024-08-16T18:54:35 | rushstack | microsoft/rushstack | 5,790 | 542 |
```xml
import { addHiddenProp } from "./utils"
type BabelDescriptor = PropertyDescriptor & { initializer?: () => any }
export function decorateMethodOrField(
decoratorName: string,
decorateFn: (pname: string, v: any) => any,
target: object,
prop: string,
descriptor?: BabelDescriptor
) {
if (descriptor) {
return decorateMethod(decoratorName, decorateFn, prop, descriptor)
} else {
decorateField(decorateFn, target, prop)
}
}
export function decorateMethod(
decoratorName: string,
decorateFn: (pname: string, v: any) => any,
prop: string,
descriptor: BabelDescriptor
) {
if (descriptor.get !== undefined) {
return fail(`${decoratorName} cannot be used with getters`)
}
// babel / typescript
// @action method() { }
if (descriptor.value) {
// typescript
return {
value: decorateFn(prop, descriptor.value),
enumerable: false,
configurable: true, // See #1477
writable: true, // for typescript, this must be writable, otherwise it cannot inherit :/ (see inheritable actions test)
}
}
// babel only: @action method = () => {}
const { initializer } = descriptor
return {
enumerable: false,
configurable: true, // See #1477
writable: true, // See #1398
initializer() {
// N.B: we can't immediately invoke initializer; this would be wrong
return decorateFn(prop, initializer!.call(this))
},
}
}
export function decorateField(
decorateFn: (pname: string, v: any) => any,
target: object,
prop: string
) {
// Simple property that writes on first invocation to the current instance
Object.defineProperty(target, prop, {
configurable: true,
enumerable: false,
get() {
return undefined
},
set(value) {
addHiddenProp(this, prop, decorateFn(prop, value))
},
})
}
``` | /content/code_sandbox/src/decorator-utils.ts | xml | 2016-08-07T20:37:49 | 2024-08-10T13:14:54 | mobx-utils | mobxjs/mobx-utils | 1,182 | 454 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="path_to_url"
xmlns:app="path_to_url">
<item
android:id="@+id/save_to_device"
android:icon="@drawable/ic_download_medium_regular_outline"
android:orderInCategory="100"
android:title="@string/general_save_to_device"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/properties"
android:icon="@drawable/ic_alert_circle_regular_medium_outline"
android:orderInCategory="105"
android:title="@string/general_file_info"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/chat_import"
android:icon="@drawable/ic_cloud_upload_medium_regular_outline"
android:orderInCategory="106"
android:title="@string/add_to_cloud"
android:visible="true"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/share"
android:icon="@drawable/ic_share_network_medium_regular_outline"
android:orderInCategory="110"
android:title="@string/general_share"
android:visible="true"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/send_to_chat"
android:icon="@drawable/ic_message_arrow_up_medium_regular_outline"
android:orderInCategory="110"
android:title="@string/context_send_file_to_chat"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/action_search"
android:icon="@drawable/ic_search_large_medium_regular_outline"
android:orderInCategory="85"
android:title="@string/action_search"
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="ifRoom|collapseActionView" />
<item
android:id="@+id/get_link"
android:icon="@drawable/ic_link01_medium_regular_outline"
android:orderInCategory="115"
android:title="@{@plurals/label_share_links(one)}"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/remove_link"
android:icon="@drawable/ic_link_off_01_medium_regular_outline"
android:orderInCategory="115"
android:title="@string/context_remove_link_menu"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/chat_save_for_offline"
android:orderInCategory="120"
android:icon="@drawable/ic_arrow_down_circle_medium_regular_outline"
android:title="@string/file_properties_available_offline"
android:visible="true"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/remove"
android:orderInCategory="145"
android:icon="@drawable/ic_x_medium_regular_outline"
android:title="@string/general_remove"
android:visible="true"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="always" />
<item
android:id="@+id/rename"
android:orderInCategory="120"
android:title="@string/context_rename"
app:showAsAction="never" />
<item
android:id="@+id/hide"
android:orderInCategory="121"
android:title="@string/general_hide_node"
android:icon="@drawable/ic_eye_off_medium_regular_outline"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="never"
/>
<item
android:id="@+id/unhide"
android:orderInCategory="122"
android:title="@string/general_unhide_node"
android:icon="@drawable/ic_eye_medium_regular_outline"
app:iconTint="?attr/colorControlNormal"
app:showAsAction="never"
/>
<item
android:id="@+id/move"
android:orderInCategory="125"
android:title="@string/context_move"
app:showAsAction="never" />
<item
android:id="@+id/copy"
android:orderInCategory="130"
android:title="@string/context_copy"
app:showAsAction="never" />
<item
android:id="@+id/move_to_trash"
android:orderInCategory="135"
android:title="@string/context_move_to_trash"
app:showAsAction="never" />
<item
android:id="@+id/select"
android:orderInCategory="140"
android:title="@string/general_select"
app:showAsAction="never"
android:visible="false"/>
</menu>
``` | /content/code_sandbox/app/src/main/res/menu/media_player.xml | xml | 2016-05-04T11:46:20 | 2024-08-15T16:29:10 | android | meganz/android | 1,537 | 1,102 |
```xml
import { RouteObject } from "react-router-dom";
import PATHS from "config/constants/sub/paths";
import InviteView from "views/misc/Invite";
export const inviteRoutes: RouteObject[] = [
{
path: PATHS.INVITE.RELATIVE,
element: <InviteView />,
},
];
``` | /content/code_sandbox/app/src/routes/inviteRoutes.tsx | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 67 |
```xml
import { Pipe, PipeTransform } from '@angular/core';
import { Linkifier } from '../models/linkifier.model';
/**
* @internal
*/
@Pipe({ name: 'linkify' })
export class LinkifyPipe implements PipeTransform {
private linkifer: Linkifier;
constructor() {
this.linkifer = new Linkifier();
}
transform(str: string): string {
return str ? this.linkifer.link(str) : str;
}
}
``` | /content/code_sandbox/openvidu-components-angular/projects/openvidu-components-angular/src/lib/pipes/linkify.pipe.ts | xml | 2016-10-10T13:31:27 | 2024-08-15T12:14:04 | openvidu | OpenVidu/openvidu | 1,859 | 94 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ 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.
-->
<sql-cases>
<sql-case id="empty_statement" value=";" db-types="PostgreSQL,openGauss" />
</sql-cases>
``` | /content/code_sandbox/test/it/parser/src/main/resources/sql/supported/dal/empty.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 119 |
```xml
// Usage of different Section Types
import * as fs from "fs";
import { Document, Packer, Paragraph, TextRun, SectionType } from "docx";
const doc = new Document({
sections: [
{
properties: {},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
],
}),
],
},
{
properties: {
type: SectionType.CONTINUOUS,
},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
],
}),
],
},
{
properties: {
type: SectionType.ODD_PAGE,
},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
],
}),
],
},
{
properties: {
type: SectionType.EVEN_PAGE,
},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
],
}),
],
},
{
properties: {
type: SectionType.NEXT_PAGE,
},
children: [
new Paragraph({
children: [
new TextRun("Hello World"),
new TextRun({
text: "Foo Bar",
bold: true,
}),
],
}),
],
},
],
});
Packer.toBuffer(doc).then((buffer) => {
fs.writeFileSync("My Document.docx", buffer);
});
``` | /content/code_sandbox/demo/58-section-types.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 383 |
```xml
/// <reference types="../../../../types/cypress" />
// Components
import { VInfiniteScroll } from '../VInfiniteScroll'
// Utilities
import { ref } from 'vue'
import { createRange } from '@/util'
// Constants
const SCROLL_OPTIONS = { ensureScrollable: true, duration: 300 }
describe('VInfiniteScroll', () => {
it('should call load function when scrolled', () => {
const load = cy.spy().as('load')
const items = createRange(50)
cy.mount(() => (
<VInfiniteScroll height="400" onLoad={ load }>
{ items.map(item => (
<div class="pa-2">{ item }</div>
))}
</VInfiniteScroll>
))
.get('.v-infinite-scroll').scrollTo('bottom', SCROLL_OPTIONS)
.get('.v-infinite-scroll .v-progress-circular').should('exist')
.get('@load').should('have.been.calledOnce')
})
it('should work when using start side', () => {
const load = cy.spy().as('load')
const items = createRange(50)
cy.mount(() => (
<VInfiniteScroll height="400" onLoad={ load } side="start">
{ items.map(item => (
<div class="pa-2">{ item }</div>
))}
</VInfiniteScroll>
))
.get('.v-infinite-scroll').scrollTo('top', SCROLL_OPTIONS)
.get('.v-infinite-scroll .v-progress-circular').should('exist')
.get('@load').should('have.been.calledOnce')
})
it('should work when using both sides', () => {
const load = cy.spy().as('load')
const items = createRange(50)
cy.mount(() => (
<VInfiniteScroll height="400" onLoad={ load } side="both">
{ items.map(item => (
<div class="pa-2">{ item }</div>
))}
</VInfiniteScroll>
))
.get('.v-infinite-scroll').scrollTo('top', SCROLL_OPTIONS)
.get('.v-infinite-scroll .v-progress-circular').eq(0).should('exist')
.get('@load').should('have.been.calledOnce')
.get('.v-infinite-scroll').scrollTo('bottom', SCROLL_OPTIONS)
.get('.v-infinite-scroll .v-progress-circular').eq(1).should('exist')
.get('@load').should('have.been.calledTwice')
})
it('should support horizontal direction', () => {
const load = cy.spy().as('load')
const items = createRange(50)
cy.mount(() => (
<VInfiniteScroll onLoad={ load } direction="horizontal">
{ items.map(item => (
<div class="pa-2">{ item }</div>
))}
</VInfiniteScroll>
))
.get('.v-infinite-scroll').scrollTo('right', SCROLL_OPTIONS)
.get('.v-infinite-scroll .v-progress-circular').should('exist')
.get('@load').should('have.been.calledOnce')
})
// path_to_url
it('should keep triggering load logic until VInfiniteScrollIntersect disappears', () => {
const loadTracker = cy.spy().as('loadTracker')
const items = ref(Array.from({ length: 3 }, (k, v) => v + 1))
const load = async ({ done }: any) => {
setTimeout(() => {
items.value.push(...Array.from({ length: 3 }, (k, v) => v + items.value.at(-1)! + 1))
loadTracker()
done('ok')
}, 100)
}
cy.viewport(400, 200)
.mount(() => (
<VInfiniteScroll onLoad={ load } mode="intersect">
{ items.value.map(item => (
<div>Item #{ item }</div>
))}
</VInfiniteScroll>
))
.get('.v-infinite-scroll .v-progress-circular').should('exist')
.get('@loadTracker').should('have.been.calledTwice')
})
})
``` | /content/code_sandbox/packages/vuetify/src/components/VInfiniteScroll/__tests__/VInfiniteScroll.spec.cy.tsx | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 910 |
```xml
import React from 'react';
import { observer } from 'mobx-react';
import { injectIntl } from 'react-intl';
import {
formattedDateTime,
mapToLongDateTimeFormat,
} from '../../../utils/formatters';
import styles from './CurrentPhase.scss';
import { messages } from './SnapshotPhase.messages';
import { messages as votingMessages } from './VotingInfo.messages';
import type { PhaseIntlProps as Props } from './types';
function SnapshotPhase({
currentLocale,
currentDateFormat,
currentTimeFormat,
fundInfo,
intl,
}: Props) {
const mappedFormats = mapToLongDateTimeFormat({
currentLocale,
currentDateFormat,
currentTimeFormat,
});
const snapshotDate = formattedDateTime(
fundInfo.current.registrationSnapshotTime,
{
currentLocale,
currentDateFormat: mappedFormats.currentDateFormat,
currentTimeFormat: mappedFormats.currentTimeFormat,
}
);
const startDate = formattedDateTime(fundInfo.current.startTime, {
currentLocale,
currentDateFormat: mappedFormats.currentDateFormat,
});
const endDate = formattedDateTime(fundInfo.current.endTime, {
currentLocale,
currentDateFormat: mappedFormats.currentDateFormat,
});
return (
<section className={styles.root}>
<h1 className={styles.fundName}>
{intl.formatMessage(votingMessages.fundName, {
votingFundNumber: fundInfo.current.number,
})}
</h1>
<div className={styles.block}>
<span className={styles.label}>
{intl.formatMessage(messages.snapshotDateLabel)}
</span>
<span className={styles.value}>{snapshotDate}</span>
</div>
<div className={styles.block}>
<span className={styles.label}>
{intl.formatMessage(messages.votingDateLabel)}
</span>
<span className={styles.value}>
{startDate} {endDate}
</span>
</div>
</section>
);
}
export default injectIntl(observer(SnapshotPhase));
``` | /content/code_sandbox/source/renderer/app/components/voting/voting-info/SnapshotPhase.tsx | xml | 2016-10-05T13:48:54 | 2024-08-13T22:03:19 | daedalus | input-output-hk/daedalus | 1,230 | 414 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="path_to_url">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{3795DC04-56C3-4D01-BDA4-6AB8011E4EEC}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>ExamplePlugin</RootNamespace>
<AssemblyName>ExamplePlugin</AssemblyName>
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\..\out\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>..\..\out\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="BehaviacDesignerBase, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<HintPath>..\..\out\BehaviacDesignerBase.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="PluginBehaviac, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>..\..\out\PluginBehaviac.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.Data" />
<Reference Include="System.Drawing" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="ExampleNodeCppExporter.cs" />
<Compile Include="ExampleNode.cs" />
<Compile Include="ExamplePlugin.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Properties\Resources.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Properties\Resources.resx">
<Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
</EmbeddedResource>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
``` | /content/code_sandbox/tools/designer/Plugins/ExamplePlugin/ExamplePlugin.csproj | xml | 2016-11-21T05:08:08 | 2024-08-16T07:18:30 | behaviac | Tencent/behaviac | 2,831 | 800 |
```xml
<configuration>
<appender name="FILE" class="ch.qos.logback.core.FileAppender">
<file>target/hdfs.log</file>
<append>false</append>
<encoder>
<pattern>%d{ISO8601} %-5level [%thread] [%logger{36}] %msg%n</pattern>
</encoder>
</appender>
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<encoder>
<pattern>%d{HH:mm:ss.SSS} %-5level [%-20.20thread] %-36.36logger{36} %msg%n%rEx</pattern>
</encoder>
</appender>
<appender name="CapturingAppender" class="akka.stream.alpakka.testkit.CapturingAppender"/>
<logger name="akka.stream.alpakka.testkit.CapturingAppenderDelegate">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="akka" level="DEBUG"/>
<logger name="org.eclipse.jetty" level="info"/>
<logger name="org.apache.hadoop" level="warn"/>
<root level="debug">
<appender-ref ref="CapturingAppender"/>
<appender-ref ref="FILE" />
</root>
</configuration>
``` | /content/code_sandbox/hdfs/src/test/resources/logback-test.xml | xml | 2016-10-13T13:08:14 | 2024-08-15T07:57:42 | alpakka | akka/alpakka | 1,265 | 291 |
```xml
import {
setBoolean,
getBoolean,
setNumber,
getNumber,
} from '../../src/lib/local-storage'
describe('local storage', () => {
const booleanKey = 'some-boolean-key'
const numberKey = 'some-number-key'
beforeEach(() => {
localStorage.clear()
})
describe('setBoolean', () => {
it('round-trips a true value', () => {
const expected = true
setBoolean(booleanKey, expected)
expect(getBoolean(booleanKey)).toEqual(expected)
})
it('round-trips a false value', () => {
const expected = false
setBoolean(booleanKey, expected)
expect(getBoolean(booleanKey)).toEqual(expected)
})
})
describe('getBoolean parsing', () => {
it('returns default value when no key found', () => {
const defaultValue = true
const actual = getBoolean(booleanKey, defaultValue)
expect(actual).toEqual(defaultValue)
})
it('returns default value when malformed string encountered', () => {
localStorage.setItem(booleanKey, 'blahblahblah')
const defaultValue = true
const actual = getBoolean(booleanKey, defaultValue)
expect(actual).toEqual(defaultValue)
})
it('returns false if found and ignores default value', () => {
localStorage.setItem(booleanKey, '0')
const actual = getBoolean(booleanKey, true)
expect(actual).toEqual(false)
})
it(`can parse the string 'true' if found`, () => {
localStorage.setItem(booleanKey, 'true')
const actual = getBoolean(booleanKey)
expect(actual).toEqual(true)
})
it(`can parse the string 'false' if found`, () => {
localStorage.setItem(booleanKey, 'false')
const defaultValue = true
const actual = getBoolean(booleanKey, defaultValue)
expect(actual).toEqual(false)
})
})
describe('setNumber', () => {
it('round-trip a valid number', () => {
const expected = 12345
setNumber(numberKey, expected)
expect(getNumber(numberKey)).toEqual(expected)
})
it('round-trip zero and ignore default value', () => {
const expected = 0
const defaultNumber = 1234
setNumber(numberKey, expected)
expect(getNumber(numberKey, defaultNumber)).toEqual(expected)
})
})
describe('getNumber parsing', () => {
it('returns default value when no key found', () => {
const defaultValue = 3456
const actual = getNumber(numberKey, defaultValue)
expect(actual).toEqual(defaultValue)
})
it('returns default value when malformed string encountered', () => {
localStorage.setItem(numberKey, 'blahblahblah')
const defaultValue = 3456
const actual = getNumber(numberKey, defaultValue)
expect(actual).toEqual(defaultValue)
})
it('returns zero if found and ignores default value', () => {
localStorage.setItem(numberKey, '0')
const defaultValue = 3456
const actual = getNumber(numberKey, defaultValue)
expect(actual).toEqual(0)
})
})
})
``` | /content/code_sandbox/app/test/unit/local-storage-test.ts | xml | 2016-05-11T15:59:00 | 2024-08-16T17:00:41 | desktop | desktop/desktop | 19,544 | 668 |
```xml
export const types = `
type nonBalanceDetail {
ktAmount: Float,
dtAmount: Float,
type: String,
currency: String
}
type nonBalanceTransaction {
_id: String,
createdAt: Date,
createdBy: String
contractId: String,
customerId: String,
description: String,
number: String,
contract: LoanContract,
customer: Customer,
transactionType: String,
detail:[nonBalanceDetail]
}
type nonBalanceTransactionsListResponse {
list: [nonBalanceTransaction],
totalCount: Float,
}
`;
const detail = `
ktAmount: Float,
dtAmount: Float,
type: String,
currency: String
`;
const commonFields = `
contractId: String,
customerId: String,
description: String,
number: String,
transactionType: String,
detail: [JSON]
`;
const queryParams = `
page: Int
perPage: Int
contractId: String
customerId: String
startDate: String
endDate: String
ids: [String]
searchValue: String
sortField: String
sortDirection: Int
`;
export const queries = `
nonBalanceTransactions(${queryParams}): [nonBalanceTransaction]
nonBalanceTransactionsMain(${queryParams}): nonBalanceTransactionsListResponse
nonBalanceTransactionDetail(_id: String!): nonBalanceTransaction
`;
export const mutations = `
nonBalanceTransactionsAdd(${commonFields}): nonBalanceTransaction
nonBalanceTransactionsRemove(nonBalanceTransactionIds: [String]): [String]
`
``` | /content/code_sandbox/packages/plugin-loans-api/src/graphql/schema/nonBalanceTransaction.ts | xml | 2016-11-11T06:54:50 | 2024-08-16T10:26:06 | erxes | erxes/erxes | 3,479 | 342 |
```xml
<manifest package="com.cleveroad.audiovisualization"/>
``` | /content/code_sandbox/library/src/main/AndroidManifest.xml | xml | 2016-02-10T13:44:54 | 2024-08-14T03:11:57 | WaveInApp | Cleveroad/WaveInApp | 1,785 | 12 |
```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 isNumericDataType = require( './index' );
// TESTS //
// The function returns a boolean...
{
isNumericDataType( 'int8' ); // $ExpectType boolean
isNumericDataType( 'foo' ); // $ExpectType boolean
}
// The compiler throws an error if the function is provided an unsupported number of arguments...
{
isNumericDataType(); // $ExpectError
isNumericDataType( 'int8', 123 ); // $ExpectError
}
``` | /content/code_sandbox/lib/node_modules/@stdlib/array/base/assert/is-numeric-data-type/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 147 |
```xml
/**
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import {reuseEqualObjects} from '../deepEqualExt';
describe('reuseEqualObjects', () => {
it('makes === test work like deep equal', () => {
const oldArray = [
{id: 'a', value: 1},
{id: 'b', value: 2},
{id: 'c', value: 3},
{id: 'z', value: 5},
];
const newArray = [
{id: 'b', value: 2},
{id: 'a', value: 1},
{id: 'c', value: 4},
{id: 'x', value: 3},
];
const reusedArray = reuseEqualObjects(oldArray, newArray, v => v.id);
expect(oldArray[0]).toBe(reusedArray[1]); // 'a' - reused
expect(oldArray[1]).toBe(reusedArray[0]); // 'b' - reused
const objToId = new Map<object, number>();
const toId = (obj: object): number => {
const id = objToId.get(obj);
if (id === undefined) {
const newId = objToId.size;
objToId.set(obj, newId);
return newId;
}
return id;
};
const oldIds = oldArray.map(toId);
const newIds = newArray.map(toId);
const reusedIds = reusedArray.map(toId);
expect(oldIds).toEqual([0, 1, 2, 3]);
expect(newIds).toEqual([4, 5, 6, 7]);
expect(reusedIds).toEqual([1, 0, 6, 7]); // 'a', 'b' are reused from oldArray; 'c', 'x' are from newArray.
});
});
``` | /content/code_sandbox/eden/contrib/shared/__tests__/deepEqualExt.test.ts | xml | 2016-05-05T16:53:47 | 2024-08-16T19:12:02 | sapling | facebook/sapling | 5,987 | 425 |
```xml
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version, Environment, EnvironmentType } from '@microsoft/sp-core-library';
import { BaseClientSideWebPart } from "@microsoft/sp-webpart-base";
import { IPropertyPaneConfiguration, PropertyPaneTextField } from "@microsoft/sp-property-pane";
import Documents from '../../components/documentsList/component/Documents';
import { IDocumentsProps } from '../../components/documentsList/component/IDocumentsProps';
import IDataProvider from '../../dataproviders/IDataProvider';
import SharePointDataProvider from '../../dataproviders/SharePointDataProvider';
import MockupDataProvider from '../../dataproviders/MockupDataProvider';
import * as strings from 'SearchDocumentsWebPartStrings';
export interface ISearchDocumentsWebPartProps {
libraryUrl: string;
}
export default class SearchDocumentsWebPart extends BaseClientSideWebPart<ISearchDocumentsWebPartProps> {
private _dataProvider: IDataProvider;
protected onInit(): Promise<void> {
debugger;
if (DEBUG && Environment.type === EnvironmentType.Local) {
this._dataProvider = new MockupDataProvider(this.properties.libraryUrl);
} else {
if (this.properties.libraryUrl) {
this._dataProvider = new SharePointDataProvider(this.context, this.properties.libraryUrl);
}
else {
//the WebPart property is not filled
//do nothing, the Documents component will display notification message
}
}
return super.onInit();
}
public render(): void {
const element: React.ReactElement<IDocumentsProps> = React.createElement(
Documents,
{
title: "Search Documents",
useSearchData: true,
webPartDisplayMode: this.displayMode,
dataProvider: this._dataProvider
}
);
ReactDom.render(element, this.domElement);
}
protected get dataVersion(): Version {
return Version.parse('1.0');
}
protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration {
return {
pages: [
{
header: {
description: strings.PropertyPaneDescription
},
groups: [
{
groupName: strings.BasicGroupName,
groupFields: [
PropertyPaneTextField('libraryUrl', {
label: strings.LibraryUrlFieldLabel
})
]
}
]
}
]
};
}
}
``` | /content/code_sandbox/samples/react-documents-detailslist/src/webparts/searchDocuments/SearchDocumentsWebPart.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 487 |
```xml
import vtkCamera from "../Camera";
import vtkMapper, { IMapperInitialValues } from "../Mapper";
/**
*
*/
export interface IPixelSpaceCallbackMapperInitialValues extends IMapperInitialValues {
callback?: any,
useZValues?: boolean;
}
interface IWindowSize {
usize: number;
vsize: number;
}
export interface vtkPixelSpaceCallbackMapper extends vtkMapper {
/**
*
*/
getCallback(): any;
/**
*
*/
getUseZValues(): boolean
/**
*
* @param dataset
* @param camera
* @param aspect
* @param windowSize
* @param depthValues
*/
invokeCallback(dataset: any, camera: vtkCamera, aspect: number, windowSize: IWindowSize, depthValues: number[]): void;
/**
* Set the callback function the mapper will call, during the rendering
* process, with the screen coords of the points in dataset. The callback
* function will have the following parameters:
*
* // An array of 4-component arrays, in the index-order of the datasets points
*
* coords: [
* [screenx, screeny, screenz, zBufValue],
* ...
* ]
* // The active camera of the renderer, in case you may need to compute alternate
* // depth values for your dataset points. Using the sphere mapper in your
* // application code is one example where this may be useful, so that you can
* // account for that mapper's radius when doing depth checks.
*
* camera: vtkCamera
* // The aspect ratio of the render view and depthBuffer
* aspect: float
* // A Uint8Array of size width * height * 4, where the zbuffer values are
* // encoded in the red and green components of each pixel. This will only
* // be non-null after you call setUseZValues(true) on the mapper before
* // rendering.
*
* depthBuffer: Uint8Array
*
* @param callback
*/
setCallback(callback: () => any): boolean
/**
* Set whether or not this mapper should capture the zbuffer during
* rendering. Useful for allowing depth checks in the application code.
* @param useZValues
*/
setUseZValues(useZValues: boolean): boolean
}
/**
* Method use to decorate a given object (publicAPI+model) with vtkPixelSpaceCallbackMapper characteristics.
*
* @param publicAPI object on which methods will be bounds (public)
* @param model object on which data structure will be bounds (protected)
* @param {IPixelSpaceCallbackMapperInitialValues} [initialValues] (default: {})
*/
export function extend(publicAPI: object, model: object, initialValues?: IPixelSpaceCallbackMapperInitialValues): void;
/**
* Method use to create a new instance of vtkPixelSpaceCallbackMapper
* @param {IPixelSpaceCallbackMapperInitialValues} [initialValues] for pre-setting some of its content
*/
export function newInstance(initialValues?: IPixelSpaceCallbackMapperInitialValues): vtkPixelSpaceCallbackMapper;
/**
* vtkPixelSpaceCallbackMapper iterates over the points of its input dataset,
* using the transforms from the active camera to compute the screen coordinates
* of each point.
*/
export declare const vtkPixelSpaceCallbackMapper: {
newInstance: typeof newInstance,
extend: typeof extend,
};
export default vtkPixelSpaceCallbackMapper;
``` | /content/code_sandbox/static/sim/Sources/Rendering/Core/PixelSpaceCallbackMapper/index.d.ts | xml | 2016-12-03T13:41:18 | 2024-08-15T12:50:03 | engineercms | 3xxx/engineercms | 1,341 | 752 |
```xml
import {ValueController} from '../../../common/controller/value.js';
import {Value, ValueChangeOptions} from '../../../common/model/value.js';
import {ViewProps} from '../../../common/model/view-props.js';
import {mapRange} from '../../../common/number/util.js';
import {PickerLayout} from '../../../common/params.js';
import {
getHorizontalStepKeys,
getStepForKey,
getVerticalStepKeys,
isArrowKey,
} from '../../../common/ui.js';
import {
PointerData,
PointerHandler,
PointerHandlerEvents,
} from '../../../common/view/pointer-handler.js';
import {Tuple2} from '../../../misc/type-util.js';
import {Point2d} from '../model/point-2d.js';
import {
Point2dPickerProps,
Point2dPickerView,
} from '../view/point-2d-picker.js';
interface Config {
layout: PickerLayout;
props: Point2dPickerProps;
value: Value<Point2d>;
viewProps: ViewProps;
}
function computeOffset(
ev: KeyboardEvent,
keyScales: Tuple2<number>,
invertsY: boolean,
): [number, number] {
return [
getStepForKey(keyScales[0], getHorizontalStepKeys(ev)),
getStepForKey(keyScales[1], getVerticalStepKeys(ev)) * (invertsY ? 1 : -1),
];
}
/**
* @hidden
*/
export class Point2dPickerController
implements ValueController<Point2d, Point2dPickerView>
{
public readonly props: Point2dPickerProps;
public readonly value: Value<Point2d>;
public readonly view: Point2dPickerView;
public readonly viewProps: ViewProps;
private readonly ptHandler_: PointerHandler;
constructor(doc: Document, config: Config) {
this.onPadKeyDown_ = this.onPadKeyDown_.bind(this);
this.onPadKeyUp_ = this.onPadKeyUp_.bind(this);
this.onPointerDown_ = this.onPointerDown_.bind(this);
this.onPointerMove_ = this.onPointerMove_.bind(this);
this.onPointerUp_ = this.onPointerUp_.bind(this);
this.props = config.props;
this.value = config.value;
this.viewProps = config.viewProps;
this.view = new Point2dPickerView(doc, {
layout: config.layout,
props: this.props,
value: this.value,
viewProps: this.viewProps,
});
this.ptHandler_ = new PointerHandler(this.view.padElement);
this.ptHandler_.emitter.on('down', this.onPointerDown_);
this.ptHandler_.emitter.on('move', this.onPointerMove_);
this.ptHandler_.emitter.on('up', this.onPointerUp_);
this.view.padElement.addEventListener('keydown', this.onPadKeyDown_);
this.view.padElement.addEventListener('keyup', this.onPadKeyUp_);
}
private handlePointerEvent_(d: PointerData, opts: ValueChangeOptions): void {
if (!d.point) {
return;
}
const max = this.props.get('max');
const px = mapRange(d.point.x, 0, d.bounds.width, -max, +max);
const py = mapRange(
this.props.get('invertsY') ? d.bounds.height - d.point.y : d.point.y,
0,
d.bounds.height,
-max,
+max,
);
this.value.setRawValue(new Point2d(px, py), opts);
}
private onPointerDown_(ev: PointerHandlerEvents['down']): void {
this.handlePointerEvent_(ev.data, {
forceEmit: false,
last: false,
});
}
private onPointerMove_(ev: PointerHandlerEvents['move']): void {
this.handlePointerEvent_(ev.data, {
forceEmit: false,
last: false,
});
}
private onPointerUp_(ev: PointerHandlerEvents['up']): void {
this.handlePointerEvent_(ev.data, {
forceEmit: true,
last: true,
});
}
private onPadKeyDown_(ev: KeyboardEvent): void {
if (isArrowKey(ev.key)) {
ev.preventDefault();
}
const [dx, dy] = computeOffset(
ev,
[this.props.get('xKeyScale'), this.props.get('yKeyScale')],
this.props.get('invertsY'),
);
if (dx === 0 && dy === 0) {
return;
}
this.value.setRawValue(
new Point2d(this.value.rawValue.x + dx, this.value.rawValue.y + dy),
{
forceEmit: false,
last: false,
},
);
}
private onPadKeyUp_(ev: KeyboardEvent): void {
const [dx, dy] = computeOffset(
ev,
[this.props.get('xKeyScale'), this.props.get('yKeyScale')],
this.props.get('invertsY'),
);
if (dx === 0 && dy === 0) {
return;
}
this.value.setRawValue(this.value.rawValue, {
forceEmit: true,
last: true,
});
}
}
``` | /content/code_sandbox/packages/core/src/input-binding/point-2d/controller/point-2d-picker.ts | xml | 2016-05-10T15:45:13 | 2024-08-16T19:57:27 | tweakpane | cocopon/tweakpane | 3,480 | 1,107 |
```xml
import { remove } from '../internal/colorScheme.js';
import type { JQ } from '@mdui/jq/shared/core.js';
/**
*
* @param target CSS DOM JQ `<html>`
*/
export const removeColorScheme = (
target: string | HTMLElement | JQ<HTMLElement> = document.documentElement,
): void => {
remove(target);
};
``` | /content/code_sandbox/packages/mdui/src/functions/removeColorScheme.ts | xml | 2016-07-11T17:39:02 | 2024-08-16T07:12:34 | mdui | zdhxiong/mdui | 4,077 | 80 |
```xml
import { Subject } from '../Subject';
import { Operator } from '../Operator';
import { async } from '../scheduler/async';
import { Subscriber } from '../Subscriber';
import { Observable } from '../Observable';
import { Subscription } from '../Subscription';
import { isNumeric } from '../util/isNumeric';
import { isScheduler } from '../util/isScheduler';
import { OperatorFunction, SchedulerLike, SchedulerAction } from '../types';
/**
* Branch out the source Observable values as a nested Observable periodically
* in time.
*
* <span class="informal">It's like {@link bufferTime}, but emits a nested
* Observable instead of an array.</span>
*
* 
*
* Returns an Observable that emits windows of items it collects from the source
* Observable. The output Observable starts a new window periodically, as
* determined by the `windowCreationInterval` argument. It emits each window
* after a fixed timespan, specified by the `windowTimeSpan` argument. When the
* source Observable completes or encounters an error, the output Observable
* emits the current window and propagates the notification from the source
* Observable. If `windowCreationInterval` is not provided, the output
* Observable starts a new window when the previous window of duration
* `windowTimeSpan` completes. If `maxWindowCount` is provided, each window
* will emit at most fixed number of values. Window will complete immediately
* after emitting last value and next one still will open as specified by
* `windowTimeSpan` and `windowCreationInterval` arguments.
*
* ## Examples
* In every window of 1 second each, emit at most 2 click events
* ```javascript
* const clicks = fromEvent(document, 'click');
* const result = clicks.pipe(
* windowTime(1000),
* map(win => win.take(2)), // each window has at most 2 emissions
* mergeAll(), // flatten the Observable-of-Observables
* );
* result.subscribe(x => console.log(x));
* ```
*
* Every 5 seconds start a window 1 second long, and emit at most 2 click events per window
* ```javascript
* const clicks = fromEvent(document, 'click');
* const result = clicks.pipe(
* windowTime(1000, 5000),
* map(win => win.take(2)), // each window has at most 2 emissions
* mergeAll(), // flatten the Observable-of-Observables
* );
* result.subscribe(x => console.log(x));
* ```
*
* Same as example above but with maxWindowCount instead of take
* ```javascript
* const clicks = fromEvent(document, 'click');
* const result = clicks.pipe(
* windowTime(1000, 5000, 2), // each window has still at most 2 emissions
* mergeAll(), // flatten the Observable-of-Observables
* );
* result.subscribe(x => console.log(x));
* ```
*
* @see {@link window}
* @see {@link windowCount}
* @see {@link windowToggle}
* @see {@link windowWhen}
* @see {@link bufferTime}
*
* @param {number} windowTimeSpan The amount of time to fill each window.
* @param {number} [windowCreationInterval] The interval at which to start new
* windows.
* @param {number} [maxWindowSize=Number.POSITIVE_INFINITY] Max number of
* values each window can emit before completion.
* @param {SchedulerLike} [scheduler=async] The scheduler on which to schedule the
* intervals that determine window boundaries.
* @return {Observable<Observable<T>>} An observable of windows, which in turn
* are Observables.
* @method windowTime
* @owner Observable
*/
export function windowTime<T>(windowTimeSpan: number,
scheduler?: SchedulerLike): OperatorFunction<T, Observable<T>>;
export function windowTime<T>(windowTimeSpan: number,
windowCreationInterval: number,
scheduler?: SchedulerLike): OperatorFunction<T, Observable<T>>;
export function windowTime<T>(windowTimeSpan: number,
windowCreationInterval: number,
maxWindowSize: number,
scheduler?: SchedulerLike): OperatorFunction<T, Observable<T>>;
export function windowTime<T>(windowTimeSpan: number): OperatorFunction<T, Observable<T>> {
let scheduler: SchedulerLike = async;
let windowCreationInterval: number = null;
let maxWindowSize: number = Number.POSITIVE_INFINITY;
if (isScheduler(arguments[3])) {
scheduler = arguments[3];
}
if (isScheduler(arguments[2])) {
scheduler = arguments[2];
} else if (isNumeric(arguments[2])) {
maxWindowSize = arguments[2];
}
if (isScheduler(arguments[1])) {
scheduler = arguments[1];
} else if (isNumeric(arguments[1])) {
windowCreationInterval = arguments[1];
}
return function windowTimeOperatorFunction(source: Observable<T>) {
return source.lift(new WindowTimeOperator<T>(windowTimeSpan, windowCreationInterval, maxWindowSize, scheduler));
};
}
class WindowTimeOperator<T> implements Operator<T, Observable<T>> {
constructor(private windowTimeSpan: number,
private windowCreationInterval: number | null,
private maxWindowSize: number,
private scheduler: SchedulerLike) {
}
call(subscriber: Subscriber<Observable<T>>, source: any): any {
return source.subscribe(new WindowTimeSubscriber(
subscriber, this.windowTimeSpan, this.windowCreationInterval, this.maxWindowSize, this.scheduler
));
}
}
interface CreationState<T> {
windowTimeSpan: number;
windowCreationInterval: number;
subscriber: WindowTimeSubscriber<T>;
scheduler: SchedulerLike;
}
interface TimeSpanOnlyState<T> {
window: CountedSubject<T>;
windowTimeSpan: number;
subscriber: WindowTimeSubscriber<T>;
}
interface CloseWindowContext<T> {
action: SchedulerAction<CreationState<T>>;
subscription: Subscription;
}
interface CloseState<T> {
subscriber: WindowTimeSubscriber<T>;
window: CountedSubject<T>;
context: CloseWindowContext<T>;
}
class CountedSubject<T> extends Subject<T> {
private _numberOfNextedValues: number = 0;
next(value?: T): void {
this._numberOfNextedValues++;
super.next(value);
}
get numberOfNextedValues(): number {
return this._numberOfNextedValues;
}
}
/**
* We need this JSDoc comment for affecting ESDoc.
* @ignore
* @extends {Ignored}
*/
class WindowTimeSubscriber<T> extends Subscriber<T> {
private windows: CountedSubject<T>[] = [];
constructor(protected destination: Subscriber<Observable<T>>,
private windowTimeSpan: number,
private windowCreationInterval: number | null,
private maxWindowSize: number,
private scheduler: SchedulerLike) {
super(destination);
const window = this.openWindow();
if (windowCreationInterval !== null && windowCreationInterval >= 0) {
const closeState: CloseState<T> = { subscriber: this, window, context: <any>null };
const creationState: CreationState<T> = { windowTimeSpan, windowCreationInterval, subscriber: this, scheduler };
this.add(scheduler.schedule<CloseState<T>>(dispatchWindowClose, windowTimeSpan, closeState));
this.add(scheduler.schedule<CreationState<T>>(dispatchWindowCreation, windowCreationInterval, creationState));
} else {
const timeSpanOnlyState: TimeSpanOnlyState<T> = { subscriber: this, window, windowTimeSpan };
this.add(scheduler.schedule<TimeSpanOnlyState<T>>(dispatchWindowTimeSpanOnly, windowTimeSpan, timeSpanOnlyState));
}
}
protected _next(value: T): void {
const windows = this.windows;
const len = windows.length;
for (let i = 0; i < len; i++) {
const window = windows[i];
if (!window.closed) {
window.next(value);
if (window.numberOfNextedValues >= this.maxWindowSize) {
this.closeWindow(window);
}
}
}
}
protected _error(err: any): void {
const windows = this.windows;
while (windows.length > 0) {
windows.shift().error(err);
}
this.destination.error(err);
}
protected _complete(): void {
const windows = this.windows;
while (windows.length > 0) {
const window = windows.shift();
if (!window.closed) {
window.complete();
}
}
this.destination.complete();
}
public openWindow(): CountedSubject<T> {
const window = new CountedSubject<T>();
this.windows.push(window);
const destination = this.destination;
destination.next(window);
return window;
}
public closeWindow(window: CountedSubject<T>): void {
window.complete();
const windows = this.windows;
windows.splice(windows.indexOf(window), 1);
}
}
function dispatchWindowTimeSpanOnly<T>(this: SchedulerAction<TimeSpanOnlyState<T>>, state: TimeSpanOnlyState<T>): void {
const { subscriber, windowTimeSpan, window } = state;
if (window) {
subscriber.closeWindow(window);
}
state.window = subscriber.openWindow();
this.schedule(state, windowTimeSpan);
}
function dispatchWindowCreation<T>(this: SchedulerAction<CreationState<T>>, state: CreationState<T>): void {
const { windowTimeSpan, subscriber, scheduler, windowCreationInterval } = state;
const window = subscriber.openWindow();
const action = this;
let context: CloseWindowContext<T> = { action, subscription: <any>null };
const timeSpanState: CloseState<T> = { subscriber, window, context };
context.subscription = scheduler.schedule<CloseState<T>>(dispatchWindowClose, windowTimeSpan, timeSpanState);
action.add(context.subscription);
action.schedule(state, windowCreationInterval);
}
function dispatchWindowClose<T>(state: CloseState<T>): void {
const { subscriber, window, context } = state;
if (context && context.action && context.subscription) {
context.action.remove(context.subscription);
}
subscriber.closeWindow(window);
}
``` | /content/code_sandbox/deps/node-10.15.3/tools/node_modules/eslint/node_modules/rxjs/src/internal/operators/windowTime.ts | xml | 2016-09-05T10:18:44 | 2024-08-11T13:21:40 | LiquidCore | LiquidPlayer/LiquidCore | 1,010 | 2,177 |
```xml
export default function errorMessage(e: any): unknown {
if (!e) {
return e
}
if (e.message) {
return e.message
}
if (e.statusText) {
return e.statusText
}
return e
}
``` | /content/code_sandbox/ui/src/kapacitor/utils/errorMessage.ts | xml | 2016-08-24T23:28:56 | 2024-08-13T19:50:03 | chronograf | influxdata/chronograf | 1,494 | 56 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ 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.
-->
<sql-parser-test-cases>
<drop-function sql-case-id="drop_function" />
<drop-function sql-case-id="drop_functions" />
<drop-function sql-case-id="drop_function_without_argument_list" />
<drop-function sql-case-id="drop_function_with_schema" />
</sql-parser-test-cases>
``` | /content/code_sandbox/test/it/parser/src/main/resources/case/ddl/drop-function.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 153 |
```xml
import { React, ReactSubApp, xarcV2, AppContext } from "@xarc/react";
import { connect, reduxFeature } from "@xarc/react-redux";
const Deal = props => {
return (
<AppContext.Consumer>
{({ isSsr, ssr }) => {
return <div>SPECIAL DEAL - SPECIAL DEAL - {props.deals}</div>;
}}
</AppContext.Consumer>
);
};
const mapStateToProps = state => {
return { deals: state.deals.value };
};
const ReduxDeals = connect(mapStateToProps, dispatch => ({ dispatch }))(Deal);
export { ReduxDeals as Component };
export const subapp: ReactSubApp = {
Component: ReduxDeals,
wantFeatures: [
reduxFeature({
React,
shareStore: true,
reducers: true,
prepare: async initialState => {
xarcV2.debug("Deal (deal.tsx) subapp redux prepare, initialState:", initialState);
if (initialState) {
return { initialState };
} else {
return { initialState: { deal: { value: "My Special Deals" } } };
}
}
})
]
};
``` | /content/code_sandbox/samples/subapp2-store/src/subapps/deal.tsx | xml | 2016-09-06T19:02:39 | 2024-08-11T11:43:11 | electrode | electrode-io/electrode | 2,103 | 247 |
```xml
import {Controller, Get} from "@tsed/common";
@Controller("/")
export class HelloController {
@Get("/")
get() {
return "hello 2";
}
}
``` | /content/code_sandbox/packages/graphql/typegraphql/test/app/controllers/HelloController.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 38 |
```xml
/*************************************************************
*
*
*
* 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.
*/
/**
* @fileoverview Implements the CHTMLmenclose wrapper for the MmlMenclose object
*
* @author dpvc@mathjax.org (Davide Cervone)
*/
import {CHTMLWrapper, CHTMLConstructor} from '../Wrapper.js';
import {CommonMencloseMixin} from '../../common/Wrappers/menclose.js';
import {CHTMLmsqrt} from './msqrt.js';
import * as Notation from '../Notation.js';
import {MmlMenclose} from '../../../core/MmlTree/MmlNodes/menclose.js';
import {OptionList} from '../../../util/Options.js';
import {StyleList} from '../../../util/StyleList.js';
import {em} from '../../../util/lengths.js';
/*****************************************************************/
/**
* The skew angle needed for the arrow head pieces
*/
function Angle(x: number, y: number) {
return Math.atan2(x, y).toFixed(3).replace(/\.?0+$/, '');
}
const ANGLE = Angle(Notation.ARROWDX, Notation.ARROWY);
/*****************************************************************/
/**
* The CHTMLmenclose wrapper for the MmlMenclose object
*
* @template N The HTMLElement node class
* @template T The Text node class
* @template D The Document class
*/
// @ts-ignore
export class CHTMLmenclose<N, T, D> extends
CommonMencloseMixin<
CHTMLWrapper<any, any, any>,
CHTMLmsqrt<any, any, any>,
any,
CHTMLConstructor<any, any, any>
>(CHTMLWrapper) {
/**
* The menclose wrapper
*/
public static kind = MmlMenclose.prototype.kind;
/**
* Styles needed for the various notations
*/
public static styles: StyleList = {
'mjx-menclose': {
position: 'relative'
},
'mjx-menclose > mjx-dstrike': {
display: 'inline-block',
left: 0, top: 0,
position: 'absolute',
'border-top': Notation.SOLID,
'transform-origin': 'top left'
},
'mjx-menclose > mjx-ustrike': {
display: 'inline-block',
left: 0, bottom: 0,
position: 'absolute',
'border-top': Notation.SOLID,
'transform-origin': 'bottom left'
},
'mjx-menclose > mjx-hstrike': {
'border-top': Notation.SOLID,
position: 'absolute',
left: 0, right: 0, bottom: '50%',
transform: 'translateY(' + em(Notation.THICKNESS / 2) + ')'
},
'mjx-menclose > mjx-vstrike': {
'border-left': Notation.SOLID,
position: 'absolute',
top: 0, bottom: 0, right: '50%',
transform: 'translateX(' + em(Notation.THICKNESS / 2) + ')'
},
'mjx-menclose > mjx-rbox': {
position: 'absolute',
top: 0, bottom: 0, right: 0, left: 0,
'border': Notation.SOLID,
'border-radius': em(Notation.THICKNESS + Notation.PADDING)
},
'mjx-menclose > mjx-cbox': {
position: 'absolute',
top: 0, bottom: 0, right: 0, left: 0,
'border': Notation.SOLID,
'border-radius': '50%'
},
'mjx-menclose > mjx-arrow': {
position: 'absolute',
left: 0, bottom: '50%', height: 0, width: 0
},
'mjx-menclose > mjx-arrow > *': {
display: 'block',
position: 'absolute',
'transform-origin': 'bottom',
'border-left': em(Notation.THICKNESS * Notation.ARROWX) + ' solid',
'border-right': 0,
'box-sizing': 'border-box'
},
'mjx-menclose > mjx-arrow > mjx-aline': {
left: 0, top: em(-Notation.THICKNESS / 2),
right: em(Notation.THICKNESS * (Notation.ARROWX - 1)), height: 0,
'border-top': em(Notation.THICKNESS) + ' solid',
'border-left': 0
},
'mjx-menclose > mjx-arrow[double] > mjx-aline': {
left: em(Notation.THICKNESS * (Notation.ARROWX - 1)), height: 0,
},
'mjx-menclose > mjx-arrow > mjx-rthead': {
transform: 'skewX(' + ANGLE + 'rad)',
right: 0, bottom: '-1px',
'border-bottom': '1px solid transparent',
'border-top': em(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
},
'mjx-menclose > mjx-arrow > mjx-rbhead': {
transform: 'skewX(-' + ANGLE + 'rad)',
'transform-origin': 'top',
right: 0, top: '-1px',
'border-top': '1px solid transparent',
'border-bottom': em(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
},
'mjx-menclose > mjx-arrow > mjx-lthead': {
transform: 'skewX(-' + ANGLE + 'rad)',
left: 0, bottom: '-1px',
'border-left': 0,
'border-right': em(Notation.THICKNESS * Notation.ARROWX) + ' solid',
'border-bottom': '1px solid transparent',
'border-top': em(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
},
'mjx-menclose > mjx-arrow > mjx-lbhead': {
transform: 'skewX(' + ANGLE + 'rad)',
'transform-origin': 'top',
left: 0, top: '-1px',
'border-left': 0,
'border-right': em(Notation.THICKNESS * Notation.ARROWX) + ' solid',
'border-top': '1px solid transparent',
'border-bottom': em(Notation.THICKNESS * Notation.ARROWY) + ' solid transparent'
},
'mjx-menclose > dbox': {
position: 'absolute',
top: 0, bottom: 0, left: em(-1.5 * Notation.PADDING),
width: em(3 * Notation.PADDING),
border: em(Notation.THICKNESS) + ' solid',
'border-radius': '50%',
'clip-path': 'inset(0 0 0 ' + em(1.5 * Notation.PADDING) + ')',
'box-sizing': 'border-box'
}
};
/**
* The definitions of the various notations
*/
public static notations: Notation.DefList<CHTMLmenclose<any, any, any>, any> = new Map([
Notation.Border('top'),
Notation.Border('right'),
Notation.Border('bottom'),
Notation.Border('left'),
Notation.Border2('actuarial', 'top', 'right'),
Notation.Border2('madruwb', 'bottom', 'right'),
Notation.DiagonalStrike('up', 1),
Notation.DiagonalStrike('down', -1),
['horizontalstrike', {
renderer: Notation.RenderElement('hstrike', 'Y'),
bbox: (node) => [0, node.padding, 0, node.padding]
}],
['verticalstrike', {
renderer: Notation.RenderElement('vstrike', 'X'),
bbox: (node) => [node.padding, 0, node.padding, 0]
}],
['box', {
renderer: (node, child) => {
node.adaptor.setStyle(child, 'border', node.em(node.thickness) + ' solid');
},
bbox: Notation.fullBBox,
border: Notation.fullBorder,
remove: 'left right top bottom'
}],
['roundedbox', {
renderer: Notation.RenderElement('rbox'),
bbox: Notation.fullBBox
}],
['circle', {
renderer: Notation.RenderElement('cbox'),
bbox: Notation.fullBBox
}],
['phasorangle', {
//
// Use a bottom border and an upward strike properly angled
//
renderer: (node, child) => {
const {h, d} = node.getBBox();
const [a, W] = node.getArgMod(1.75 * node.padding, h + d);
const t = node.thickness * Math.sin(a) * .9;
node.adaptor.setStyle(child, 'border-bottom', node.em(node.thickness) + ' solid');
const strike = node.adjustBorder(node.html('mjx-ustrike', {style: {
width: node.em(W),
transform: 'translateX(' + node.em(t) + ') rotate(' + node.fixed(-a) + 'rad)',
}}));
node.adaptor.append(node.chtml, strike);
},
bbox: (node) => {
const p = node.padding / 2;
const t = node.thickness;
return [2 * p, p, p + t, 3 * p + t];
},
border: (node) => [0, 0, node.thickness, 0],
remove: 'bottom'
}],
Notation.Arrow('up'),
Notation.Arrow('down'),
Notation.Arrow('left'),
Notation.Arrow('right'),
Notation.Arrow('updown'),
Notation.Arrow('leftright'),
Notation.DiagonalArrow('updiagonal'), // backward compatibility
Notation.DiagonalArrow('northeast'),
Notation.DiagonalArrow('southeast'),
Notation.DiagonalArrow('northwest'),
Notation.DiagonalArrow('southwest'),
Notation.DiagonalArrow('northeastsouthwest'),
Notation.DiagonalArrow('northwestsoutheast'),
['longdiv', {
//
// Use a line along the top followed by a half ellipse at the left
//
renderer: (node, child) => {
const adaptor = node.adaptor;
adaptor.setStyle(child, 'border-top', node.em(node.thickness) + ' solid');
const arc = adaptor.append(node.chtml, node.html('dbox'));
const t = node.thickness;
const p = node.padding;
if (t !== Notation.THICKNESS) {
adaptor.setStyle(arc, 'border-width', node.em(t));
}
if (p !== Notation.PADDING) {
adaptor.setStyle(arc, 'left', node.em(-1.5 * p));
adaptor.setStyle(arc, 'width', node.em(3 * p));
adaptor.setStyle(arc, 'clip-path', 'inset(0 0 0 ' + node.em(1.5 * p) + ')');
}
},
bbox: (node) => {
const p = node.padding;
const t = node.thickness;
return [p + t, p, p, 2 * p + t / 2];
}
}],
['radical', {
//
// Use the msqrt rendering, but remove the extra space due to the radical
// (it is added in at the end, so other notations overlap the root)
//
renderer: (node, child) => {
node.msqrt.toCHTML(child);
const TRBL = node.sqrtTRBL();
node.adaptor.setStyle(node.msqrt.chtml, 'margin', TRBL.map(x => node.em(-x)).join(' '));
},
//
// Create the needed msqrt wrapper
//
init: (node) => {
node.msqrt = node.createMsqrt(node.childNodes[0]);
},
//
// Add back in the padding for the square root
//
bbox: (node) => node.sqrtTRBL(),
//
// This notation replaces the child
//
renderChild: true
}]
] as Notation.DefPair<CHTMLmenclose<any, any, any>, any>[]);
/********************************************************/
/**
* @override
*/
public toCHTML(parent: N) {
const adaptor = this.adaptor;
const chtml = this.standardCHTMLnode(parent);
//
// Create a box for the child (that can have padding and borders added by the notations)
// and add the child HTML into it
//
const block = adaptor.append(chtml, this.html('mjx-box')) as N;
if (this.renderChild) {
this.renderChild(this, block);
} else {
this.childNodes[0].toCHTML(block);
}
//
// Render all the notations for this menclose element
//
for (const name of Object.keys(this.notations)) {
const notation = this.notations[name];
!notation.renderChild && notation.renderer(this, block);
}
//
// Add the needed padding, if any
//
const pbox = this.getPadding();
for (const name of Notation.sideNames) {
const i = Notation.sideIndex[name];
pbox[i] > 0 && adaptor.setStyle(block, 'padding-' + name, this.em(pbox[i]));
}
}
/********************************************************/
/**
* Create an arrow using HTML elements
*
* @param {number} w The length of the arrow
* @param {number} a The angle for the arrow
* @param {boolean} double True if this is a double-headed arrow
* @param {string} offset 'X' for vertical arrow, 'Y' for horizontal
* @param {number} dist Distance to translate in the offset direction
* @return {N} The newly created arrow
*/
public arrow(w: number, a: number, double: boolean, offset: string = '', dist: number = 0): N {
const W = this.getBBox().w;
const style = {width: this.em(w)} as OptionList;
if (W !== w) {
style.left = this.em((W - w) / 2);
}
if (a) {
style.transform = 'rotate(' + this.fixed(a) + 'rad)';
}
const arrow = this.html('mjx-arrow', {style: style}, [
this.html('mjx-aline'), this.html('mjx-rthead'), this.html('mjx-rbhead')
]);
if (double) {
this.adaptor.append(arrow, this.html('mjx-lthead'));
this.adaptor.append(arrow, this.html('mjx-lbhead'));
this.adaptor.setAttribute(arrow, 'double', 'true');
}
this.adjustArrow(arrow, double);
this.moveArrow(arrow, offset, dist);
return arrow;
}
/**
* @param {N} arrow The arrow whose thickness and arrow head is to be adjusted
* @param {boolean} double True if the arrow is double-headed
*/
protected adjustArrow(arrow: N, double: boolean) {
const t = this.thickness;
const head = this.arrowhead;
if (head.x === Notation.ARROWX && head.y === Notation.ARROWY &&
head.dx === Notation.ARROWDX && t === Notation.THICKNESS) return;
const [x, y] = [t * head.x, t * head.y].map(x => this.em(x));
const a = Angle(head.dx, head.y);
const [line, rthead, rbhead, lthead, lbhead] = this.adaptor.childNodes(arrow);
this.adjustHead(rthead, [y, '0', '1px', x], a);
this.adjustHead(rbhead, ['1px', '0', y, x], '-' + a);
this.adjustHead(lthead, [y, x, '1px', '0'], '-' + a);
this.adjustHead(lbhead, ['1px', x, y, '0'], a);
this.adjustLine(line, t, head.x, double);
}
/**
* @param {N} head The piece of arrow head to be adjusted
* @param {string[]} border The border sizes [T, R, B, L]
* @param {string} a The skew angle for the piece
*/
protected adjustHead(head: N, border: string[], a: string) {
if (head) {
this.adaptor.setStyle(head, 'border-width', border.join(' '));
this.adaptor.setStyle(head, 'transform', 'skewX(' + a + 'rad)');
}
}
/**
* @param {N} line The arrow shaft to be adjusted
* @param {number} t The arrow shaft thickness
* @param {number} x The arrow head x size
* @param {boolean} double True if the arrow is double-headed
*/
protected adjustLine(line: N, t: number, x: number, double: boolean) {
this.adaptor.setStyle(line, 'borderTop', this.em(t) + ' solid');
this.adaptor.setStyle(line, 'top', this.em(-t / 2));
this.adaptor.setStyle(line, 'right', this.em(t * (x - 1)));
if (double) {
this.adaptor.setStyle(line, 'left', this.em(t * (x - 1)));
}
}
/**
* @param {N} arrow The arrow whose position is to be adjusted
* @param {string} offset The direction to move the arrow
* @param {number} d The distance to translate in that direction
*/
protected moveArrow(arrow: N, offset: string, d: number) {
if (!d) return;
const transform = this.adaptor.getStyle(arrow, 'transform');
this.adaptor.setStyle(
arrow, 'transform', `translate${offset}(${this.em(-d)})${(transform ? ' ' + transform : '')}`
);
}
/********************************************************/
/**
* @param {N} node The HTML element whose border width must be
* adjusted if the thickness isn't the default
* @return {N} The adjusted element
*/
public adjustBorder(node: N): N {
if (this.thickness !== Notation.THICKNESS) {
this.adaptor.setStyle(node, 'borderWidth', this.em(this.thickness));
}
return node;
}
/**
* @param {N} shape The svg element whose stroke-thickness must be
* adjusted if the thickness isn't the default
* @return {N} The adjusted element
*/
public adjustThickness(shape: N): N {
if (this.thickness !== Notation.THICKNESS) {
this.adaptor.setStyle(shape, 'strokeWidth', this.fixed(this.thickness));
}
return shape;
}
/********************************************************/
/**
* @param {number} m A number to be shown with a fixed number of digits
* @param {number=} n The number of digits to use
* @return {string} The formatted number
*/
public fixed(m: number, n: number = 3): string {
if (Math.abs(m) < .0006) {
return '0';
}
return m.toFixed(n).replace(/\.?0+$/, '');
}
/**
* @override
* (make it public so it can be called by the notation functions)
*/
public em(m: number) {
return super.em(m);
}
}
``` | /content/code_sandbox/ts/output/chtml/Wrappers/menclose.ts | xml | 2016-02-23T09:52:03 | 2024-08-16T04:46:50 | MathJax-src | mathjax/MathJax-src | 2,017 | 4,487 |
```xml
import assert from 'assert';
import buildDebug from 'debug';
import _ from 'lodash';
import { PLUGIN_CATEGORY, errorUtils, pluginUtils } from '@verdaccio/core';
import { asyncLoadPlugin } from '@verdaccio/loaders';
import LocalDatabase from '@verdaccio/local-storage';
import { Config, Logger } from '@verdaccio/types';
const debug = buildDebug('verdaccio:storage:local');
export const noSuchFile = 'ENOENT';
export const resourceNotAvailable = 'EAGAIN';
export type PluginStorage = pluginUtils.Storage<Config>;
/**
* Implements Storage interface (same for storage.js, local-storage.js, up-storage.js).
*/
class LocalStorage {
public config: Config;
public storagePlugin: PluginStorage;
public logger: Logger;
public constructor(config: Config, logger: Logger) {
debug('local storage created');
this.logger = logger.child({ sub: 'fs' });
this.config = config;
// @ts-expect-error
this.storagePlugin = null;
}
public async init() {
if (this.storagePlugin === null) {
this.storagePlugin = await this.loadStorage(this.config, this.logger);
debug('storage plugin init');
await this.storagePlugin.init();
debug('storage plugin initialized');
} else {
this.logger.warn('storage plugin has been already initialized');
}
return;
}
public getStoragePlugin(): PluginStorage {
if (this.storagePlugin === null) {
throw errorUtils.getInternalError('storage plugin is not initialized');
}
return this.storagePlugin;
}
public async getSecret(config: Config): Promise<void> {
const secretKey = await this.storagePlugin.getSecret();
return this.storagePlugin.setSecret(config.checkSecretKey(secretKey));
}
private async loadStorage(config: Config, logger: Logger): Promise<PluginStorage> {
const Storage = await this.loadStorePlugin();
if (_.isNil(Storage)) {
assert(this.config.storage, 'CONFIG: storage path not defined');
debug('no custom storage found, loading default storage @verdaccio/local-storage');
return new LocalDatabase(config, logger);
}
return Storage as PluginStorage;
}
private async loadStorePlugin(): Promise<PluginStorage | undefined> {
const plugins: PluginStorage[] = await asyncLoadPlugin<pluginUtils.Storage<unknown>>(
this.config.store,
{
config: this.config,
logger: this.logger,
},
(plugin) => {
return typeof plugin.getPackageStorage !== 'undefined';
},
this.config?.serverSettings?.pluginPrefix,
PLUGIN_CATEGORY.STORAGE
);
if (plugins.length > 1) {
this.logger.warn(
'more than one storage plugins has been detected, multiple storage are not supported, one will be selected automatically'
);
}
return _.head(plugins);
}
}
export { LocalStorage };
``` | /content/code_sandbox/packages/store/src/local-storage.ts | xml | 2016-04-15T16:21:12 | 2024-08-16T09:38:01 | verdaccio | verdaccio/verdaccio | 16,189 | 624 |
```xml
export { asyncifyErrback } from './asyncifyerrback.js';
export { asyncify } from './asyncify.js';
export { AsyncIterableX, AsyncSink, as, from } from './asynciterablex.js';
export { average } from './average.js';
export { catchAll, catchError } from './catcherror.js';
export { combineLatest } from './combinelatest.js';
export { concat, _concatAll } from './concat.js';
export { count } from './count.js';
export { create } from './create.js';
export { defer } from './defer.js';
export { elementAt } from './elementat.js';
export { empty } from './empty.js';
export { every } from './every.js';
export { findIndex } from './findindex.js';
export { find } from './find.js';
export { first } from './first.js';
export { forkJoin } from './forkjoin.js';
export { fromDOMStream } from './fromdomstream.js';
export { fromEventPattern } from './fromeventpattern.js';
export { fromEvent } from './fromevent.js';
export { generate } from './generate.js';
export { generateTime } from './generatetime.js';
export { iif } from './iif.js';
export { includes } from './includes.js';
export { interval } from './interval.js';
export { isEmpty } from './isempty.js';
export { last } from './last.js';
export { max } from './max.js';
export { maxBy } from './maxby.js';
export { merge } from './merge.js';
export { min } from './min.js';
export { minBy } from './minby.js';
export { never } from './never.js';
export { of } from './of.js';
export { onErrorResumeNext } from './onerrorresumenext.js';
export { race } from './race.js';
export { range } from './range.js';
export { reduceRight } from './reduceright.js';
export { reduce } from './reduce.js';
export { repeatValue } from './repeatvalue.js';
export { sequenceEqual } from './sequenceequal.js';
export { single } from './single.js';
export { some } from './some.js';
export { sum } from './sum.js';
export { throwError } from './throwerror.js';
export { toArray } from './toarray.js';
export { toDOMStream } from './todomstream.js';
export { toMap } from './tomap.js';
export { toObservable } from './toobservable.js';
export { toSet } from './toset.js';
export { whileDo } from './whiledo.js';
export { zip } from './zip.js';
``` | /content/code_sandbox/src/asynciterable/index.ts | xml | 2016-02-22T20:04:19 | 2024-08-09T18:46:41 | IxJS | ReactiveX/IxJS | 1,319 | 553 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="path_to_url"
android:id="@+id/layout_actress"
android:layout_width="match_parent"
android:layout_height="56dp"
android:clickable="true"
android:foreground="?android:attr/selectableItemBackground">
<de.hdodenhof.circleimageview.CircleImageView
android:id="@+id/actress_img"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_centerVertical="true"
android:layout_marginLeft="16dp"
android:scaleType="centerCrop"
android:src="@drawable/ic_movie_actresses" />
<TextView
android:id="@+id/actress_name"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:layout_marginLeft="72dp"
android:ellipsize="marquee"
android:singleLine="true"
android:text=""
android:textSize="16sp" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:layout_alignParentStart="true"
android:layout_alignParentLeft="true"
android:layout_alignParentBottom="true"
android:layout_marginLeft="72dp"
android:background="@color/colorDivider" />
</RelativeLayout>
``` | /content/code_sandbox/app/src/main/res/layout/layout_actress.xml | xml | 2016-05-21T08:47:10 | 2024-08-14T04:13:43 | JAViewer | SplashCodes/JAViewer | 4,597 | 314 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ 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.
-->
<dataset update-count="2">
<metadata data-nodes="write_ds_${0..9}.t_order_${0..9},read_ds_${0..9}.t_order_${0..9}">
<column name="order_id" type="numeric" />
<column name="user_id" type="numeric" />
<column name="status" type="varchar" />
<column name="merchant_id" type="numeric" />
<column name="remark" type="varchar" />
<column name="creation_date" type="datetime" />
</metadata>
<row data-node="write_ds_0.t_order_0" values="1000, 10, init, 1, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_1" values="1001, 10, init, 2, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_2" values="1002, 10, init, 3, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_3" values="1003, 10, init, 4, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_4" values="1004, 10, init, 5, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_5" values="1005, 10, init, 6, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_6" values="1006, 10, init, 7, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_7" values="1007, 10, init, 8, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_8" values="1008, 10, init, 9, test, 2017-08-08" />
<row data-node="write_ds_0.t_order_9" values="1009, 10, init, 10, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_0" values="1100, 11, init, 11, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_1" values="1, 1, insert, 1, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_1" values="1101, 11, init, 12, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_2" values="1102, 11, init, 13, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_3" values="1103, 11, init, 14, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_4" values="1104, 11, init, 15, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_5" values="1105, 11, init, 16, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_6" values="1106, 11, init, 17, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_7" values="1107, 11, init, 18, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_8" values="1108, 11, init, 19, test, 2017-08-08" />
<row data-node="write_ds_1.t_order_9" values="1109, 11, init, 20, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_0" values="1200, 12, init, 1, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_1" values="1201, 12, init, 2, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_2" values="2, 2, insert2, 2, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_2" values="1202, 12, init, 3, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_3" values="1203, 12, init, 4, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_4" values="1204, 12, init, 5, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_5" values="1205, 12, init, 6, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_6" values="1206, 12, init, 7, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_7" values="1207, 12, init, 8, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_8" values="1208, 12, init, 9, test, 2017-08-08" />
<row data-node="write_ds_2.t_order_9" values="1209, 12, init, 10, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_0" values="1300, 13, init, 11, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_1" values="1301, 13, init, 12, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_2" values="1302, 13, init, 13, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_3" values="1303, 13, init, 14, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_4" values="1304, 13, init, 15, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_5" values="1305, 13, init, 16, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_6" values="1306, 13, init, 17, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_7" values="1307, 13, init, 18, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_8" values="1308, 13, init, 19, test, 2017-08-08" />
<row data-node="write_ds_3.t_order_9" values="1309, 13, init, 20, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_0" values="1400, 14, init, 1, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_1" values="1401, 14, init, 2, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_2" values="1402, 14, init, 3, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_3" values="1403, 14, init, 4, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_4" values="1404, 14, init, 5, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_5" values="1405, 14, init, 6, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_6" values="1406, 14, init, 7, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_7" values="1407, 14, init, 8, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_8" values="1408, 14, init, 9, test, 2017-08-08" />
<row data-node="write_ds_4.t_order_9" values="1409, 14, init, 10, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_0" values="1500, 15, init, 11, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_1" values="1501, 15, init, 12, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_2" values="1502, 15, init, 13, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_3" values="1503, 15, init, 14, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_4" values="1504, 15, init, 15, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_5" values="1505, 15, init, 16, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_6" values="1506, 15, init, 17, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_7" values="1507, 15, init, 18, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_8" values="1508, 15, init, 19, test, 2017-08-08" />
<row data-node="write_ds_5.t_order_9" values="1509, 15, init, 20, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_0" values="1600, 16, init, 1, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_1" values="1601, 16, init, 2, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_2" values="1602, 16, init, 3, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_3" values="1603, 16, init, 4, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_4" values="1604, 16, init, 5, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_5" values="1605, 16, init, 6, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_6" values="1606, 16, init, 7, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_7" values="1607, 16, init, 8, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_8" values="1608, 16, init, 9, test, 2017-08-08" />
<row data-node="write_ds_6.t_order_9" values="1609, 16, init, 10, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_0" values="1700, 17, init, 11, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_1" values="1701, 17, init, 12, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_2" values="1702, 17, init, 13, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_3" values="1703, 17, init, 14, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_4" values="1704, 17, init, 15, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_5" values="1705, 17, init, 16, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_6" values="1706, 17, init, 17, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_7" values="1707, 17, init, 18, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_8" values="1708, 17, init, 19, test, 2017-08-08" />
<row data-node="write_ds_7.t_order_9" values="1709, 17, init, 20, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_0" values="1800, 18, init, 1, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_1" values="1801, 18, init, 2, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_2" values="1802, 18, init, 3, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_3" values="1803, 18, init, 4, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_4" values="1804, 18, init, 5, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_5" values="1805, 18, init, 6, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_6" values="1806, 18, init, 7, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_7" values="1807, 18, init, 8, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_8" values="1808, 18, init, 9, test, 2017-08-08" />
<row data-node="write_ds_8.t_order_9" values="1809, 18, init, 10, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_0" values="1900, 19, init, 11, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_1" values="1901, 19, init, 12, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_2" values="1902, 19, init, 13, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_3" values="1903, 19, init, 14, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_4" values="1904, 19, init, 15, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_5" values="1905, 19, init, 16, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_6" values="1906, 19, init, 17, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_7" values="1907, 19, init, 18, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_8" values="1908, 19, init, 19, test, 2017-08-08" />
<row data-node="write_ds_9.t_order_9" values="1909, 19, init, 20, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_0" values="1000, 10, init_read, 1, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_1" values="1001, 10, init_read, 2, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_2" values="1002, 10, init_read, 3, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_3" values="1003, 10, init_read, 4, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_4" values="1004, 10, init_read, 5, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_5" values="1005, 10, init_read, 6, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_6" values="1006, 10, init_read, 7, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_7" values="1007, 10, init_read, 8, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_8" values="1008, 10, init_read, 9, test, 2017-08-08" />
<row data-node="read_ds_0.t_order_9" values="1009, 10, init_read, 10, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_0" values="1100, 11, init_read, 11, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_1" values="1101, 11, init_read, 12, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_2" values="1102, 11, init_read, 13, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_3" values="1103, 11, init_read, 14, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_4" values="1104, 11, init_read, 15, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_5" values="1105, 11, init_read, 16, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_6" values="1106, 11, init_read, 17, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_7" values="1107, 11, init_read, 18, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_8" values="1108, 11, init_read, 19, test, 2017-08-08" />
<row data-node="read_ds_1.t_order_9" values="1109, 11, init_read, 20, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_0" values="1200, 12, init_read, 1, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_1" values="1201, 12, init_read, 2, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_2" values="1202, 12, init_read, 3, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_3" values="1203, 12, init_read, 4, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_4" values="1204, 12, init_read, 5, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_5" values="1205, 12, init_read, 6, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_6" values="1206, 12, init_read, 7, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_7" values="1207, 12, init_read, 8, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_8" values="1208, 12, init_read, 9, test, 2017-08-08" />
<row data-node="read_ds_2.t_order_9" values="1209, 12, init_read, 10, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_0" values="1300, 13, init_read, 11, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_1" values="1301, 13, init_read, 12, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_2" values="1302, 13, init_read, 13, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_3" values="1303, 13, init_read, 14, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_4" values="1304, 13, init_read, 15, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_5" values="1305, 13, init_read, 16, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_6" values="1306, 13, init_read, 17, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_7" values="1307, 13, init_read, 18, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_8" values="1308, 13, init_read, 19, test, 2017-08-08" />
<row data-node="read_ds_3.t_order_9" values="1309, 13, init_read, 20, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_0" values="1400, 14, init_read, 1, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_1" values="1401, 14, init_read, 2, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_2" values="1402, 14, init_read, 3, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_3" values="1403, 14, init_read, 4, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_4" values="1404, 14, init_read, 5, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_5" values="1405, 14, init_read, 6, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_6" values="1406, 14, init_read, 7, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_7" values="1407, 14, init_read, 8, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_8" values="1408, 14, init_read, 9, test, 2017-08-08" />
<row data-node="read_ds_4.t_order_9" values="1409, 14, init_read, 10, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_0" values="1500, 15, init_read, 11, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_1" values="1501, 15, init_read, 12, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_2" values="1502, 15, init_read, 13, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_3" values="1503, 15, init_read, 14, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_4" values="1504, 15, init_read, 15, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_5" values="1505, 15, init_read, 16, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_6" values="1506, 15, init_read, 17, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_7" values="1507, 15, init_read, 18, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_8" values="1508, 15, init_read, 19, test, 2017-08-08" />
<row data-node="read_ds_5.t_order_9" values="1509, 15, init_read, 20, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_0" values="1600, 16, init_read, 1, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_1" values="1601, 16, init_read, 2, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_2" values="1602, 16, init_read, 3, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_3" values="1603, 16, init_read, 4, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_4" values="1604, 16, init_read, 5, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_5" values="1605, 16, init_read, 6, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_6" values="1606, 16, init_read, 7, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_7" values="1607, 16, init_read, 8, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_8" values="1608, 16, init_read, 9, test, 2017-08-08" />
<row data-node="read_ds_6.t_order_9" values="1609, 16, init_read, 10, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_0" values="1700, 17, init_read, 11, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_1" values="1701, 17, init_read, 12, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_2" values="1702, 17, init_read, 13, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_3" values="1703, 17, init_read, 14, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_4" values="1704, 17, init_read, 15, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_5" values="1705, 17, init_read, 16, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_6" values="1706, 17, init_read, 17, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_7" values="1707, 17, init_read, 18, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_8" values="1708, 17, init_read, 19, test, 2017-08-08" />
<row data-node="read_ds_7.t_order_9" values="1709, 17, init_read, 20, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_0" values="1800, 18, init_read, 1, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_1" values="1801, 18, init_read, 2, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_2" values="1802, 18, init_read, 3, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_3" values="1803, 18, init_read, 4, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_4" values="1804, 18, init_read, 5, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_5" values="1805, 18, init_read, 6, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_6" values="1806, 18, init_read, 7, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_7" values="1807, 18, init_read, 8, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_8" values="1808, 18, init_read, 9, test, 2017-08-08" />
<row data-node="read_ds_8.t_order_9" values="1809, 18, init_read, 10, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_0" values="1900, 19, init_read, 11, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_1" values="1901, 19, init_read, 12, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_2" values="1902, 19, init_read, 13, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_3" values="1903, 19, init_read, 14, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_4" values="1904, 19, init_read, 15, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_5" values="1905, 19, init_read, 16, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_6" values="1906, 19, init_read, 17, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_7" values="1907, 19, init_read, 18, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_8" values="1908, 19, init_read, 19, test, 2017-08-08" />
<row data-node="read_ds_9.t_order_9" values="1909, 19, init_read, 20, test, 2017-08-08" />
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dml/dataset/dbtbl_with_readwrite_splitting/insert_multiple_values_for_order_1_2.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 8,174 |
```xml
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<epp xmlns:domain="urn:ietf:params:xml:ns:domain-1.0" xmlns="urn:ietf:params:xml:ns:epp-1.0"
xmlns:fee12="urn:ietf:params:xml:ns:fee-0.12"
>
<response>
<result code="1000">
<msg>Command completed successfully</msg>
</result>
<resData>
<domain:creData>
<domain:name>rich.example</domain:name>
<domain:crDate>1999-04-03T22:00:00Z</domain:crDate>
<domain:exDate>2000-04-03T22:00:00Z</domain:exDate>
</domain:creData>
</resData>
<extension>
<fee12:creData>
<fee12:currency>USD</fee12:currency>
<fee12:fee description="create">13.00</fee12:fee>
</fee12:creData>
</extension>
<trID>
<clTRID>ABC-12345</clTRID>
<svTRID>server-trid</svTRID>
</trID>
</response>
</epp>
``` | /content/code_sandbox/core/src/test/resources/google/registry/flows/domain/domain_create_nonpremium_token_response.xml | xml | 2016-02-29T20:16:48 | 2024-08-15T19:49:29 | nomulus | google/nomulus | 1,685 | 297 |
```xml
import * as React from 'react';
import useScript from '@charlietango/use-script';
import { Loader } from '@fluentui/react-northstar';
export const LazyWithBabel: React.FunctionComponent = ({ children }) => {
const url = `path_to_url{window['versions'].babelStandalone}/babel.min.js`;
const [ready] = useScript(url);
return ready ? <React.Suspense fallback={<Loader />}>{children}</React.Suspense> : <Loader />;
};
``` | /content/code_sandbox/packages/fluentui/docs/src/components/ComponentDoc/LazyWithBabel.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 108 |
```xml
import { EmbedDescriptor } from "../embeds";
import { MenuItem } from "../types";
type Item = MenuItem | EmbedDescriptor;
export default function filterExcessSeparators<T extends Item>(
items: T[]
): T[] {
return items
.reduce((acc, item) => {
// trim separator if the previous item was a separator
if (
item.name === "separator" &&
acc[acc.length - 1]?.name === "separator"
) {
return acc;
}
return [...acc, item];
}, [] as T[])
.filter((item, index, arr) => {
if (
item.name === "separator" &&
(index === 0 || index === arr.length - 1)
) {
return false;
}
return true;
});
}
``` | /content/code_sandbox/shared/editor/lib/filterExcessSeparators.ts | xml | 2016-05-22T21:31:47 | 2024-08-16T19:57:22 | outline | outline/outline | 26,751 | 175 |
```xml
#define TORCH_ASSERT_ONLY_METHOD_OPERATORS
#include <ATen/native/mps/operations/FusedAdamAmsgradKernelImpl.h>
#include <ATen/Dispatch.h>
#include <ATen/native/ForeachUtils.h>
#include <ATen/native/mps/operations/FusedOptimizerOps.h>
#include <ATen/native/mps/operations/MultiTensorApply.h>
#include <vector>
namespace at::native::mps {
void _fused_adam_amsgrad_mps_impl_(TensorList params,
TensorList grads,
TensorList exp_avgs,
TensorList exp_avg_sqs,
TensorList max_exp_avg_sqs,
TensorList state_steps,
const double lr,
const double beta1,
const double beta2,
const double weight_decay,
const double eps,
const bool maximize,
const std::optional<Tensor>& grad_scale,
const std::optional<Tensor>& found_inf) {
std::vector<std::vector<Tensor>> tensor_lists{
params.vec(), grads.vec(), exp_avgs.vec(), exp_avg_sqs.vec(), max_exp_avg_sqs.vec()};
const auto kernel_name =
"fused_adam_amsgrad_" + scalarToMetalTypeString(params[0]) + "_" + scalarToMetalTypeString(state_steps[0]);
multi_tensor_apply_for_fused_optimizer<5, 512>(kernel_name,
tensor_lists,
state_steps,
FusedAdamEncodingFunctor(),
lr,
beta1,
beta2,
weight_decay,
eps,
maximize);
}
void _fused_adam_amsgrad_mps_impl_(TensorList params,
TensorList grads,
TensorList exp_avgs,
TensorList exp_avg_sqs,
TensorList max_exp_avg_sqs,
TensorList state_steps,
const Tensor& lr,
const double beta1,
const double beta2,
const double weight_decay,
const double eps,
const bool maximize,
const std::optional<Tensor>& grad_scale,
const std::optional<Tensor>& found_inf) {
std::vector<std::vector<Tensor>> tensor_lists{
params.vec(), grads.vec(), exp_avgs.vec(), exp_avg_sqs.vec(), max_exp_avg_sqs.vec()};
const std::string kernel_name =
"fused_adam_amsgrad_" + scalarToMetalTypeString(params[0]) + "_" + scalarToMetalTypeString(state_steps[0]);
multi_tensor_apply_for_fused_optimizer<5, 512>(kernel_name,
tensor_lists,
state_steps,
FusedAdamEncodingFunctor(),
lr,
beta1,
beta2,
weight_decay,
eps,
maximize);
}
} // namespace at::native::mps
``` | /content/code_sandbox/aten/src/ATen/native/mps/operations/FusedAdamAmsgradKernelImpl.mm | xml | 2016-08-13T05:26:41 | 2024-08-16T19:59:14 | pytorch | pytorch/pytorch | 81,372 | 582 |
```xml
//
//
// Microsoft Bot Framework: path_to_url
//
// Bot Framework Emulator Github:
// path_to_url
//
// All rights reserved.
//
// 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.
//
export const fetchWithTimeout = (url: string, options?: any, timeout = 7000): Promise<any> => {
return Promise.race([
fetch(url, options),
new Promise((_, reject) => setTimeout(() => reject(new Error('timeout')), timeout)),
]);
};
``` | /content/code_sandbox/packages/app/main/src/utils/fetchWithTimeout.ts | xml | 2016-11-11T23:15:09 | 2024-08-16T12:45:29 | BotFramework-Emulator | microsoft/BotFramework-Emulator | 1,803 | 314 |
```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 Complex128 = require( '@stdlib/complex/float64/ctor' );
import cceiln = require( './index' );
// TESTS //
// The function returns a double-precision complex floating-point number...
{
cceiln( new Complex128( 5.0, 3.0 ), -2 ); // $ExpectType Complex128
}
// The compiler throws an error if the function is provided a first argument which is not a complex number...
{
cceiln( true, -2 ); // $ExpectError
cceiln( false, -2 ); // $ExpectError
cceiln( null, -2 ); // $ExpectError
cceiln( undefined, -2 ); // $ExpectError
cceiln( '5', -2 ); // $ExpectError
cceiln( [], -2 ); // $ExpectError
cceiln( {}, -2 ); // $ExpectError
cceiln( ( x: number ): number => x, -2 ); // $ExpectError
}
// The compiler throws an error if the function is provided an integer power which is not a number...
{
cceiln( new Complex128( 5.0, 3.0 ), true ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), false ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), null ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), undefined ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), '5' ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), [] ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), {} ); // $ExpectError
cceiln( new Complex128( 5.0, 3.0 ), ( x: number ): number => x ); // $ExpectError
}
// The compiler throws an error if the function is provided insufficient arguments...
{
cceiln(); // $ExpectError
}
``` | /content/code_sandbox/lib/node_modules/@stdlib/math/base/special/cceiln/docs/types/test.ts | xml | 2016-03-24T04:19:52 | 2024-08-16T09:03:19 | stdlib | stdlib-js/stdlib | 4,266 | 522 |
```xml
import equal from 'fast-deep-equal';
import { registerDecorator, ValidationArguments, ValidationOptions } from 'class-validator';
import { TIdentifierNamesCache } from '../../types/TIdentifierNamesCache';
import { TIdentifierNamesCacheDictionary } from '../../types/TIdentifierNamesCacheDictionary';
import { IOptions } from '../../interfaces/options/IOptions';
import { DEFAULT_PRESET } from '../presets/Default';
/**
* @param value
* @returns {boolean}
*/
const validateDictionary = (value: unknown | TIdentifierNamesCacheDictionary): boolean => {
if (value === undefined) {
return true;
}
if (typeof value !== 'object' || value === null) {
return false;
}
const objectValues: unknown[] = Object.values(value);
if (!objectValues.length) {
return true;
}
for (const objectValue of objectValues) {
if (typeof objectValue !== 'string') {
return false;
}
}
return true;
};
/**
* @param {ValidationOptions} validationOptions
* @returns {(options: IOptions, propertyName: keyof IOptions) => void}
*/
export function IsIdentifierNamesCache (
validationOptions?: ValidationOptions
): (options: IOptions, propertyName: keyof IOptions) => void {
return (optionsObject: IOptions, propertyName: keyof IOptions): void => {
registerDecorator({
propertyName,
constraints: [],
name: 'IsIdentifierNamesCache',
options: validationOptions,
target: optionsObject.constructor,
validator: {
/**
* @param value
* @param {ValidationArguments} validationArguments
* @returns {boolean}
*/
validate (value: unknown, validationArguments: ValidationArguments): boolean {
const defaultValue: IOptions[keyof IOptions] | undefined = DEFAULT_PRESET[propertyName];
const isDefaultValue: boolean = equal(value, defaultValue);
if (isDefaultValue || value === null) {
return true;
}
if (typeof value !== 'object') {
return false;
}
if (!validateDictionary((<TIdentifierNamesCache>value)?.globalIdentifiers)) {
return false;
}
return validateDictionary((<TIdentifierNamesCache>value)?.propertyIdentifiers);
},
/**
* @returns {string}
*/
defaultMessage (): string {
return 'Passed value must be an identifier names cache object or `null` value';
}
}
});
};
}
``` | /content/code_sandbox/src/options/validators/IsIdentifierNamesCache.ts | xml | 2016-05-09T08:16:53 | 2024-08-16T19:43:07 | javascript-obfuscator | javascript-obfuscator/javascript-obfuscator | 13,358 | 521 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Nextcloud - Android Client
~
-->
<menu xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
tools:ignore="AppCompatResource">
<item
android:id="@+id/etm_test_download"
android:title="@string/etm_transfer_enqueue_test_download"
app:showAsAction="ifRoom"
android:showAsAction="ifRoom"
android:icon="@drawable/ic_cloud_download" />
<item
android:id="@+id/etm_test_upload"
android:title="@string/etm_transfer_enqueue_test_upload"
app:showAsAction="ifRoom"
android:showAsAction="ifRoom"
android:icon="@drawable/ic_cloud_upload" />
</menu>
``` | /content/code_sandbox/app/src/main/res/menu/fragment_etm_file_transfer.xml | xml | 2016-06-06T21:23:36 | 2024-08-16T18:22:36 | android | nextcloud/android | 4,122 | 188 |
```xml
// This file is part of Moonfire NVR, a security camera network video recorder.
/**
* App-wide provider for imperative snackbar.
*
* I chose not to use the popular
* <a href="path_to_url">notistack</a> because it
* doesn't seem oriented for complying with the <a
* href="path_to_url">material.io spec</a>.
* Besides supporting non-compliant behaviors (eg <tt>maxSnack</tt> > 1</tt>),
* it doesn't actually enqueue notifications. Newer ones replace older ones.
*
* This isn't as flexible as <tt>notistack</tt> because I don't need that
* flexibility (yet).
*/
import IconButton from "@mui/material/IconButton";
import Snackbar, {
SnackbarCloseReason,
SnackbarProps,
} from "@mui/material/Snackbar";
import CloseIcon from "@mui/icons-material/Close";
import React, { useContext } from "react";
interface SnackbarProviderProps {
/**
* The autohide duration to use if none is provided to <tt>enqueue</tt>.
*/
autoHideDuration: number;
children: React.ReactNode;
}
export interface MySnackbarProps
extends Omit<
SnackbarProps,
| "key"
| "anchorOrigin"
| "open"
| "handleClosed"
| "TransitionProps"
| "actions"
> {
key?: React.Key;
}
type MySnackbarPropsWithRequiredKey = Omit<MySnackbarProps, "key"> &
Required<Pick<MySnackbarProps, "key">>;
interface Enqueued extends MySnackbarPropsWithRequiredKey {
open: boolean;
}
/**
* Imperative interface to enqueue and close app-wide snackbars.
* These methods should be called from effects (not directly from render).
*/
export interface Snackbars {
/**
* Enqueues a snackbar.
*
* @param snackbar
* The snackbar to add. The only required property is <tt>message</tt>. If
* <tt>key</tt> is present, it will close any message with the same key
* immediately, as well as be returned so it can be passed to close again
* later. Note that currently several properties are used internally and
* can't be specified, including <tt>actions</tt>.
* @return A key that can be passed to close: the caller-specified key if
* possible, or an internally generated key otherwise.
*/
enqueue: (snackbar: MySnackbarProps) => React.Key;
/**
* Closes a snackbar if present.
*
* If it is currently visible, it will be allowed to gracefully close.
* Otherwise it's removed from the queue.
*/
close: (key: React.Key) => void;
}
interface State {
queue: Enqueued[];
}
const ctx = React.createContext<Snackbars | null>(null);
/**
* Provides a <tt>Snackbars</tt> instance for use by <tt>useSnackbars</tt>.
*/
// This is a class because I want to guarantee the context value never changes,
// and I couldn't figure out a way to do that with hooks.
export class SnackbarProvider
extends React.Component<SnackbarProviderProps, State>
implements Snackbars
{
constructor(props: SnackbarProviderProps) {
super(props);
this.state = { queue: [] };
}
autoKeySeq = 0;
enqueue(snackbar: MySnackbarProps): React.Key {
let key =
snackbar.key === undefined ? `auto-${this.autoKeySeq++}` : snackbar.key;
// TODO: filter existing.
this.setState((state) => ({
queue: [...state.queue, { key, open: true, ...snackbar }],
}));
return key;
}
handleCloseSnackbar = (
key: React.Key,
event: Event | React.SyntheticEvent<any>,
reason: SnackbarCloseReason
) => {
if (reason === "clickaway") return;
this.setState((state) => {
const snack = state.queue[0];
if (snack?.key !== key) {
console.warn(`Active snack is ${snack?.key}; expected ${key}`);
return null; // no change.
}
const newSnack: Enqueued = { ...snack, open: false };
return { queue: [newSnack, ...state.queue.slice(1)] };
});
};
handleSnackbarExited = (key: React.Key) => {
this.setState((state) => ({ queue: state.queue.slice(1) }));
};
close(key: React.Key): void {
this.setState((state) => {
// If this is the active snackbar, let it close gracefully, as in
// handleCloseSnackbar.
if (state.queue[0]?.key === key) {
const newSnack: Enqueued = { ...state.queue[0], open: false };
return { queue: [newSnack, ...state.queue.slice(1)] };
}
// Otherwise, remove it before it shows up at all.
return { queue: state.queue.filter((e: Enqueued) => e.key !== key) };
});
}
render(): JSX.Element {
const first = this.state.queue[0];
const snackbars: Snackbars = this;
return (
<ctx.Provider value={snackbars}>
{this.props.children}
{first === undefined ? null : (
<Snackbar
{...first}
anchorOrigin={{
vertical: "bottom",
horizontal: "left",
}}
autoHideDuration={
first.autoHideDuration ?? this.props.autoHideDuration
}
onClose={(event, reason) =>
this.handleCloseSnackbar(first.key, event, reason)
}
TransitionProps={{
onExited: () => this.handleSnackbarExited(first.key),
}}
action={
<IconButton
size="small"
aria-label="close"
color="inherit"
onClick={() => this.close(first.key)}
>
<CloseIcon fontSize="small" />
</IconButton>
}
/>
)}
</ctx.Provider>
);
}
}
/** Returns a <tt>Snackbars</tt> from context. */
export function useSnackbars(): Snackbars {
return useContext(ctx)!;
}
``` | /content/code_sandbox/ui/src/snackbars.tsx | xml | 2016-01-02T06:05:42 | 2024-08-16T11:13:05 | moonfire-nvr | scottlamb/moonfire-nvr | 1,209 | 1,359 |
```xml
export * from "./icon.module";
export * from "./icon";
export * as Icons from "./icons";
``` | /content/code_sandbox/libs/components/src/icon/index.ts | xml | 2016-03-09T23:14:01 | 2024-08-16T15:07:51 | clients | bitwarden/clients | 8,877 | 22 |
```xml
import { html } from 'lit';
import { customElement, property, state } from 'lit/decorators.js';
import { classMap } from 'lit/directives/class-map.js';
import { createRef, ref } from 'lit/directives/ref.js';
import { $ } from '@mdui/jq/$.js';
import '@mdui/jq/methods/addClass.js';
import '@mdui/jq/methods/children.js';
import '@mdui/jq/methods/css.js';
import '@mdui/jq/methods/data.js';
import '@mdui/jq/methods/each.js';
import '@mdui/jq/methods/filter.js';
import '@mdui/jq/methods/innerHeight.js';
import '@mdui/jq/methods/innerWidth.js';
import '@mdui/jq/methods/offset.js';
import '@mdui/jq/methods/on.js';
import '@mdui/jq/methods/prependTo.js';
import '@mdui/jq/methods/remove.js';
import { MduiElement } from '@mdui/shared/base/mdui-element.js';
import { booleanConverter } from '@mdui/shared/helpers/decorator.js';
import { componentStyle } from '@mdui/shared/lit-styles/component-style.js';
import { style } from './style.js';
import type { JQ } from '@mdui/jq/shared/core.js';
import type { TemplateResult, CSSResultGroup } from 'lit';
import type { Ref } from 'lit/directives/ref.js';
/**
* hoverfocuseddragged
* .surface class
* ripple-mixin :host attribute CSS
*/
@customElement('mdui-ripple')
export class Ripple extends MduiElement<RippleEventMap> {
public static override styles: CSSResultGroup = [componentStyle, style];
/**
*
*/
@property({
type: Boolean,
reflect: true,
converter: booleanConverter,
attribute: 'no-ripple',
})
public noRipple = false;
@state()
private hover = false;
@state()
private focused = false;
@state()
private dragged = false;
private readonly surfaceRef: Ref<HTMLElement> = createRef();
public startPress(event?: Event): void {
if (this.noRipple) {
return;
}
const $surface = $(this.surfaceRef.value!);
const surfaceHeight = $surface.innerHeight();
const surfaceWidth = $surface.innerWidth();
//
let touchStartX;
let touchStartY;
if (!event) {
//
touchStartX = surfaceWidth / 2;
touchStartY = surfaceHeight / 2;
} else {
//
const touchPosition =
typeof TouchEvent !== 'undefined' &&
event instanceof TouchEvent &&
event.touches.length
? event.touches[0]
: (event as MouseEvent);
const offset = $surface.offset();
// surface
if (
touchPosition.pageX < offset.left ||
touchPosition.pageX > offset.left + surfaceWidth ||
touchPosition.pageY < offset.top ||
touchPosition.pageY > offset.top + surfaceHeight
) {
return;
}
touchStartX = touchPosition.pageX - offset.left;
touchStartY = touchPosition.pageY - offset.top;
}
//
const diameter = Math.max(
Math.pow(Math.pow(surfaceHeight, 2) + Math.pow(surfaceWidth, 2), 0.5),
48,
);
//
const translateX = `${-touchStartX + surfaceWidth / 2}px`;
const translateY = `${-touchStartY + surfaceHeight / 2}px`;
const translate = `translate3d(${translateX}, ${translateY}, 0) scale(1)`;
// DOM
$('<div class="wave"></div>')
.css({
width: diameter,
height: diameter,
marginTop: -diameter / 2,
marginLeft: -diameter / 2,
left: touchStartX,
top: touchStartY,
})
.each((_, wave) => {
wave.style.setProperty('--mdui-comp-ripple-transition-x', translateX);
wave.style.setProperty('--mdui-comp-ripple-transition-y', translateY);
})
.prependTo(this.surfaceRef.value!)
.each((_, wave) => wave.clientLeft) //
.css('transform', translate)
.on('animationend', function (e: unknown) {
const event = e as AnimationEvent;
if (event.animationName === 'mdui-comp-ripple-radius-in') {
$(this).data('filled', true); //
}
});
}
public endPress(): void {
const $waves = $(this.surfaceRef.value!)
.children()
.filter((_, wave) => !$(wave).data('removing'))
.data('removing', true);
const hideAndRemove = ($waves: JQ) => {
$waves
.addClass('out')
.each((_, wave) => wave.clientLeft) //
.on('animationend', function () {
$(this).remove();
});
};
//
$waves
.filter((_, wave) => !$(wave).data('filled'))
.on('animationend', function (e: unknown) {
const event = e as AnimationEvent;
if (event.animationName === 'mdui-comp-ripple-radius-in') {
hideAndRemove($(this));
}
});
//
hideAndRemove($waves.filter((_, wave) => !!$(wave).data('filled')));
}
public startHover(): void {
this.hover = true;
}
public endHover(): void {
this.hover = false;
}
public startFocus(): void {
this.focused = true;
}
public endFocus(): void {
this.focused = false;
}
public startDrag(): void {
this.dragged = true;
}
public endDrag(): void {
this.dragged = false;
}
protected override render(): TemplateResult {
return html`<div
${ref(this.surfaceRef)}
class="surface ${classMap({
hover: this.hover,
focused: this.focused,
dragged: this.dragged,
})}"
></div>`;
}
}
export interface RippleEventMap {}
declare global {
interface HTMLElementTagNameMap {
'mdui-ripple': Ripple;
}
}
``` | /content/code_sandbox/packages/mdui/src/components/ripple/index.ts | xml | 2016-07-11T17:39:02 | 2024-08-16T07:12:34 | mdui | zdhxiong/mdui | 4,077 | 1,417 |
```xml
import * as React from 'react';
import * as ReactDom from 'react-dom';
import { Version } from '@microsoft/sp-core-library';
import {
IPropertyPaneConfiguration,
PropertyPaneTextField
} from '@microsoft/sp-property-pane';
import { BaseClientSideWebPart } from '@microsoft/sp-webpart-base';
import { IReadonlyTheme } from '@microsoft/sp-component-base';
import * as strings from 'TinymceEditorWebPartStrings';
import { ITinymceEditorProps } from './components/ITinymceEditorProps';
import { PropertyFieldListPicker, PropertyFieldListPickerOrderBy } from '@pnp/spfx-property-controls/lib/PropertyFieldListPicker';
import SharePointService from './services/SharePointService';
import { IFieldSchema } from './model/IFieldSchema';
import { TinymceEditor } from './components/TinymceEditor';
import { Providers, SharePointProvider } from '@microsoft/mgt';
import { FieldType } from './model/FieldType';
export interface ITinymceEditorWebPartProps {
listId: string;
siteUrl: string;
listItemId: string;
listFieldsSchema: IFieldSchema[];
editorContent: string;
}
export default class TinymceEditorWebPart extends BaseClientSideWebPart<ITinymceEditorWebPartProps> {
private _isDarkTheme: boolean = false;
private _environmentMessage: string = '';
public render(): void {
const element: React.ReactElement<ITinymceEditorProps> = React.createElement(
TinymceEditor,
{
isDarkTheme: this._isDarkTheme,
environmentMessage: this._environmentMessage,
hasTeamsContext: !!this.context.sdks.microsoftTeams,
userDisplayName: this.context.pageContext.user.displayName,
siteUrl: this.properties.siteUrl,
listId: this.properties.listId,
listItemId: this.properties.listItemId,
listFieldsSchema: this.properties.listFieldsSchema,
context: this.context,
displayMode: this.displayMode,
editorContent: this.properties.editorContent,
onContentUpdate: this.onContentUpdate.bind(this)
}
);
ReactDom.render(element, this.domElement);
}
protected onInit(): Promise<void> {
//Init SharePoint Service
SharePointService.Init(this.context.spHttpClient);
//Init MGT SharePoint Provider
Providers.globalProvider = new SharePointProvider(this.context);
return this._getEnvironmentMessage().then(message => {
this._environmentMessage = message;
});
return super.onInit();
}
private _getEnvironmentMessage(): Promise<string> {
if (!!this.context.sdks.microsoftTeams) { // running in Teams, office.com or Outlook
return this.context.sdks.microsoftTeams.teamsJs.app.getContext()
.then(context => {
let environmentMessage: string = '';
switch (context.app.host.name) {
case 'Office': // running in Office
environmentMessage = this.context.isServedFromLocalhost ? strings.AppLocalEnvironmentOffice : strings.AppOfficeEnvironment;
break;
case 'Outlook': // running in Outlook
environmentMessage = this.context.isServedFromLocalhost ? strings.AppLocalEnvironmentOutlook : strings.AppOutlookEnvironment;
break;
case 'Teams': // running in Teams
environmentMessage = this.context.isServedFromLocalhost ? strings.AppLocalEnvironmentTeams : strings.AppTeamsTabEnvironment;
break;
default:
throw new Error('Unknown host');
}
return environmentMessage;
});
}
return Promise.resolve(this.context.isServedFromLocalhost ? strings.AppLocalEnvironmentSharePoint : strings.AppSharePointEnvironment);
}
protected onThemeChanged(currentTheme: IReadonlyTheme | undefined): void {
if (!currentTheme) {
return;
}
this._isDarkTheme = !!currentTheme.isInverted;
const {
semanticColors
} = currentTheme;
if (semanticColors) {
this.domElement.style.setProperty('--bodyText', semanticColors.bodyText || null);
this.domElement.style.setProperty('--link', semanticColors.link || null);
this.domElement.style.setProperty('--linkHovered', semanticColors.linkHovered || null);
}
}
protected onDispose(): void {
ReactDom.unmountComponentAtNode(this.domElement);
}
protected get dataVersion(): Version {
return Version.parse('1.0');
}
protected getPropertyPaneConfiguration(): IPropertyPaneConfiguration {
return {
pages: [
{
header: {
description: strings.PropertyPaneDescription
},
groups: [
{
groupName: strings.BasicGroupName,
groupFields: [
PropertyPaneTextField('siteUrl', {
label: "Site URL"
}),
PropertyFieldListPicker('listId', {
label: 'Select a list',
selectedList: this.properties.listId,
includeHidden: false,
multiSelect: false,
orderBy: PropertyFieldListPickerOrderBy.Title,
disabled: false,
onPropertyChange: this.onPropertyPaneFieldChanged.bind(this),
properties: this.properties,
context: this.context as any,
deferredValidationTime: 0,
key: 'listPickerFieldId',
webAbsoluteUrl: this.properties.siteUrl
}),
PropertyPaneTextField('listItemId', {
label: "List Item Id"
}),
]
}
]
}
]
};
}
protected async onPropertyPaneFieldChanged(propertyPath: string, oldValue: any, newValue: any): Promise<void> {
if (propertyPath === 'listId' && newValue) {
// push new list value
super.onPropertyPaneFieldChanged(propertyPath, oldValue, newValue);
//Get list fields
this.loadListFields(this.properties.siteUrl, newValue);
// refresh the item selector control by repainting the property pane
this.context.propertyPane.refresh();
// re-render the web part as clearing the loading indicator removes the web part body
this.render();
}
else {
super.onPropertyPaneFieldChanged(propertyPath, oldValue, oldValue);
}
}
private async loadListFields(siteUrl: string, listGuid: string): Promise<void> {
this.properties.listFieldsSchema = [];
const listUrl = await SharePointService.getListUrl(siteUrl, listGuid);
const hostUrl = `${window.location.protocol}//${window.location.hostname}`;
const siteRelativeUrl = siteUrl.substring(hostUrl.length);
const listRelativeUrl = listUrl.substring(siteRelativeUrl.length);
const listFieldsResponse: any[] = await SharePointService.getListFieldsAsDataStream(siteRelativeUrl, listRelativeUrl);
let fields: IFieldSchema[] = listFieldsResponse.map((field: any) => {
return {
id: field.Id,
title: field.Title,
staticName: field.StaticName || field.InternalName,
required: field.Required ?? false,
fieldType: field.FieldType || field.TypeAsString,
typeAsString: field.TypeAsString,
description: field.Description,
choices: field.Choices,
multiChoices: field.MultiChoices,
displayFormat: field.DisplayFormat,
firstDayOfWeek: field.FirstDayOfWeek,
localeId: field.LocaleId,
termSetId: field.TermSetId
} as IFieldSchema;
});
if (fields.length > 0) {
fields = fields.filter(f => f.staticName &&
f.fieldType !== FieldType.Thumbnail &&
f.fieldType !== FieldType.Lookup &&
f.fieldType !== FieldType.LookupMulti &&
f.fieldType !== FieldType.Attachments &&
f.fieldType !== FieldType.Location &&
f.staticName !== 'Target_x0020_Audiences' &&
f.staticName !== '_ModernAudienceTargetUserField');
}
// this.properties.listFields = [...fields.map(field => ({ key: field.staticName, text: field.title }))];
this.properties.listFieldsSchema = fields;
// refresh the item selector control by repainting the property pane
this.context.propertyPane.refresh();
// re-render the web part as clearing the loading indicator removes the web part body
this.render();
}
private onContentUpdate(content: string): void {
this.properties.editorContent = content;
}
}
``` | /content/code_sandbox/samples/react-sp-tinymce/src/webparts/tinymceEditor/TinymceEditorWebPart.ts | xml | 2016-08-30T17:21:43 | 2024-08-16T18:41:32 | sp-dev-fx-webparts | pnp/sp-dev-fx-webparts | 2,027 | 1,727 |
```xml
import React, { useCallback, useMemo, useRef, useState } from 'react'
import { useEffectOnce } from 'react-use'
import { useGlobalKeyDownHandler } from '../../../lib/keyboard'
import styled from '../../../lib/styled'
import UpDownList from '../../atoms/UpDownList'
import FormInput from '../../molecules/Form/atoms/FormInput'
import FuzzyNavigationItem, {
FuzzyNavigationItemAttrbs,
HighlightedFuzzyNavigationitem,
} from './molecules/FuzzyNavigationItem'
import Fuse from 'fuse.js'
import CloseButtonWrapper from '../../molecules/CloseButtonWrapper'
import cc from 'classcat'
import Scroller from '../../atoms/Scroller'
import CustomizedMarkdownPreviewer from '../../../../cloud/components/MarkdownView/CustomizedMarkdownPreviewer'
import { getDoc } from '../../../../cloud/api/teams/docs'
import { usePage } from '../../../../cloud/lib/stores/pageStore'
import Spinner from '../../atoms/Spinner'
interface FuzzyNavigationProps {
recentItems: FuzzyNavigationItemAttrbs[]
allItems: FuzzyNavigationItemAttrbs[]
close: () => void
}
const FuzzyNavigation = ({
allItems,
recentItems = [],
close,
}: FuzzyNavigationProps) => {
const [query, setQuery] = useState('')
const inputRef = useRef<HTMLInputElement>(null)
const [loadingDocContent, setLoadingDocContent] = useState<boolean>(false)
const [activeId, setActiveId] = useState<string | null>(null)
const { team } = usePage()
useEffectOnce(() => {
if (inputRef.current != null) {
inputRef.current.focus()
}
})
const keydownHandler = useCallback(
(event: KeyboardEvent) => {
if (event.key.toLowerCase() === 'escape') {
close()
}
},
[close]
)
useGlobalKeyDownHandler(keydownHandler)
const filteredItems = useMemo(() => {
if (query === '') return []
const fuse = new Fuse(allItems, {
keys: [
{ name: 'label', weight: 0.6 },
{ name: 'path', weight: 0.4 },
],
threshold: 0.4,
distance: 80,
includeMatches: true,
})
const results = fuse.search(query)
const items = results.slice(0, 30).map((res) => {
return {
...res.item,
refIndex: res.refIndex,
labelMatches: res.matches?.find((val) => val.key === 'label')?.indices,
pathMatches: res.matches?.find((val) => val.key === 'path')?.indices,
content: res.item.content != null ? res.item.content : undefined,
id: res.item.id,
}
})
return items
}, [allItems, query])
const [showMarkdownPreview, setShowMarkdownPreview] = useState<boolean>(false)
const [markdownPreviewContent, setMarkdownPreviewContent] = useState<
string | null
>(null)
const setMarkdownPreviewForItem = useCallback(
async (item) => {
setLoadingDocContent(false)
setMarkdownPreviewContent(null)
setShowMarkdownPreview(false)
setActiveId(item != null && item.id != null ? item.id : null)
if (item && item.content) {
setMarkdownPreviewContent(item.content)
setShowMarkdownPreview(true)
} else {
if (team == null || item.id == null) {
return
}
setLoadingDocContent(true)
const promise = getDoc(item.id, team.id).then((data) => data.doc)
const doc = await promise
setLoadingDocContent(false)
if (doc != null && doc.head != null && doc.head.content) {
setMarkdownPreviewContent(doc.head.content)
setShowMarkdownPreview(true)
} else {
setMarkdownPreviewContent(null)
setShowMarkdownPreview(false)
}
}
},
[team]
)
return (
<Container className='fuzzy'>
<div className='fuzzy__background' onClick={() => close()} />
<UpDownList className='fuzzy__wrapper'>
<CloseButtonWrapper
onClick={() => setQuery('')}
show={query !== ''}
className='fuzzy__search__reset'
>
<FormInput
id='fuzzy__search__input'
className='fuzzy__search'
placeholder='Search'
value={query}
onChange={(e) => {
setQuery(e.target.value)
}}
/>
</CloseButtonWrapper>
{query === '' ? (
<>
<span className='fuzzy__label'>
{recentItems.length === 0
? `No recently visited items`
: `Recent items`}
</span>
<ResultContainer>
<SearchResults>
<Scroller className={cc(['fuzzy__scroller'])}>
{recentItems.map((item, i) => (
<FuzzyNavigationItem
onMouseEnter={() => setMarkdownPreviewForItem(item)}
item={item}
active={activeId != null && activeId === item.id}
id={`fuzzy-recent-${i}`}
key={`fuzzy-recent-${i}`}
/>
))}
</Scroller>
</SearchResults>
{!loadingDocContent &&
showMarkdownPreview &&
markdownPreviewContent != null && (
<MarkdownPreviewContainer>
<Scroller className={cc(['fuzzy__scroller'])}>
<CustomizedMarkdownPreviewer
content={markdownPreviewContent}
/>
</Scroller>
</MarkdownPreviewContainer>
)}
{loadingDocContent && (
<MarkdownPreviewContainer>
<Spinner variant={'primary'} />
</MarkdownPreviewContainer>
)}
</ResultContainer>
</>
) : (
<>
{filteredItems.length === 0 && (
<span className='fuzzy__label'>No matching results</span>
)}
{filteredItems.length !== 0 && (
<ResultContainer>
<SearchResults>
<Scroller className={cc(['fuzzy__scroller'])}>
{filteredItems.map((item, i) => (
<HighlightedFuzzyNavigationitem
onMouseEnter={() => setMarkdownPreviewForItem(item)}
item={item}
active={activeId != null && activeId === item.id}
id={`fuzzy-filtered-${i}`}
key={`fuzzy-filtered-${i}`}
query={query.trim().toLocaleLowerCase()}
labelMatches={item.labelMatches}
pathMatches={item.pathMatches}
/>
))}
</Scroller>
</SearchResults>
{!loadingDocContent &&
showMarkdownPreview &&
markdownPreviewContent != null && (
<MarkdownPreviewContainer>
<Scroller className={cc(['fuzzy__scroller'])}>
<CustomizedMarkdownPreviewer
content={markdownPreviewContent}
/>
</Scroller>
</MarkdownPreviewContainer>
)}
{loadingDocContent && (
<MarkdownPreviewContainer>
<Spinner variant={'primary'} />
</MarkdownPreviewContainer>
)}
</ResultContainer>
)}
</>
)}
</UpDownList>
</Container>
)
}
const MarkdownPreviewContainer = styled.div`
display: flex;
height: 100%;
max-width: 100%;
overflow-x: hidden;
flex: 1;
z-index: 9999;
`
const SearchResults = styled.div`
min-height: 100%;
flex: 1;
`
const ResultContainer = styled.div`
display: flex;
height: 75%;
max-height: 75%;
`
const Container = styled.div`
.fuzzy__search {
width: 100%;
}
.fuzzy__search__reset {
width: initial;
margin: ${({ theme }) => theme.sizes.spaces.sm}px
${({ theme }) => theme.sizes.spaces.sm}px
${({ theme }) => theme.sizes.spaces.sm}px
${({ theme }) => theme.sizes.spaces.sm}px;
}
.fuzzy__wrapper {
position: fixed;
top: 80px;
left: 50%;
transform: translateX(-50%);
right: 0;
z-index: 9999 !important;
width: 96%;
max-width: 920px;
background: ${({ theme }) => theme.colors.background.primary};
padding-bottom: ${({ theme }) => theme.sizes.spaces.sm}px;
display: flex;
flex-direction: column;
}
.fuzzy__scroller {
width: 100%;
display: flex;
flex-direction: column;
max-height: calc(80vh - 80px);
}
.fuzzy__background {
z-index: 8001;
position: fixed;
height: 100vh;
width: 100vw;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: #000;
opacity: 0.7;
}
.fuzzy__label {
color: ${({ theme }) => theme.colors.text.subtle};
padding: ${({ theme }) => theme.sizes.spaces.xsm}px
${({ theme }) => theme.sizes.spaces.md}px
${({ theme }) => theme.sizes.spaces.xsm}px
${({ theme }) => theme.sizes.spaces.md}px;
}
`
export default FuzzyNavigation
``` | /content/code_sandbox/src/design/components/organisms/FuzzyNavigation/index.tsx | xml | 2016-11-19T14:30:34 | 2024-08-16T03:13:45 | BoostNote-App | BoostIO/BoostNote-App | 3,745 | 2,021 |
```xml
import { Rule, RuleType } from "../../../types/rules";
import { ExtensionRule } from "../types";
import parseCancelRule from "./parseCancelRule";
import parseDelayRule from "./parseDelayRule";
import parseHeadersRule from "./parseHeadersRule";
import parseQueryParamRule from "./parseQueryParamRule";
import parseRedirectRule from "./parseRedirectRule";
import parseReplaceRule from "./parseReplaceRule";
import parseScriptRule from "./parseScriptRule";
import parseUserAgentRule from "./parseUserAgentRule";
type DNRRuleParser = (rule: Rule) => ExtensionRule[];
const parsers: { [key in RuleType]?: DNRRuleParser } = {
[RuleType.REDIRECT]: parseRedirectRule,
[RuleType.CANCEL]: parseCancelRule,
[RuleType.QUERYPARAM]: parseQueryParamRule,
[RuleType.HEADERS]: parseHeadersRule,
[RuleType.USERAGENT]: parseUserAgentRule,
[RuleType.DELAY]: parseDelayRule,
[RuleType.REPLACE]: parseReplaceRule,
[RuleType.SCRIPT]: parseScriptRule,
};
export const parseDNRRules: DNRRuleParser = (rule) => {
return parsers[rule.ruleType]?.(rule);
};
``` | /content/code_sandbox/app/src/modules/extension/mv3RuleParser/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 261 |
```xml
import {Configuration} from "@tsed/di";
import "@tsed/platform-express";
import "@tsed/swagger"; // import swagger Ts.ED module
@Configuration({
swagger: [
{
path: "/v3/docs",
specVersion: "3.0.1"
}
]
})
export class Server {}
``` | /content/code_sandbox/docs/tutorials/snippets/swagger/configuration.ts | xml | 2016-02-21T18:38:47 | 2024-08-14T21:19:48 | tsed | tsedio/tsed | 2,817 | 70 |
```xml
import { PrimaryGeneratedColumn } from "../../../../src/decorator/columns/PrimaryGeneratedColumn"
import { Entity } from "../../../../src/decorator/entity/Entity"
import { Column } from "../../../../src/decorator/columns/Column"
import { JoinColumn } from "../../../../src/decorator/relations/JoinColumn"
import { JoinTable } from "../../../../src/decorator/relations/JoinTable"
import { ManyToOne } from "../../../../src/decorator/relations/ManyToOne"
import { ManyToMany } from "../../../../src/decorator/relations/ManyToMany"
import { OneToOne } from "../../../../src/decorator/relations/OneToOne"
import { ActionDetails } from "./ActionDetails"
import { Address } from "./Address"
import { Person } from "./Person"
@Entity()
export class ActionLog {
@PrimaryGeneratedColumn()
id: number
@Column()
date: Date
@Column()
action: string
@ManyToOne((type) => Person, {
createForeignKeyConstraints: false,
})
person: Person
@ManyToMany((type) => Address, {
createForeignKeyConstraints: false,
})
@JoinTable()
addresses: Address[]
@OneToOne((type) => ActionDetails, {
createForeignKeyConstraints: false,
})
@JoinColumn()
actionDetails: ActionDetails
}
``` | /content/code_sandbox/test/github-issues/3120/entity/ActionLog.ts | xml | 2016-02-29T07:41:14 | 2024-08-16T18:28:52 | typeorm | typeorm/typeorm | 33,875 | 282 |
```xml
import * as React from 'react';
import type { Meta } from '@storybook/react';
import { Steps } from 'storywright';
import { SearchBox } from '@fluentui/react-search';
import { withStoryWrightSteps, TestWrapperDecorator } from '../../utilities';
export default {
title: 'SearchBox Converged',
decorators: [
TestWrapperDecorator,
story =>
withStoryWrightSteps({
story,
steps: new Steps()
.snapshot('default', { cropTo: '.testWrapper' })
.keys('input', 'Tab')
.wait(250) // let focus border animation finish
.snapshot('input focused', { cropTo: '.testWrapper' })
.focus('[role=button]')
.snapshot('dismiss focused', { cropTo: '.testWrapper' })
.click('[role=button]')
.snapshot('dismiss clicked', { cropTo: '.testWrapper' })
.end(),
}),
],
} satisfies Meta<typeof SearchBox>;
export const ClearsValue = () => <SearchBox defaultValue="Value!" />;
ClearsValue.storyName = 'Clears value';
``` | /content/code_sandbox/apps/vr-tests-react-components/src/stories/SearchBox/SearchBoxClearsValue.stories.tsx | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 240 |
```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.
-->
<LinearLayout
xmlns:android="path_to_url"
xmlns:app="path_to_url"
xmlns:tools="path_to_url"
android:id="@+id/activity_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
tools:context=".more.MoreApisPlayground">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
tools:ignore="ButtonStyle">
<Button
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onAdd"
android:text="@string/add"/>
<Button
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onRemove"
android:text="@string/remove"/>
<Button
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:onClick="onClear"
android:text="@string/clear"/>
</LinearLayout>
<ScrollView
android:layout_width="match_parent"
android:layout_height="128dp"
android:padding="16dp"
android:background="@android:color/black"
android:clipToPadding="false">
<TextView
android:id="@+id/terminal"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#8CF22F"
tools:text="terminal"/>
</ScrollView>
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/list"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1"
android:descendantFocusability="blocksDescendants"
app:layoutManager="LinearLayoutManager"/>
</LinearLayout>
``` | /content/code_sandbox/sample/src/main/res/layout/activity_more_apis_playground.xml | xml | 2016-08-03T12:55:32 | 2024-08-14T11:54:29 | MultiType | drakeet/MultiType | 5,762 | 482 |
```xml
// Use of this source code is governed by the license that can be found in the
// LICENSE file.
#include "nativeui/menu_item.h"
#import <Cocoa/Cocoa.h>
#include "base/strings/sys_string_conversions.h"
#include "nativeui/gfx/image.h"
#include "nativeui/menu.h"
@interface NUMenuItemDelegate : NSObject {
@private
nu::MenuItem* shell_;
}
- (id)initWithShell:(nu::MenuItem*)shell;
- (IBAction)onClick:(id)sender;
@end
@implementation NUMenuItemDelegate
- (id)initWithShell:(nu::MenuItem*)shell {
if ((self = [super init]))
shell_ = shell;
return self;
}
- (IBAction)onClick:(id)sender {
shell_->EmitClick();
}
- (BOOL)validateUserInterfaceItem:(id<NSValidatedUserInterfaceItem>)item {
if (shell_->validate)
return shell_->validate(shell_);
return shell_->IsEnabled();
}
@end
namespace nu {
namespace {
// Mapping roles to selectors.
SEL g_sels_map[] = {
@selector(copy:),
@selector(cut:),
@selector(paste:),
@selector(selectAll:),
@selector(undo:),
@selector(redo:),
@selector(performMiniaturize:),
@selector(performZoom:),
@selector(performClose:),
@selector(about:),
@selector(hide:),
@selector(hideOtherApplications:),
@selector(unhideAllApplications:),
};
static_assert(
std::size(g_sels_map) == static_cast<size_t>(MenuItem::Role::ItemCount),
"g_sels_map should be updated with roles");
} // namespace
void MenuItem::Click() {
[NSApp sendAction:menu_item_.action to:menu_item_.target from:menu_item_];
}
void MenuItem::SetLabel(const std::string& label) {
menu_item_.title = base::SysUTF8ToNSString(label);
if (menu_item_.submenu)
menu_item_.submenu.title = menu_item_.title;
}
std::string MenuItem::GetLabel() const {
return base::SysNSStringToUTF8(menu_item_.title);
}
void MenuItem::SetChecked(bool checked) {
menu_item_.state = checked ? NSControlStateValueOn : NSControlStateValueOff;
if (checked && type_ == nu::MenuItem::Type::Radio && menu_)
FlipRadioMenuItems(menu_, this);
}
bool MenuItem::IsChecked() const {
return menu_item_.state == NSControlStateValueOn;
}
void MenuItem::SetEnabled(bool enabled) {
menu_item_.enabled = enabled;
}
bool MenuItem::IsEnabled() const {
return menu_item_.enabled;
}
void MenuItem::SetVisible(bool visible) {
menu_item_.hidden = !visible;
}
bool MenuItem::IsVisible() const {
return !menu_item_.hidden;
}
void MenuItem::PlatformInit() {
if (type_ == Type::Separator)
menu_item_ = [[NSMenuItem separatorItem] retain];
else
menu_item_ = [[NSMenuItem alloc] init];
if (role_ < Role::ItemCount) {
menu_item_.title = @""; // explicitly set "" to override default title
menu_item_.target = nil;
menu_item_.action = g_sels_map[static_cast<int>(role_)];
} else if (role_ == Role::None) {
menu_item_.target = [[NUMenuItemDelegate alloc] initWithShell:this];
menu_item_.action = @selector(onClick:);
}
}
void MenuItem::PlatformDestroy() {
// Some Cocoa APIs like [NSApp setWindowsMenu] will set a target for this
// menu item, so we must only release when we are sure the targe is created
// by us.
if (role_ == Role::None)
[menu_item_.target release];
[menu_item_ release];
}
void MenuItem::PlatformSetSubmenu(Menu* submenu) {
menu_item_.submenu = submenu->GetNative();
menu_item_.submenu.title = menu_item_.title;
switch (role_) {
case Role::Help: [NSApp setHelpMenu:menu_item_.submenu]; break;
case Role::Window: [NSApp setWindowsMenu:menu_item_.submenu]; break;
case Role::Services: [NSApp setServicesMenu:menu_item_.submenu]; break;
default: break;
}
}
void MenuItem::PlatformSetImage(Image* image) {
menu_item_.image = image->GetNative();
}
} // namespace nu
``` | /content/code_sandbox/nativeui/mac/menu_item_mac.mm | xml | 2016-08-07T07:53:56 | 2024-08-16T06:07:30 | yue | yue/yue | 3,415 | 982 |
```xml
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ 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.
-->
<dataset>
<metadata>
<column name="schemaname"/>
<column name="tablename"/>
<column name="policyname"/>
<column name="policypermissive"/>
<column name="policyroles"/>
<column name="policycmd"/>
<column name="policyqual"/>
</metadata>
</dataset>
``` | /content/code_sandbox/test/e2e/sql/src/test/resources/cases/dql/dataset/empty_storage_units/opengauss/select_opengauss_pg_catalog_pg_rlspolicies.xml | xml | 2016-01-18T12:49:26 | 2024-08-16T15:48:11 | shardingsphere | apache/shardingsphere | 19,707 | 143 |
```xml
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/.pub" />
<excludeFolder url="file://$MODULE_DIR$/build" />
</content>
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>
``` | /content/code_sandbox/packages/graphql/example_star_wars/example_star_wars.iml | xml | 2016-02-28T12:11:51 | 2024-07-05T13:18:46 | angel | angel-dart/angel | 1,061 | 172 |
```xml
export const isWasmSupported = () => {
try {
if (typeof WebAssembly === 'object' && typeof WebAssembly.instantiate === 'function') {
const module = new WebAssembly.Module(Uint8Array.of(0x0, 0x61, 0x73, 0x6d, 0x01, 0x00, 0x00, 0x00));
if (module instanceof WebAssembly.Module) {
return new WebAssembly.Instance(module) instanceof WebAssembly.Instance;
}
}
} catch (e) {}
return false;
};
``` | /content/code_sandbox/packages/wallet/utils/wasm.ts | xml | 2016-06-08T11:16:51 | 2024-08-16T14:14:27 | WebClients | ProtonMail/WebClients | 4,300 | 128 |
```xml
import { ComponentSlotStylesPrepared, ICSSInJSStyle } from '@fluentui/styles';
import { DropdownSearchInputStylesProps } from '../../../../components/Dropdown/DropdownSearchInput';
import { DropdownVariables } from './dropdownVariables';
export const dropdownSearchInputStyles: ComponentSlotStylesPrepared<DropdownSearchInputStylesProps, DropdownVariables> =
{
root: ({ variables: v }): ICSSInJSStyle => ({
flexBasis: v.comboboxFlexBasis,
flexGrow: 1,
}),
input: ({ props: p }): ICSSInJSStyle => ({
width: '100%',
backgroundColor: 'transparent',
borderWidth: 0,
...(p.inline && {
padding: 0,
lineHeight: 'initial',
}),
}),
};
``` | /content/code_sandbox/packages/fluentui/react-northstar/src/themes/teams/components/Dropdown/dropdownSearchInputStyles.ts | xml | 2016-06-06T15:03:44 | 2024-08-16T18:49:29 | fluentui | microsoft/fluentui | 18,221 | 168 |
```xml
// Patch a document with patches
import * as fs from "fs";
import {
ExternalHyperlink,
HeadingLevel,
ImageRun,
Paragraph,
patchDocument,
PatchType,
Table,
TableCell,
TableRow,
TextDirection,
TextRun,
VerticalAlign,
} from "docx";
patchDocument({
outputType: "nodebuffer",
data: fs.readFileSync("demo/assets/simple-template.docx"),
patches: {
name: {
type: PatchType.PARAGRAPH,
children: [new TextRun("Sir. "), new TextRun("John Doe"), new TextRun("(The Conqueror)")],
},
table_heading_1: {
type: PatchType.PARAGRAPH,
children: [new TextRun("Heading wow!")],
},
item_1: {
type: PatchType.PARAGRAPH,
children: [
new TextRun("#657"),
new ExternalHyperlink({
children: [
new TextRun({
text: "BBC News Link",
}),
],
link: "path_to_url",
}),
],
},
paragraph_replace: {
type: PatchType.DOCUMENT,
children: [
new Paragraph("Lorem ipsum paragraph"),
new Paragraph("Another paragraph"),
new Paragraph({
children: [
new TextRun("This is a "),
new ExternalHyperlink({
children: [
new TextRun({
text: "Google Link",
}),
],
link: "path_to_url",
}),
new ImageRun({
type: "png",
data: fs.readFileSync("./demo/images/dog.png"),
transformation: { width: 100, height: 100 },
}),
],
}),
],
},
header_adjective: {
type: PatchType.PARAGRAPH,
children: [new TextRun("Delightful Header")],
},
footer_text: {
type: PatchType.PARAGRAPH,
children: [
new TextRun("replaced just as"),
new TextRun(" well"),
new ExternalHyperlink({
children: [
new TextRun({
text: "BBC News Link",
}),
],
link: "path_to_url",
}),
],
},
image_test: {
type: PatchType.PARAGRAPH,
children: [
new ImageRun({
type: "jpg",
data: fs.readFileSync("./demo/images/image1.jpeg"),
transformation: { width: 100, height: 100 },
}),
],
},
table: {
type: PatchType.DOCUMENT,
children: [
new Table({
rows: [
new TableRow({
children: [
new TableCell({
children: [new Paragraph({}), new Paragraph({})],
verticalAlign: VerticalAlign.CENTER,
}),
new TableCell({
children: [new Paragraph({}), new Paragraph({})],
verticalAlign: VerticalAlign.CENTER,
}),
new TableCell({
children: [new Paragraph({ text: "bottom to top" }), new Paragraph({})],
textDirection: TextDirection.BOTTOM_TO_TOP_LEFT_TO_RIGHT,
}),
new TableCell({
children: [new Paragraph({ text: "top to bottom" }), new Paragraph({})],
textDirection: TextDirection.TOP_TO_BOTTOM_RIGHT_TO_LEFT,
}),
],
}),
new TableRow({
children: [
new TableCell({
children: [
new Paragraph({
text: "Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah Blah",
heading: HeadingLevel.HEADING_1,
}),
],
}),
new TableCell({
children: [
new Paragraph({
text: "This text should be in the middle of the cell",
}),
],
verticalAlign: VerticalAlign.CENTER,
}),
new TableCell({
children: [
new Paragraph({
text: "Text above should be vertical from bottom to top",
}),
],
verticalAlign: VerticalAlign.CENTER,
}),
new TableCell({
children: [
new Paragraph({
text: "Text above should be vertical from top to bottom",
}),
],
verticalAlign: VerticalAlign.CENTER,
}),
],
}),
],
}),
],
},
},
}).then((doc) => {
fs.writeFileSync("My Document.docx", doc);
});
``` | /content/code_sandbox/demo/85-template-document.ts | xml | 2016-03-26T23:43:56 | 2024-08-16T13:02:47 | docx | dolanmiu/docx | 4,139 | 956 |
```xml
import * as path from 'path';
import type { ServerResponse } from 'http';
import * as fs from 'fs';
import type { ExpressRequestHandler } from 'webpack-dev-server';
import { getCompilerConfig } from './constants.js';
import { parseManifest, rewriteAppWorker, getAppWorkerUrl, getMultipleManifest, type ParseOptions } from './manifestHelpers.js';
import { getAppWorkerContent, type Options } from './generateManifest.js';
import type { Manifest } from './types.js';
function sendResponse(res: ServerResponse, content: string, mime: string): void {
res.statusCode = 200;
res.setHeader('Content-Type', `${mime}; charset=utf-8`);
res.end(content);
}
const createPHAMiddleware = ({
rootDir,
outputDir,
parseOptions,
getAllPlugin,
getAppConfig,
getRoutesConfig,
getDataloaderConfig,
compiler,
logger,
}: Options): ExpressRequestHandler => {
const phaMiddleware: ExpressRequestHandler = async (req, res, next) => {
// @ts-ignore
const requestPath = path.basename(req._parsedUrl.pathname);
const requestManifest = requestPath.endsWith('manifest.json');
const requestAppWorker = req.url === '/app-worker.js';
if (requestManifest || requestAppWorker) {
const [appConfig, routesConfig] = await Promise.all([getAppConfig(['phaManifest']), getRoutesConfig()]);
let dataloaderConfig;
try {
// dataLoader may have side effect code.
dataloaderConfig = await getDataloaderConfig();
} catch (err) {
logger.briefError('GetDataloaderConfig failed.');
logger.debug(err);
}
let manifest: Manifest = appConfig.phaManifest;
const appWorkerPath = getAppWorkerUrl(manifest, path.join(rootDir, 'src'));
if (appWorkerPath) {
// over rewrite appWorker.url to app-worker.js
manifest = rewriteAppWorker(manifest);
if (requestAppWorker) {
const entry = path.join(rootDir, './.ice/appWorker.ts');
sendResponse(
res,
await getAppWorkerContent(compiler, {
entry: fs.existsSync(entry) ? entry : appWorkerPath,
outfile: path.join(outputDir, 'app-worker.js'),
}, getCompilerConfig({
getAllPlugin,
})),
'text/javascript',
);
return;
}
}
const phaManifest = await parseManifest(manifest, {
...parseOptions,
routesConfig,
dataloaderConfig,
} as ParseOptions);
if (!phaManifest?.tab_bar) {
const multipleManifest = getMultipleManifest(phaManifest);
const manifestKey = requestPath.replace('-manifest.json', '').replace(/^\//, '');
if (multipleManifest[manifestKey]) {
sendResponse(res, JSON.stringify(multipleManifest[manifestKey]), 'application/json');
return;
}
} else if (requestPath === 'manifest.json') {
sendResponse(res, JSON.stringify(phaManifest), 'application/json');
return;
}
}
next();
};
return phaMiddleware;
};
export default createPHAMiddleware;
``` | /content/code_sandbox/packages/plugin-pha/src/phaMiddleware.ts | xml | 2016-11-03T06:59:15 | 2024-08-16T10:11:29 | ice | alibaba/ice | 17,815 | 673 |
```xml
import '../../common/extensions';
import { Disposable, LanguageClient, LanguageClientOptions } from 'vscode-languageclient/node';
import { ChildProcess } from 'child_process';
import { Resource } from '../../common/types';
import { PythonEnvironment } from '../../pythonEnvironments/info';
import { captureTelemetry } from '../../telemetry';
import { EventName } from '../../telemetry/constants';
import { JediLanguageClientMiddleware } from './languageClientMiddleware';
import { ProgressReporting } from '../progress';
import { ILanguageClientFactory, ILanguageServerProxy } from '../types';
import { killPid } from '../../common/process/rawProcessApis';
import { traceDecoratorError, traceDecoratorVerbose, traceError } from '../../logging';
export class JediLanguageServerProxy implements ILanguageServerProxy {
private languageClient: LanguageClient | undefined;
private readonly disposables: Disposable[] = [];
private lsVersion: string | undefined;
constructor(private readonly factory: ILanguageClientFactory) {}
private static versionTelemetryProps(instance: JediLanguageServerProxy) {
return {
lsVersion: instance.lsVersion,
};
}
@traceDecoratorVerbose('Disposing language server')
public dispose(): void {
this.stop().ignoreErrors();
}
@traceDecoratorError('Failed to start language server')
@captureTelemetry(
EventName.JEDI_LANGUAGE_SERVER_ENABLED,
undefined,
true,
undefined,
JediLanguageServerProxy.versionTelemetryProps,
)
public async start(
resource: Resource,
interpreter: PythonEnvironment | undefined,
options: LanguageClientOptions,
): Promise<void> {
this.lsVersion =
(options.middleware ? (<JediLanguageClientMiddleware>options.middleware).serverVersion : undefined) ??
'0.19.3';
try {
const client = await this.factory.createLanguageClient(resource, interpreter, options);
this.registerHandlers(client);
await client.start();
this.languageClient = client;
} catch (ex) {
traceError('Failed to start language server:', ex);
throw new Error('Launching Jedi language server using python failed, see output.');
}
}
@traceDecoratorVerbose('Stopping language server')
public async stop(): Promise<void> {
while (this.disposables.length > 0) {
const d = this.disposables.shift()!;
d.dispose();
}
if (this.languageClient) {
const client = this.languageClient;
this.languageClient = undefined;
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const pid: number | undefined = ((client as any)._serverProcess as ChildProcess)?.pid;
const killServer = () => {
if (pid) {
killPid(pid);
}
};
try {
await client.stop();
await client.dispose();
killServer();
} catch (ex) {
traceError('Stopping language client failed', ex);
killServer();
}
}
}
// eslint-disable-next-line class-methods-use-this
public loadExtension(): void {
// No body.
}
@captureTelemetry(
EventName.JEDI_LANGUAGE_SERVER_READY,
undefined,
true,
undefined,
JediLanguageServerProxy.versionTelemetryProps,
)
private registerHandlers(client: LanguageClient) {
const progressReporting = new ProgressReporting(client);
this.disposables.push(progressReporting);
}
}
``` | /content/code_sandbox/src/client/activation/jedi/languageServerProxy.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 712 |
```xml
import { z } from 'zod';
import * as trpc from '@trpc/server';
import { TRPCError } from '@trpc/server';
import {
addToProfileResponseMapper,
getUserProfileResponseMapper,
} from '~/mappers/offers-mappers';
import { createProtectedRouter } from '../context';
export const offersUserProfileRouter = createProtectedRouter()
.mutation('addToUserProfile', {
input: z.object({
profileId: z.string(),
token: z.string(),
}),
async resolve({ ctx, input }) {
const profile = await ctx.prisma.offersProfile.findFirst({
where: {
id: input.profileId,
},
});
const profileEditToken = profile?.editToken;
if (profileEditToken === input.token) {
const userId = ctx.session.user.id;
const updated = await ctx.prisma.offersProfile.update({
data: {
users: {
connect: {
id: userId,
},
},
},
where: {
id: input.profileId,
},
});
return addToProfileResponseMapper(updated);
}
throw new trpc.TRPCError({
code: 'UNAUTHORIZED',
message: 'Invalid token.',
});
},
})
.query('getUserProfiles', {
async resolve({ ctx }) {
const userId = ctx.session.user.id;
const result = await ctx.prisma.user.findFirst({
include: {
OffersProfile: {
include: {
offers: {
include: {
company: true,
location: {
include: {
state: {
include: {
country: true,
},
},
},
},
offersFullTime: {
include: {
totalCompensation: true,
},
},
offersIntern: {
include: {
monthlySalary: true,
},
},
},
},
},
},
},
where: {
id: userId,
},
});
return getUserProfileResponseMapper(result);
},
})
.mutation('removeFromUserProfile', {
input: z.object({
profileId: z.string(),
}),
async resolve({ ctx, input }) {
const userId = ctx.session.user.id;
const profiles = await ctx.prisma.user.findFirst({
include: {
OffersProfile: true,
},
where: {
id: userId,
},
});
// Validation
let doesProfileExist = false;
if (profiles?.OffersProfile) {
for (let i = 0; i < profiles.OffersProfile.length; i++) {
if (profiles.OffersProfile[i].id === input.profileId) {
doesProfileExist = true;
}
}
}
if (!doesProfileExist) {
throw new TRPCError({
code: 'NOT_FOUND',
message: 'No such profile id saved.',
});
}
await ctx.prisma.user.update({
data: {
OffersProfile: {
disconnect: [
{
id: input.profileId,
},
],
},
},
where: {
id: userId,
},
});
},
});
``` | /content/code_sandbox/apps/portal/src/server/router/offers/offers-user-profile-router.ts | xml | 2016-07-05T05:00:48 | 2024-08-16T19:01:19 | tech-interview-handbook | yangshun/tech-interview-handbook | 115,302 | 676 |
```xml
<?xml version="1.0" encoding="utf-8"?>
<manifest package="com.qslll.expandingpager"
xmlns:android="path_to_url">
<application
android:allowBackup="true"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:supportsRtl="true"
android:theme="@style/AppTheme">
<activity
android:name=".MainActivity"
android:theme="@style/Theme.AppCompat.Light.NoActionBar.FullScreen">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
<activity
android:name=".InfoActivity"
android:screenOrientation="portrait"/>
</application>
</manifest>
``` | /content/code_sandbox/app/src/main/AndroidManifest.xml | xml | 2016-06-19T21:03:06 | 2024-08-14T02:53:52 | ExpandingPager | qs-lll/ExpandingPager | 1,899 | 177 |
```xml
// Styles
import './VGrid.sass'
// Composables
import { makeComponentProps } from '@/composables/component'
import { breakpoints } from '@/composables/display'
import { makeTagProps } from '@/composables/tag'
// Utilities
import { capitalize, computed, h } from 'vue'
import { genericComponent, propsFactory } from '@/util'
// Types
import type { Prop, PropType } from 'vue'
import type { Breakpoint } from '@/composables/display'
const ALIGNMENT = ['start', 'end', 'center'] as const
type BreakpointAlign = `align${Capitalize<Breakpoint>}`
type BreakpointJustify = `justify${Capitalize<Breakpoint>}`
type BreakpointAlignContent = `alignContent${Capitalize<Breakpoint>}`
const SPACE = ['space-between', 'space-around', 'space-evenly'] as const
function makeRowProps <
Name extends BreakpointAlign | BreakpointJustify | BreakpointAlignContent,
Type,
> (prefix: string, def: () => Prop<Type, null>) {
return breakpoints.reduce((props, val) => {
const prefixKey = prefix + capitalize(val) as Name
props[prefixKey] = def()
return props
}, {} as Record<Name, Prop<Type, null>>)
}
const ALIGN_VALUES = [...ALIGNMENT, 'baseline', 'stretch'] as const
type AlignValue = typeof ALIGN_VALUES[number]
const alignValidator = (str: any) => ALIGN_VALUES.includes(str)
const alignProps = makeRowProps<BreakpointAlign, AlignValue>('align', () => ({
type: String as PropType<AlignValue>,
default: null,
validator: alignValidator,
}))
const JUSTIFY_VALUES = [...ALIGNMENT, ...SPACE] as const
type JustifyValue = typeof JUSTIFY_VALUES[number]
const justifyValidator = (str: any) => JUSTIFY_VALUES.includes(str)
const justifyProps = makeRowProps<BreakpointJustify, JustifyValue>('justify', () => ({
type: String as PropType<JustifyValue>,
default: null,
validator: justifyValidator,
}))
const ALIGN_CONTENT_VALUES = [...ALIGNMENT, ...SPACE, 'stretch'] as const
type AlignContentValue = typeof ALIGN_CONTENT_VALUES[number]
const alignContentValidator = (str: any) => ALIGN_CONTENT_VALUES.includes(str)
const alignContentProps = makeRowProps<BreakpointAlignContent, AlignContentValue>('alignContent', () => ({
type: String as PropType<AlignContentValue>,
default: null,
validator: alignContentValidator,
}))
const propMap = {
align: Object.keys(alignProps),
justify: Object.keys(justifyProps),
alignContent: Object.keys(alignContentProps),
}
const classMap = {
align: 'align',
justify: 'justify',
alignContent: 'align-content',
}
function breakpointClass (type: keyof typeof propMap, prop: string, val: string) {
let className = classMap[type]
if (val == null) {
return undefined
}
if (prop) {
// alignSm -> Sm
const breakpoint = prop.replace(type, '')
className += `-${breakpoint}`
}
// .align-items-sm-center
className += `-${val}`
return className.toLowerCase()
}
export const makeVRowProps = propsFactory({
dense: Boolean,
noGutters: Boolean,
align: {
type: String as PropType<typeof ALIGN_VALUES[number]>,
default: null,
validator: alignValidator,
},
...alignProps,
justify: {
type: String as PropType<typeof ALIGN_CONTENT_VALUES[number]>,
default: null,
validator: justifyValidator,
},
...justifyProps,
alignContent: {
type: String as PropType<typeof ALIGN_CONTENT_VALUES[number]>,
default: null,
validator: alignContentValidator,
},
...alignContentProps,
...makeComponentProps(),
...makeTagProps(),
}, 'VRow')
export const VRow = genericComponent()({
name: 'VRow',
props: makeVRowProps(),
setup (props, { slots }) {
const classes = computed(() => {
const classList: any[] = []
// Loop through `align`, `justify`, `alignContent` breakpoint props
let type: keyof typeof propMap
for (type in propMap) {
propMap[type].forEach(prop => {
const value: string = (props as any)[prop]
const className = breakpointClass(type, prop, value)
if (className) classList!.push(className)
})
}
classList.push({
'v-row--no-gutters': props.noGutters,
'v-row--dense': props.dense,
[`align-${props.align}`]: props.align,
[`justify-${props.justify}`]: props.justify,
[`align-content-${props.alignContent}`]: props.alignContent,
})
return classList
})
return () => h(props.tag, {
class: [
'v-row',
classes.value,
props.class,
],
style: props.style,
}, slots.default?.())
},
})
export type VRow = InstanceType<typeof VRow>
``` | /content/code_sandbox/packages/vuetify/src/components/VGrid/VRow.ts | xml | 2016-09-12T00:39:35 | 2024-08-16T20:06:39 | vuetify | vuetifyjs/vuetify | 39,539 | 1,117 |
```xml
import { default as category } from './categories'
import { isLLCall, isLLDelegatecall, isLLCallcode, isLLCall04, isLLDelegatecall04, isLLSend04, isLLSend, lowLevelCallTypes, getCompilerVersion } from './staticAnalysisCommon'
import { default as algorithm } from './algorithmCategories'
import { AnalyzerModule, ModuleAlgorithm, ModuleCategory, ReportObj, CompilationResult, MemberAccessAstNode, SupportedVersion} from './../../types'
interface llcNode {
node: MemberAccessAstNode
type: Record<string, string>
}
export default class lowLevelCalls implements AnalyzerModule {
llcNodes: llcNode[] = []
name: string = `Low level calls: `
description: string = `Should only be used by experienced devs`
category: ModuleCategory = category.SECURITY
algorithm: ModuleAlgorithm = algorithm.EXACT
version: SupportedVersion = {
start: '0.4.12'
}
visit (node : MemberAccessAstNode): void {
if (isLLCall(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.CALL})
} else if (isLLDelegatecall(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.DELEGATECALL})
} else if (isLLSend(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.SEND})
} else if (isLLDelegatecall04(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.DELEGATECALL})
} else if (isLLSend04(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.SEND})
} else if (isLLCall04(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.CALL})
} else if (isLLCallcode(node)) {
this.llcNodes.push({node: node, type: lowLevelCallTypes.CALLCODE})
}
}
report (compilationResults: CompilationResult): ReportObj[] {
const version = getCompilerVersion(compilationResults.contracts)
return this.llcNodes.map((item, i) => {
let text: string = ''
let morehref: string = ''
switch (item.type) {
case lowLevelCallTypes.CALL:
text = `Use of "call": should be avoided whenever possible.
It can lead to unexpected behavior if return value is not handled properly.
Please use Direct Calls via specifying the called contract's interface.`
morehref = `path_to_url{version}/control-structures.html?#external-function-calls`
break
case lowLevelCallTypes.CALLCODE:
text = `Use of "callcode": should be avoided whenever possible.
External code, that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wanted behaviour, use the Solidity library feature if possible.`
morehref = `path_to_url{version}/contracts.html#libraries`
break
case lowLevelCallTypes.DELEGATECALL:
text = `Use of "delegatecall": should be avoided whenever possible.
External code, that is called can change the state of the calling contract and send ether from the caller's balance.
If this is wanted behaviour, use the Solidity library feature if possible.`
morehref = `path_to_url{version}/contracts.html#libraries`
break
case lowLevelCallTypes.SEND:
text = `Use of "send": "send" does not throw an exception when not successful, make sure you deal with the failure case accordingly.
Use "transfer" whenever failure of the ether transfer should rollback the whole transaction.
Note: if you "send/transfer" ether to a contract the fallback function is called, the callees fallback function is very limited due to the limited amount of gas provided by "send/transfer".
No state changes are possible but the callee can log the event or revert the transfer. "send/transfer" is syntactic sugar for a "call" to the fallback function with 2300 gas and a specified ether value.`
morehref = `path_to_url{version}/security-considerations.html#sending-and-receiving-ether`
break
}
return { warning: text, more: morehref, location: item.node.src }
})
}
}
``` | /content/code_sandbox/remix-analyzer/src/solidity-analyzer/modules/lowLevelCalls.ts | xml | 2016-04-11T09:05:03 | 2024-08-12T19:22:17 | remix | ethereum/remix | 1,177 | 973 |
```xml
import { EXTENSION_MESSAGES } from "common/constants";
import { isExtensionEnabled } from "../../utils";
import { initMessageHandler } from "./messageHandler";
import { initSessionRecording } from "../common/sessionRecorder";
import { initExtensionMessageListener } from "../common/extensionMessageListener";
document.documentElement.setAttribute("rq-ext-version", chrome.runtime.getManifest()["version"]);
// manifest version
document.documentElement.setAttribute("rq-ext-mv", "3");
// extension id
document.documentElement.setAttribute("rq-ext-id", chrome.runtime.id);
initMessageHandler();
initExtensionMessageListener();
isExtensionEnabled().then((isExtensionStatusEnabled) => {
if (isExtensionStatusEnabled) {
chrome.runtime.sendMessage({ action: EXTENSION_MESSAGES.HANDSHAKE_CLIENT });
initSessionRecording();
}
});
``` | /content/code_sandbox/browser-extension/mv3/src/content-scripts/app/index.ts | xml | 2016-12-01T04:36:06 | 2024-08-16T19:12:19 | requestly | requestly/requestly | 2,121 | 162 |
```xml
/* eslint-disable @typescript-eslint/no-empty-function */
import React from "react"
import SagaTaskCompleteCommand from "./Stateless"
export default {
title: "Timeline Commands/Saga Task Complete Command",
}
const sagaTaskCompleteCommand = {
clientId: "",
connectionId: 0,
deltaTime: 0,
important: false,
messageId: 0,
type: "",
payload: {
children: [
{
depth: 0,
description: "DUMMY1",
duration: 1,
effectId: 5,
extra: { type: "DUMMY1" },
name: "PUT",
parentEffectId: 4,
result: { type: "DUMMY1" },
status: "RESOLVED",
winner: null,
loser: null,
},
{
depth: 1,
description: "DUMMY1",
duration: 1,
effectId: 5,
extra: { type: "DUMMY1" },
name: "PUT",
parentEffectId: 4,
result: { type: "DUMMY1" },
status: "RESOLVED",
winner: null,
loser: null,
},
{
depth: 1,
description: "DUMMY1",
duration: 1,
effectId: 5,
extra: { type: "DUMMY1" },
name: "PUT",
parentEffectId: 4,
result: { type: "DUMMY1" },
status: "CANCELLED",
winner: null,
loser: null,
},
],
description: undefined,
duration: 2,
triggerType: "DUMMY2",
},
date: new Date("2019-01-01T10:12:23.435"),
}
export const Closed = () => (
<SagaTaskCompleteCommand
command={sagaTaskCompleteCommand}
isOpen={false}
setIsOpen={() => {}}
isDetailsOpen={false}
setIsDetailsOpen={() => {}}
/>
)
export const Open = () => (
<SagaTaskCompleteCommand
command={sagaTaskCompleteCommand}
isOpen
setIsOpen={() => {}}
isDetailsOpen={false}
setIsDetailsOpen={() => {}}
/>
)
export const DetailsOpen = () => (
<SagaTaskCompleteCommand
command={sagaTaskCompleteCommand}
isOpen
setIsOpen={() => {}}
isDetailsOpen
setIsDetailsOpen={() => {}}
/>
)
``` | /content/code_sandbox/lib/reactotron-core-ui/src/timelineCommands/SagaTaskCompleteCommand/SagaTaskCompleteCommand.story.tsx | xml | 2016-04-15T21:58:32 | 2024-08-16T11:39:46 | reactotron | infinitered/reactotron | 14,757 | 550 |
```xml
import { InterfaceDeclaration } from '../integration/definition'
import z from '../zui'
const baseItem = z.object({ id: z.string() })
const withId = (schema: z.ZodTypeAny) => z.intersection(schema, baseItem)
const capitalize = (s: string) => s[0]!.toUpperCase() + s.slice(1)
const camelCase = (...parts: string[]) => {
const [first, ...rest] = parts.filter((s) => s.length > 0).map((s) => s.toLowerCase())
if (!first) {
return ''
}
return [first, ...rest.map(capitalize)].join('')
}
const nextToken = z.string().optional()
export const listable = new InterfaceDeclaration({
name: 'listable',
version: '0.0.1',
entities: {
item: {
schema: baseItem,
},
},
events: {},
actions: {
list: {
input: {
schema: () => z.object({ nextToken }),
},
output: {
schema: (args) =>
z.object({
items: z.array(withId(args.item)),
meta: z.object({ nextToken }),
}),
},
},
},
templateName: (name, props) => camelCase(props.item, name), // issueList
})
export const creatable = new InterfaceDeclaration({
name: 'creatable',
version: '0.0.1',
entities: {
item: {
schema: baseItem,
},
},
events: {
created: {
schema: (args) =>
z.object({
item: withId(args.item),
}),
},
},
actions: {
create: {
input: {
schema: (args) => z.object({ item: args.item }),
},
output: {
schema: (args) => z.object({ item: withId(args.item) }),
},
},
},
templateName: (name, props) => camelCase(props.item, name), // issueCreate, issueCreated
})
export const readable = new InterfaceDeclaration({
name: 'readable',
version: '0.0.1',
entities: {
item: {
schema: baseItem,
},
},
events: {},
actions: {
read: {
input: {
schema: () => baseItem,
},
output: {
schema: (args) => z.object({ item: withId(args.item) }),
},
},
},
templateName: (name, props) => camelCase(props.item, name), // issueRead
})
export const updatable = new InterfaceDeclaration({
name: 'updatable',
version: '0.0.1',
entities: {
item: {
schema: baseItem,
},
},
events: {
updated: {
schema: (args) =>
z.object({
item: withId(args.item),
}),
},
},
actions: {
update: {
input: {
schema: (args) => baseItem.extend({ item: args.item }),
},
output: {
schema: (args) => z.object({ item: withId(args.item) }),
},
},
},
templateName: (name, props) => camelCase(props.item, name), // issueUpdate, issueUpdated
})
export const deletable = new InterfaceDeclaration({
name: 'deletable',
version: '0.0.1',
entities: {
item: {
schema: baseItem,
},
},
events: {
deleted: {
schema: () => baseItem,
},
},
actions: {
delete: {
input: {
schema: () => baseItem,
},
output: {
schema: () => z.object({}),
},
},
},
templateName: (name, props) => camelCase(props.item, name), // issueDelete, issueDeleted
})
``` | /content/code_sandbox/packages/sdk/src/interfaces/sync.ts | xml | 2016-11-16T21:57:59 | 2024-08-16T18:45:35 | botpress | botpress/botpress | 12,401 | 854 |
```xml
<manifest xmlns:android="path_to_url"
package="com.yinglan.alphatabs">
<application android:allowBackup="true" android:label="@string/app_name"
android:supportsRtl="true">
</application>
</manifest>
``` | /content/code_sandbox/library/src/main/AndroidManifest.xml | xml | 2016-10-27T07:37:33 | 2024-08-15T11:30:09 | AlphaTabsIndicator | yingLanNull/AlphaTabsIndicator | 1,075 | 58 |
```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.
*
*/
import * as passphrase from '../../examples/pos-mainchain/config/default/passphrase.json';
import * as validators from '../../examples/pos-mainchain/config/default/dev-validators.json';
export type PassphraseFixture = typeof passphrase;
export type ValidatorsFixture = typeof validators;
export interface Fixtures {
passphrase: PassphraseFixture;
validators: ValidatorsFixture;
dataPath: string;
}
``` | /content/code_sandbox/test/src/types.ts | xml | 2016-02-01T21:45:35 | 2024-08-15T19:16:48 | lisk-sdk | LiskArchive/lisk-sdk | 2,721 | 163 |
```xml
'use strict';
import { IExperimentationTelemetry } from 'vscode-tas-client';
import { sendTelemetryEvent, setSharedProperty } from '../../telemetry';
export class ExperimentationTelemetry implements IExperimentationTelemetry {
public setSharedProperty(name: string, value: string): void {
// Add the shared property to all telemetry being sent, not just events being sent by the experimentation package.
// We are not in control of these props, just cast to `any`, i.e. we cannot strongly type these external props.
setSharedProperty(name as any, value as any);
}
public postEvent(eventName: string, properties: Map<string, string>): void {
const formattedProperties: { [key: string]: string } = {};
properties.forEach((value, key) => {
formattedProperties[key] = value;
});
sendTelemetryEvent(eventName as any, undefined, formattedProperties);
}
}
``` | /content/code_sandbox/src/client/common/experiments/telemetry.ts | xml | 2016-01-19T10:50:01 | 2024-08-12T21:05:24 | pythonVSCode | DonJayamanne/pythonVSCode | 2,078 | 198 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.