text stringlengths 1 932k |
|---|
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2020 iText Group NV
Authors: iText Software.
This program is offered under a commercial and under the AGPL license.
For commercial licensing, contact us at https://itextpdf.com/sales. For AGPL licensing, see below.
AGPL licensing:
This program is free... |
using System;
namespace Solid
{
public class NotaFiscalDao : IAcaoAposGerarNota
{
public void Executa(NotaFiscal nota)
{
Console.WriteLine("Persistindo nota");
}
}
} |
using FFmpeg.AutoGen;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace EmguFFmpeg
{
public unsafe class MediaDecoder : MediaCodec
{
public static MediaDecoder CreateDecoder(AVCodecID codecId, Action<MediaCodec> setBeforeOpen = null, MediaDictionary opts ... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// Code generated by Microsoft (R) AutoRest Code Generator 0.9.7.0
// Changes may cause incorrect behavior and will be lost if the code is regenerated.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Rest;
using Rg.ClientApp;
usi... |
using System;
namespace Paas.Pioneer.Admin.Core.Application.Contracts.Personnel.Position.Dto.Input
{
/// <summary>
/// 修改
/// </summary>
public partial class PositionUpdateInput
{
/// <summary>
/// 编号
/// </summary>
public Guid Id { get; set; }
/// <summary>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using EducationV2.AppCode;
namespace EducationV2
{
public partial class frmPosApplicant1 : PosApplicantPage
{
protected void Page_Load(object sender, EventArgs e)
... |
namespace BlueMilk.IoC.Instances
{
public enum DisposeTracking
{
WithUsing,
RegisterWithScope,
None
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions.Execution;
namespace FluentAssertions.Equivalency
{
/// <summary>
/// Supports recursively comparing two multi-dimensional arrays for equivalency using strict order for the array items
/// themselves.
/// </summa... |
/* #############################################################################
Dual-licensed under MIT and Apache-2.0, by way of the [Permissive License
Stack](https://protocol.ai/blog/announcing-the-permissive-license-stack/).
Apache-2.0: https://www.apache.org/licenses/license-2.0
MIT: https://www.opensource.org... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace 掩日___免杀执行器生成工具
{
class TP_VirtualAlloc
{
string code;
public TP_VirtualAlloc(String decKey, String encPayload)
{
code = @"using System;
using System... |
using Optional;
namespace Fhi.Smittestopp.Verification.Domain.Models
{
public class PinVerifiedUser : User
{
public PinVerifiedUser(string pseudonym)
{
Pseudonym = pseudonym;
}
public override string Pseudonym { get; }
public override bool IsPinVerified => ... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Diagnostics;
using System.Reflection.Internal;
using System.Text;
namespace System.Reflection.Metadata
{
/// <summary>
/// Provides the <see cref=... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WakSharp.Network.Packets
{
public class SMSG_110 : WakfuServerMessage
{
public SMSG_110()
: base(WakfuOPCode.SMSG_110)
{
base.Writer.WriteByte(82);
base.Writer.Wr... |
#define SQLITE_ASCII
#define SQLITE_DISABLE_LFS
#define SQLITE_ENABLE_OVERSIZE_CELL_CHECK
#define SQLITE_MUTEX_OMIT
#define SQLITE_OMIT_AUTHORIZATION
#define SQLITE_OMIT_DEPRECATED
#define SQLITE_OMIT_GET_TABLE
#define SQLITE_OMIT_INCRBLOB
#define SQLITE_OMIT_LOOKASIDE
#define SQLITE_OMIT_SHARED_CACHE
#define SQLITE_OM... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using ATL;
using Gouter.Utils;
namespace Gouter.Managers
{
internal static class TrackFinder
{
/// <summary>
/// 未登録の楽曲情報を取得する。
/// </summary>
/// <param name="registeredTracks">登録済みトラッ... |
namespace Mapbox.Unity.Map
{
using UnityEngine;
public class SubLayerColorStyle : ISubLayerColorStyle
{
private GeometryMaterialOptions _materialOptions;
public SubLayerColorStyle(GeometryMaterialOptions materialOptions)
{
_materialOptions = materialOptions;
}
public Color FeatureColor
{
get
... |
using System;
using System.Collections.Generic;
using System.IO;
using Dibix.Sdk.Sql;
using Microsoft.SqlServer.Dac.Model;
using Microsoft.SqlServer.TransactSql.ScriptDom;
namespace Dibix.Sdk.CodeGeneration
{
public abstract class SqlStatementParser<TVisitor> : ISqlStatementParser where TVisitor : SqlParserVisito... |
namespace Sitecore.FakeDb.Tests.Data.Engines.DataCommands.Prototypes
{
using FluentAssertions;
using Sitecore.FakeDb.Data.Engines;
using Sitecore.FakeDb.Data.Engines.DataCommands;
using Sitecore.FakeDb.Data.Engines.DataCommands.Prototypes;
using Sitecore.Reflection;
using Xunit;
public class GetVersionsC... |
using System;
using System.Collections.Generic;
using System.Reactive;
using System.Reactive.Concurrency;
using System.Reactive.Linq;
using System.Reactive.Threading.Tasks;
using System.Threading;
using System.Threading.Tasks;
namespace SlackNet.Bot
{
static class ObservableUtils
{
public static IObser... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
// Copyright 2022 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System... |
using System;
using System.Linq;
using System.Threading.Tasks;
using SlackAPI.Models.RPCMessages;
using SlackAPI.Tests.Configuration;
using SlackAPI.Tests.Helpers;
using Xunit;
namespace SlackAPI.Tests
{
[Collection("Integration tests")]
public class UploadFile
{
private readonly IntegrationFixtur... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
namespace RestaurantReviews.Web.Models
{
public class Review
{
[ScaffoldColumn(false)]
public int Id { get; set; }
[Required]
[RegularExpression("([... |
using System;
using commercetools.Common;
using Newtonsoft.Json;
namespace commercetools.CartDiscounts
{
public class GiftLineItemCartDiscountValue : CartDiscountValue
{
[JsonProperty(PropertyName = "product")]
public ResourceIdentifier Product { get; private set; }
[JsonProperty(Prop... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Docs.Build;
namespace System.Collections.Concurrent;
internal class MemoryCache<TKey, TValue> : ConcurrentDictionary<TKey, TValue>, IMemoryCache where... |
#region --- License ---
/*
* Copyright 2014 Xamarin Inc, All Rights Reserved
Copyright (c) 2006 - 2008 The Open Toolkit library.
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 restric... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
using BookStore;
using BookStore.Contractors;
using BookStore.Web.Contractors;
using Microsoft.AspNetCore.Http;
using System;
using System.Collections.Generic;
using System.Text;
namespace Store.YandexKassa
{
public class YandexKassaPaymentService : IPaymentService, IWebContractorService
{
private re... |
#region License
// Copyright (c) 2009, ClearCanvas Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the above copyright notice,
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace EmployeeConnect.Models
{
public class TicketsDataModel
{
public Tickets[] Tickets { get; set; }
}
public class Tickets
{
public int ticketNo { get; set; }
public string ticketDe... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Xamarin.Forms;
using Tizen.Wearable.CircularUI.Forms;
namespace WebWidgetHybrid
{
/// <summary>
/// Web widget - Tizen .NET C# app hybrid sample main class.
/// This class creates an UI app to show a simple text.
... |
using Services.Common.ModelCommon;
using System;
using System.Collections.Generic;
using System.Text;
namespace Services.Admin.Model.Entities
{
public class RolePermissionEntity:BaseEntity
{
public long RoleId { get; set; }
public RoleEntity Role { get; set; }
public long PermissionId ... |
namespace BowlingGame4
{
internal class Game
{
private readonly int[] _rolls = new int[21];
private int _ptr;
public void Roll(int pins)
{
_rolls[_ptr++] = pins;
}
public int Score()
{
int score = 0;
int pinsIndex = 0... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Data;
namespace Consultations_NLH.Converters
{
class DepartementConverter : IMultiValueConverter
{
object IMultiVal... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
//
// ConsoleDependencyGraph.cs: text output related code for dependency graph
//
// Author:
// Radek Doulik (rodo@xamarin.com)
//
// Copyright 2015 Xamarin Inc (http://www.xamarin.com).
//
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using LinkerAnalyzer.Core;
namespace Lin... |
using System.ComponentModel.DataAnnotations;
namespace BettingGame.Tournament.Core.Domain
{
public class Result
{
[Range(0, 50)]
public int ScoreTeamA { get; set; }
[Range(0, 50)]
public int ScoreTeamB { get; set; }
}
} |
/*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License"); you ... |
using Content.Server.Body.Components;
using Content.Server.Chemistry.EntitySystems;
using Content.Server.Chemistry.ReactionEffects;
using Content.Server.Fluids.EntitySystems;
using Content.Server.HealthExaminable;
using Content.Server.Popups;
using Content.Shared.Chemistry.Components;
using Content.Shared.Chemistry.Rea... |
using System;
namespace a
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Q#59 (a)");
int n=22/8;
Console.WriteLine(n);
}
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace NetworkClient
{
static class Program
{
/// <summary>
/// 应用程序的主入口点。
/// </summary>
[STAThread]
static void Main()
{
... |
using System.Reflection;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("MSBuildCodeMetrics.Core.Providers.UnitTes... |
using System;
using System.Collections.Generic;
using System.Numerics;
using MarsRover.Core.Instruction;
using MarsRover.Core.Orientation;
using MarsRover.Core.Plateau;
using MarsRover.Core.Rover;
using MarsRover.Domain;
using Xunit;
namespace MarsRover.Test
{
public class RoverTest
{
private IPlateau... |
/*
* Copyright 2010-2014 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "l... |
#if !__WATCHOS__
using System.Runtime.InteropServices;
namespace SkiaSharp.Views.GlesInterop
{
internal static class Gles
{
#if __MACOS__
private const string libGLESv2 = "/System/Library/Frameworks/OpenGL.framework/OpenGL";
#elif __IOS__ || __TVOS__
private const string libGLESv2 = "/System/Library/Frameworks/... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Mv... |
@using System.Text.RegularExpressions;
@{
var pageId = Request["pId"];
var pageName = Request["pName"];
Page.Title = "Widgets On Page: " + pageName ;
var errMsg = "";
var disableButton = false;
var wId = Request["wId"];
var sName = Request["sName"];
var wOrderId = Request[... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//--... |
/*--------------------------------------------------------*\
| |
| hprose |
| |
| Official WebSite: https://hprose.com |
| ... |
using System.Collections.Generic;
using System.Web.Routing;
using FubuCore;
using FubuMVC.Core;
using FubuMVC.Core.Runtime;
using FubuMVC.StructureMap;
using FubuMVC.UI;
using FubuMVC.UI.Configuration;
using FubuMVC.UI.Forms;
using FubuMVC.UI.Tags;
using HtmlTags;
using NUnit.Framework;
using StructureMap;
namespace F... |
using System;
using System.Collections.Generic;
using System.Linq;
using NHibernate;
using NHibernate.Linq;
using Storymark.Service.Data.Entities;
namespace Storymark.Service.Services.Projects
{
internal class ProjectService : BaseService, IProjectService
{
public ProjectService(ISessionFactory sessionFacto... |
namespace SmartCarRentals.Services.Data.AppServices
{
using System;
using System.Threading.Tasks;
using SendGrid;
using SendGrid.Helpers.Mail;
using SmartCarRentals.Common;
using SmartCarRentals.Services.Data.AppServices.Contracts;
public class SendGridService : IMailService
{
... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System;
using System.Collections.Generic;
using System.Text;
namespace MxNet.Keras.Initializers
{
public class TruncatedNormal : Initializer
{
public TruncatedNormal(float mean = 0, float stddev = 0.05f, int? seed = null)
{
throw new NotImplementedException();
}
... |
// ReSharper disable CheckNamespace
namespace System.Collections.Generic
{
public static class KeyValuePairExtensions
{
public static void Deconstruct<TKey, TValue>(
this KeyValuePair<TKey, TValue> kvp,
out TKey key,
out TValue value)
{
key = kvp.... |
using NUnit.Framework;
using System;
namespace UnityEngine.Rendering.HighDefinition.Tests
{
class HDRenderUtilitiesTests
{
[Test]
public void RenderThrowWhenTargetIsNull()
{
Assert.Throws<ArgumentNullException>(() => HDRenderUtilities.Render(
default(CameraSe... |
/*
Copyright 2012 Michael Edwards
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... |
#region license
// Copyright (c) 2005 - 2007 Ayende Rahien (ayende@ayende.com)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain the abo... |
@using Microsoft.AspNetCore.Components.Web
@namespace ClientApp.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="~/" />
<link rel="stylesheet"... |
// ============================================================================
// A Z L O G F I L T E R
// ============================================================================
// AzLogFilter - apply filter criteria to a datasource to evaluate match/no match.
// This can get called A LOT, so performance wil... |
namespace Technology.Direct.Dao
{
public class CallInstanceSuperClassDAO
{
public CallInstanceSuperClassDAO()
{
}
public virtual void MethodOnSuperClass()
{
}
}
} |
#region license
// Copyright (c) 2003, 2004, 2005 Rodrigo B. de Oliveira (rbo@acm.org)
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without modification,
// are permitted provided that the following conditions are met:
//
// * Redistributions of source code must retain ... |
using System;
using System.Linq;
namespace Sklavenwalker.CommonUtilities.TaskPipeline;
internal static class Extensions
{
public static bool IsExceptionType<T>(this Exception error) where T : Exception
{
return error switch
{
T _ => true,
AggregateException aggregateEx... |
using AutoMapper;
using Core.DomainModel.ProductAggregate.Data;
using Infra.ApplicationServices.Dtos;
using MediatR;
using System.Threading;
using System.Threading.Tasks;
namespace Infra.ApplicationServices.Queries.ProductAggregate
{
public sealed class GetProductByIdQueryHandler
: IRequestHandler<GetProd... |
using Amazon.JSII.Runtime.Deputy;
#pragma warning disable CS0672,CS0809,CS1591
namespace aws
{
[JsiiByValue(fqn: "aws.Wafv2WebAclRuleStatementNotStatementStatementAndStatementStatementAndStatementStatementXssMatchStatementFieldToMatchMethod")]
public class Wafv2WebAclRuleStatementNotStatementStatementAndState... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Seminarski.ViewModels
{
public class IzvjestajVM
{
public List<Rows> rows { get; set; }
public class Rows
{
public int UslugaId { get; set; }
public string... |
/*****************************************************************************
Copyright 2018 The TensorFlow.NET Authors. All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the Licen... |
// Interactable Object|Interactions|30030
namespace VRTK
{
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
using Highlighters;
using GrabAttachMechanics;
using SecondaryControllerGrabActions;
/// <summary>
/// Event Payload
/// </summary>
/// <par... |
#tool "xunit.runner.console"
#tool "GitVersion.CommandLine"
//////////////////////////////////////////////////////////////////////
// ARGUMENTS
//////////////////////////////////////////////////////////////////////
var target = Argument("target", "Default");
var configuration = Argument("co... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Sp... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace GlobalcachingApplication.Core
{
public partial class SelectSettingsForm : Form
{
public SelectSettingsForm(E... |
namespace Net5WebTemplate.Api.Contracts.Version1.Requests
{
public class RefreshTokenRequest
{
public string Token { get; set; }
public string RefreshToken { get; set; }
}
} |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace SQLite.CodeFirst.NetCore.Console.Entity
{
/// <summary>
/// See https://github.com/msallin/SQLiteCodeFirst/issues/109
/// </summary>
public class FooRelationshipA
{
public int Id { get; set; }
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WebServices.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using S... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
// dnlib: See LICENSE.txt for more info
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Threading;
using dnlib.DotNet.MD;
using dnlib.DotNet.Pdb;
namespace dnlib.DotNet {
/// <summary>
/// A high-level representation of a row in the StandAloneSig table
/// </summary>
public ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using GraphQL.Instrumentation;
using GraphQL.Tests.StarWars;
using Shouldly;
using Xunit;
namespace GraphQL.Tests.Instrumentation
{
public class ApolloTracingTests : StarWarsTestBase
{
[Fact]
public... |
/*
* THIS FILE WAS GENERATED BY PLOTLY.BLAZOR.GENERATOR
*/
using System;
using System.Diagnostics.CodeAnalysis;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text.Json.Serialization;
namespace Plotly.Blazor.LayoutLib.XAxisLib
{
/// <summary>
/// The TickFont class.
... |
using Aersysm.Domain;
using Aersysm.Persistence;
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Services.admin
{
public partial class Index : System.Web.UI.Page
{
aers_tbl_eventsre... |
// Copyright 2021 Google LLC
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in ... |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.ComponentModel.DataAnnotations;
using System.Globalization;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
using Mic... |
using System;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using System.Windows;
using Mechanical3.Core;
using Mechanical3.MVVM;
using Microsoft.CodeAnalysis.CSharp.Scripting;
using Microsoft.CodeAnalysis.Scripting;
namespace Mechanical3.ScriptEditor
{
/// <summary>
/// The v... |
// Url:https://leetcode.com/problems/path-sum
/*
112. Path Sum
Easy
Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.
Note: A leaf is a node with no children.
Example:
Given the below binary tree and sum = 22,
... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("Lin... |
// This file is automatically generated, do not edit
// ReSharper disable InconsistentNaming
// ReSharper disable IdentifierTypo
// ReSharper disable UnusedMember.Global
// ReSharper disable CommentTypo
// ReSharper disable CheckNamespace
// ReSharper disable PartialTypeWithSinglePart
using System.Runtime.InteropServ... |
// Copyright 2017 the original author or authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable la... |
using SimpleJSON;
using System;
using System.Collections.Generic;
using System.Linq;
namespace BazaarBot.Engine
{
public class AgentLogicAction
{
public string action;
public string[] Targets;
public List<float> amounts = new List<float>();
public List<float> Chances;
pu... |
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" fi... |
// Project: Aguafrommars/TheIdServer
// Copyright (c) 2022 @Olivier Lefebvre
namespace Aguacongas.IdentityServer.Admin.Models
{
/// <summary>
///
/// </summary>
public class LocalizableProperty
{
/// <summary>
/// Gets or sets the culture.
/// </summary>
/// <value... |
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
namespace Pulumi.Azur... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated with an assembly.
[assembly: AssemblyTitle("New... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Threading;
using System.Threading.Tasks;
using EfCoreLinqWrapper.Entities;
using Microsoft.EntityFrameworkCore;
namespace EfCoreLinqWrapper.Repositories
{
public class Queryable... |
// <copyright file="FailureStopCriterium.cs" company="Math.NET">
// Math.NET Numerics, part of the Math.NET Project
// http://numerics.mathdotnet.com
// http://github.com/mathnet/mathnet-numerics
// http://mathnetnumerics.codeplex.com
//
// Copyright (c) 2009-2010 Math.NET
//
// Permission is hereby granted, free of ch... |
//-----------------------------------------------------------------------
// <copyright file="ViewModel.cs" company="Marimer LLC">
// Copyright (c) Marimer LLC. All rights reserved.
// Website: https://cslanet.com
// </copyright>
// <summary>Base type for creating your own viewmodel</summary>
//---------------... |
// Copyright (C) 2015 Jaroslav Stehlik - All Rights Reserved
// This code can only be used under the standard Unity Asset Store End User License Agreement
// A Copy of the EULA APPENDIX 1 is available at http://unity3d.com/company/legal/as_terms
using UnityEngine;
using UnityEditor;
using UnityEditorInternal;
using Sy... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DevExpress.EntityFramework.SecurityDataStore.Tests.Performance {
public class BasePerformanceTestClass {
protected Dictionary<TestType, double> timeDifferences;
protected d... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.