text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Prism.Mvvm;
using WikiClientLibrary.Generators;
namespace WikiEdit.ViewModels.Primitives
{
internal class RecentChangesFilterViewModel : BindableBase
{
private bool? _ShowMinor;
... |
namespace FootballAnalyzes.Services.Models.Teams
{
using FootballAnalyzes.Services.Models.Games;
public class TeamListingSM : TeamSM
{
public int TeamGamesCount { get; set; }
}
} |
// DocSection: structure_in_rte_register_link_resolver
// You can also register the resolver in IServiceCollection or another framework for dependency injection: https://kontent.ai/learn/net-register-resolver
using Kentico.Kontent.Delivery;
IDeliveryClient client = DeliveryClientBuilder
.WithProjectId("<YOUR_PROJE... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Azure.Devices;
using Microsoft.Azure.Devices.Shared;
using NUnit.Framework;
using System;
using System.Text.Json;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace E2eTesting
{
... |
using Raylib;
using static Raylib.Raylib;
public partial class core_input_mouse
{
/*******************************************************************************************
*
* raylib [core] example - Mouse input
*
* This example has been created using raylib 1.0 (www.raylib.com)
* rayl... |
/**
* Copyright 2013 Canada Health Infoway, Inc.
*
* 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 applicab... |
// *** 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... |
#region License
//
// MIT License
//
// CoiniumServ - Crypto Currency Mining Pool Server Software
//
// Copyright (C) 2013 - 2017, CoiniumServ Project
// Copyright (C) 2017 - 2018 The Merit Foundation
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this ... |
namespace MCDSaveEdit.Save.Models.Enums
{
public enum DifficultyEnum
{
Difficulty_1,
Difficulty_2,
Difficulty_3,
}
} |
// 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;
using System.Collections;
using System.Data;
using System.Data.Common;
using System.Data.SqlTypes;
usi... |
/*
// <copyright>
// dotNetRDF is free and open source software licensed under the MIT License
// -------------------------------------------------------------------------
//
// Copyright (c) 2009-2021 dotNetRDF Project (http://dotnetrdf.org/)
//
// Permission is hereby granted, free of charge, to any person obtainin... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See License.txt in the project root for license information.
namespace System.Data.Entity.TestModels.ProviderAgnosticModel
{
public class StandardWeapon : Weapon
{
public WeaponSpecification Specs { get; set; }
... |
using FastColoredTextBoxNS;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace excel2json.GUI {
/// <summary>
/// 主窗口
/// </summary>
public partial class MainForm : Form {
// Excel导入数据管理
... |
using System;
class T
{
public static int Main ()
{
Test1 ();
Test2 ();
Test3 (0, 1);
Test4 ();
Test5 ();
switch (1) {
case 1:
return 0;
default:
break;
}
}
static void Test1 ()
{
int g = 9;
A:
switch (g) {
case 4:
return;
case 5:
goto A;
}
switch (g) {
case 9:
... |
using System;
using System.Linq;
using System.Threading;
using Moq;
using NUnit.Framework;
using Umbraco.Core;
using Umbraco.Core.Composing;
using Umbraco.Core.Configuration.UmbracoSettings;
using Umbraco.Core.Logging;
using Umbraco.Core.Models;
using Umbraco.Core.Models.PublishedContent;
using Umbraco.Core.PropertyEd... |
using System;
using System.Collections.Generic;
using Microsoft.AspNetCore.Identity;
using Microsoft.Extensions.Logging;
using Microsoft.Extensions.Options;
using Abp.Authorization;
using Abp.Authorization.Users;
using Abp.Configuration;
using Abp.Domain.Repositories;
using Abp.Domain.Uow;
using Abp.Organizations;
usi... |
// -----------------------------------------------------------------------
// <copyright file="TestRuntime.Json.cs" repo="TextScript">
// Copyright (C) 2018 Lizoc Inc. <http://www.lizoc.com>
// The source code in this file is subject to the MIT license.
// See the LICENSE file in the repository root direct... |
using System.Linq;
using Orchard;
using Orchard.ContentManagement;
using Orchard.Core.Common.Models;
using Orchard.UI.Notify;
using Airbrush.Events;
namespace Harvest.OrchardDevToolbelt.Handlers
{
public class SpamProtectedContactFormEventHandler : Component, IContactFormEventHandler
{
private readonl... |
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
namespace Alexa.NET.Request
{
public sealed class IntentSignature
{
public string FullName { get; private set; }
public string Namespace { get; private set; }
public string Action { get; private set; ... |
using System;
using System.Collections;
using System.Collections.Generic;
using UILayouTaro;
using UnityEngine;
using UnityEngine.Networking;
public class BasicMissingSpriteCache : IMissingSpriteCache
{
private Dictionary<string, Texture2D> textureDict = new Dictionary<string, Texture2D>();
private List<string... |
#region License
// Copyright (c) 2018 Mark Kromis
// Copyright (c) 2013 Chandramouleswaran Ravichandran
//
// 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... |
using Apollo.AdminStore.WebForm.Classes;
using Apollo.Core.Model;
using Apollo.Core.Model.Entity;
using Apollo.Core.Services.Interfaces;
using System;
using System.Linq;
using System.Web.UI.WebControls;
namespace Apollo.AdminStore.WebForm.Catalog
{
public partial class reviews_pending : BasePage
{
pub... |
// Copyright (c) 2012, Joshua Burke
// All rights reserved.
//
// See LICENSE for more information.
using System;
using System.Collections.Generic;
using System.Diagnostics.Contracts;
using Frost.DirectX.Common;
using Frost.Surfacing;
namespace Frost.DirectX
{
internal sealed class DynamicSurface : Surface2D, ISu... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.Diagnostics;
namespa... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using JetBrains.Annotations;
using JoinRpg.DataModel;
namespace JoinRpg.Data.Interfaces
{
public interface IPlotRepository : IDisposable
{
Task<List<PlotFolder>> GetPlots(int project);
Task<List<PlotFolder>> GetPlotsWithTargets... |
using Unify.Core.Common.Input;
using Unify.Core.StationHosts;
namespace Unify.Server.Config;
public class ServerConfig
{
public StationHostConfig StationHostConfig { get; set; }
public Hotkey StopHotkey { get; set; }
public Dictionary<string, StationConfig> StationConfigs { get; } = new();
} |
// 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 ... |
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using Xamarin.Essentials;
namespace PrettyScreen.Configuration
{
public class ConfigurationContext : DbContext
{
public DbSet<AdapterConfiguration> Adapters { get; set; }
pu... |
/*
* 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... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using URSA;
public class BreakSystem : ECSSystem {
internal override void OrderedUpdate() {
base.OrderedUpdate();
Debug.Log("BreakSystem did Debug.Break()");
Debug.Break();
}
} |
using System;
using System.Collections.Generic;
using MongoDB.Bson.Serialization.Attributes;
using ProtoBuf;
namespace ET
{
[ProtoContract]
[Config]
public partial class BulletInfoConfigCategory : ProtoObject
{
public static BulletInfoConfigCategory Instance;
[ProtoIgnore]
[B... |
//------------------------------------------------------------------------------
// <auto-generated>
// Il codice è stato generato da uno strumento.
// Versione runtime:4.0.30319.42000
//
// Le modifiche apportate a questo file possono provocare un comportamento non corretto e andranno perse se
// il c... |
namespace ERP.Web.Areas.Identity.Pages.Account
{
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc.RazorPages;
[AllowAnonymous]
#pragma warning disable SA1649 // File name should match first type name
public class ResetPasswordConfirmationModel : PageModel
#pragma warning restor... |
using CBT.NuGet.Internal;
using Shouldly;
using Xunit;
namespace CBT.NuGet.UnitTests
{
public class ExtensionMethodsTests
{
[Theory]
[InlineData("zxcvbnm,./asdfghjkl;'qwertyuiop[]\\`1234567890-=~!@#$%^&*()_+{}|:\"<>?")]
[InlineData("ZXCVBNM,./ASDFGHJKL;'QWERTYUIOP[]\\`1234567890-=~!@#$... |
namespace InstagramCSharp.Models
{
public class Caption
{
public long Created_Time { get; set; }
public string Text { get; set; }
public User From { get; set; }
public string id { get; set; }
}
} |
namespace WebServerV._2.Server.Routing
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Enums;
using Routing.Contracts;
public class ServerRouteConfig : IServerRouteConfig
{
private readonly ... |
/* Copyright (c) 2009 Richard G. Todd.
* Licensed under the terms of the Microsoft Public License (Ms-PL).
*/
using System;
using System.Reflection;
using System.Text;
namespace Lingua
{
/// <summary>
/// Represents a rule or production identified by an <see cref="IGrammar" />.
/// </summary>
publi... |
//******************************
// Written by Peter Golde
// Copyright (c) 2004-2005, Wintellect
//
// Use and restribution of this code is subject to the license agreement
// contained in the file "License.txt" accompanying this file.
//******************************
using System;
using System.Diagnostics;
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... |
// 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.
/*
A .cctor has only one chance to run in any appdomain.
If it fails, the 2nd time we try to access a static field... |
@{
Layout = null;
}
<html>
<head>
<title>
Bookie
</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.1/css/all.min.css" integrity="sha512-+4zCK9k+qNF... |
/*
* 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 Microsoft.Extensions.Logging;
using System;
using System.Runtime.InteropServices;
using VirtualBox61;
namespace TrayApp.VirtualMachine.VirtualBoxSdk.Proxy.Version61
{
public class ProgressProxy : IProgressProxy
{
private readonly ILogger logger;
private readonly IProgress progress;
... |
// *** 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.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;
public class BackButton : MonoBehaviour
{
public string backScene;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Android.App;
using Android.Content;
using Android.OS;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using System.Net.Http;
using System.Net.Http.Headers;
namespace TekorMobil
{
class RestService
{
... |
using System.Collections.Generic;
public class Test
{
public IList<dynamic> DynField;
} |
namespace WinUX.Xaml.Converters
{
using System;
using Windows.UI.Xaml.Data;
using WinUX.Common;
/// <summary>
/// Defines a value converter for converting a double to a TimeSpan.
/// </summary>
public class DoubleToTimeSpanConverter : IValueConverter
{
/// <summary>
/... |
//-----------------------------------------------------------------------------
// <copyright file="FurnitureBehavior.cs" company="WheelMUD Development Team">
// Copyright (c) WheelMUD Development Team. See LICENSE.txt. This file is
// subject to the Microsoft Public License. All other rights reserved.
// </co... |
// *** 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.AwsN... |
using Essensoft.AspNetCore.Payment.UnionPay.Response;
using System.Collections.Generic;
namespace Essensoft.AspNetCore.Payment.UnionPay.Request
{
/// <summary>
/// 预授权完成撤销
/// </summary>
public class UnionPayForm_6_7_4_AuthFinishUndoRequest : IUnionPayRequest<UnionPayForm_6_7_4_AuthFinishUndoResponse>... |
#region License
//
// Author: Nate Kohari <nkohari@gmail.com>
// Copyright (c) 2007-2008, Enkari, Ltd.
//
// 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/licens... |
// <auto-generated />
using System;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Nc.EntityFrameworkCore;
namespace Nc.Migrations
{
[DbContext(typeof(NcMigrat... |
using Cumulocity.SDK.Client.Rest.Utils;
namespace Cumulocity.SDK.Client.IntegrationTest.Inventory
{
[PackageName("c8y_Coordinate")]
public class Coordinate
{
private double? longitude;
private double? latitude;
public Coordinate() : this(100.0, 101.0)
{
}
... |
using Neo.IO;
using System;
using System.IO;
namespace Neo.Network.P2P.Payloads
{
public class GetBlocksPayload : ISerializable
{
public UInt256 HashStart;
public short Count;
public int Size => sizeof(short) + HashStart.Size;
public static GetBlocksPayload Create(UInt256 has... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Suzianna.Hosting.Tests.Integration.Constants
{
internal class TestSutUrls
{
public const string ApiProjectPath = @"..\..\..\..\..\sample-suts\api\Sample-Sut-Api\Sample-Sut-Api.csproj";
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace SmartHotel.Registration.Wcf.Data.Generators
{
public class PassportGenerator
{
private static List<string> _passports = new List<string>
{
"002850168",
"315123188"... |
using IdrugWeb.Models;
using AutoMapper;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Core;
namespace IdrugWeb.Mappers
{
public class DisponibilizarMedicamentoProfile : Profile
{
public DisponibilizarMedicamentoProfile()
{
C... |
using Microsoft.EntityFrameworkCore.Migrations;
namespace NewsletterCurator.Data.Migrations
{
public partial class Addedisalreadysentflag : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsAlready... |
//------------------------------------------------------------------------------
// <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;
namespace TodoApi.ModelDTO
{
public class TodoItemDTO
{
public long Id { get; set; }
public string Name { get; set; }
public bool IsComplete { get; set; }
}
} |
using System.Threading.Tasks;
using CoreApi.Contract;
using CoreApi.Contract.DatabaseContracts;
using CoreApi.Core.Service.Abstract;
using CoreApi.WebApi.Auth;
using CoreApi.WebApi.Controllers.Base;
using Microsoft.AspNetCore.Mvc;
namespace CoreApi.WebApi.Controllers
{
[ApiController]
[Route("api/[controller]... |
namespace Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.Api20200901
{
using Microsoft.Azure.PowerShell.Cmdlets.Aks.Runtime.PowerShell;
/// <summary>Information of user assigned identity used by this add-on.</summary>
[System.ComponentModel.TypeConverter(typeof(ManagedClusterAddonProfileIdentityTypeConverte... |
@{
ViewBag.Title = "Conta de Consumo";
Layout = "~/Views/Shared/_Layout.cshtml";
}
@section css {
<link href="~/Static/app/barcode-common.min.css" rel="stylesheet" />
<link href="~/Static/app/consumo.min.css" rel="stylesheet" />
<link href="~/Static/plugins/bootstrap-toggle.min.css" rel="styleshee... |
//------------------------------------------------------------------------------
// <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 Volo.Abp;
namespace LoggingManagementSample.EntityFrameworkCore
{
public abstract class LoggingManagementSampleEntityFrameworkCoreTestBase : LoggingManagementSampleTestBase<LoggingManagementSampleEntityFrameworkCoreTestModule>
{
}
} |
using System;
using System.Collections.Generic;
using System.Text;
namespace CalendarApi.Definition.Models
{
public class EventsModel
{
public long Id { get; set; }
public string Name { get; set; }
public DateTime CreatedDateTime { get; set; }
public DateTime ScheduledDateTime ... |
// 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.
/******************************************************************************
* This file is auto-generated from ... |
using System.Windows;
namespace InstaSlideshow
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
}
} |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
/// <summary>
/// Interaction logic for Window1.xaml
/// </summary>
public partial... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
// This file is part of Abanu, an Operating System written in C#. Web: https://www.abanu.org
// Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
using System;
namespace Abanu.Kernel.Core.Boot
{
public enum BIOSMemoryMapType : byte
{
Unset = 0,
... |
using UnityEngine;
using UnityEditor;
using System;
[CustomEditor(typeof(AiryUICustomAnimationElement))]
[CanEditMultipleObjects]
public class AiryUICustomAnimationElementInspector : Editor
{
private AiryUICustomAnimationElement customAnimationElement;
private SerializedProperty _showItemOnMenuEnable;
pr... |
/*
* Copyright (C) 2021 - 2021, SanteSuite Inc. and the SanteSuite Contributors (See NOTICE.md for full copyright notices)
* Copyright (C) 2019 - 2021, Fyfe Software Inc. and the SanteSuite Contributors
* Portions Copyright (C) 2015-2018 Mohawk College of Applied Arts and Technology
*
* Licensed under the Apache... |
using System;
using System.Threading.Tasks;
using Couchbase.Core;
using Repository.Interface;
namespace Repository.Couchbase
{
public sealed class CounterRepository : ICounterRepository
{
private const string Prefix = "Counter: ";
private readonly IBucket bucket;
[CLSCompliant(fals... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace Ver2._1_Perceptrons
{
static class Program
{
/// <summary>
/// Der Haupteinstiegspunkt für die Anwendung.
/// </summary>
[STAThread]
st... |
/// <summary>
/// ElectrodZ multiplayer namesapce
/// </summary>
namespace ElectrodZMultiplayer
{
/// <summary>
/// Used to signal a message being successfully parsed
/// </summary>
/// <typeparam name="T">Message type</typeparam>
/// <param name="peer">Peer</param>
/// <param name="message">Me... |
/*
* Copyright 2018 JDCLOUD.COM
*
* 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 in... |
/*
* 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... |
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("ExampleAutoPlatform3dPrint")]
[assembly: ... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
namespace DbHelper
{
/// <summary>
/// Sql操作助手
/// </summary>
public interface ISqlHelper
{
/// <summary>
/// 当前连接字符串
/// </summary>
IDbConnection Connection { get; set; }
... |
using System;
using System.Management.Automation;
namespace OPNsense.ftpproxies {
public class Ftpproxy {
#region Parameters
public uint debuglevel { get; set; }
public string description { get; set; }
public bool enabled { get; set; }
public uint idletimeout { get; set; }
public string listenaddress { g... |
namespace TIKSN.Integration.Correlation
{
public class Base62CorrelationServiceOptions
{
public Base62CorrelationServiceOptions() => this.ByteLength = 16;
public int ByteLength { get; set; }
}
} |
using System;
using System.Collections.Generic;
using System.IO;
using AElf.CSharp.CodeOps;
using CommandLine;
namespace AElf.Contracts.Deployer
{
class Program
{
class Options
{
[Option('s', "skipaudit", Default = false, HelpText = "Skip performing code check on contract code.")]
... |
using System.Threading.Tasks;
using Disqord.Gateway.Api;
using Disqord.Gateway.Api.Models;
namespace Disqord.Gateway.Default.Dispatcher
{
public class GuildIntegrationsUpdateHandler : Handler<GuildIntegrationsUpdateJsonModel, IntegrationsUpdatedEventArgs>
{
public override ValueTask<IntegrationsUpdate... |
using MonoMod.InlineRT;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using NLua;
using MonoMod.RuntimeDetour;
using MonoMod.Utils;
using MonoMod.Cil;
using Mono.Cecil.Cil;
using Microsoft.Xna.Framework;
na... |
namespace Mages.Core.Tokens
{
using System;
/// <summary>
/// Represents a token found by the tokenizer.
/// </summary>
public interface IToken : ITextRange
{
/// <summary>
/// Gets the type of the token.
/// </summary>
TokenType Type { get; }
/// <summ... |
using System;
using System.Collections.Generic;
using System.Drawing;
using System.IO;
using System.Text;
using System.Text.RegularExpressions;
using System.Windows.Forms;
using System.Xml;
using AGS.Types;
namespace AGS.Editor.Components
{
class TranslationsComponent : BaseComponent
{
private const st... |
using Jint;
using Jint.Native;
using Jint.Native.Json;
using Microsoft.Extensions.Logging;
using System;
using System.Threading;
using IoTSharp.Interpreter;
using Esprima;
using Microsoft.Extensions.Options;
using System.Threading.Tasks;
namespace IoTSharp.Interpreter
{
public class SQLEngine : ScriptEngineBase, ... |
[CompilerGeneratedAttribute] // RVA: 0x15A890 Offset: 0x15A991 VA: 0x15A890
private sealed class FieldTreasureBoxManager.<CheckGateTreasureBox>d__58 : IEnumerator<object>, IEnumerator, IDisposable // TypeDefIndex: 10518
{
// Fields
private int <>1__state; // 0x10
private object <>2__current; // 0x18
public FieldTre... |
// This software is part of the Autofac IoC container
// Copyright © 2011 Autofac Contributors
// https://autofac.org
//
// 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... |
using Google.Protobuf;
using DotNet.Performance;
namespace DotNet.Performance
{
partial class Blob {
public Blob(long size) {
for (long i1 = 0; i1 < size; i1++ )
{
var item = new BlobItem();
for (long i2 = 0; i2 < size; i2++ )
{
... |
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// 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.apa... |
//------------------------------------------------------------------------------
// <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.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace Namedpipe
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("[S] for server [C] for Client");
... |
using System.Net;
using System.Net.Mail;
using WellEngineered.CruiseControl.Core.Util;
namespace WellEngineered.CruiseControl.Core.Publishers
{
/// <summary>
///
/// </summary>
public class EmailGateway
{
private string mailhostUsername = null;
private PrivateString mailhostPassw... |
using System;
using System.Drawing;
namespace MechParser.NET.Mechs.Slots
{
public static class HardpointTypeExtensions
{
public static string Name(this HardpointType type)
{
return type switch
{
HardpointType.Ballistic => "Ballistic",
Har... |
using System;
using System.Threading;
namespace Net.Sockets;
public readonly struct SocketId : IEquatable<SocketId>
{
private static int NextId;
private readonly uint Id;
private SocketId(uint id)
{
this.Id = id;
}
public override bool Equals(object? obj) => obj is SocketId other && this.Equals(other);
p... |
using MediatR;
namespace Marble.Tests.Fakes.Requests
{
public sealed class NotRegisteredRequest : IRequest<RequestResponse>
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Obi;
[RequireComponent(typeof(ObiRope))]
public class RopeSweepCut : MonoBehaviour
{
public Camera cam;
ObiRope rope;
LineRenderer lineRenderer;
Vector3 cutStartPosition;
private void Awake()
{
rope... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.