content stringlengths 23 1.05M |
|---|
using System.Diagnostics.CodeAnalysis;
using Xunit;
namespace Orleans.TelemetryConsumers.ECS;
public sealed class EcsTaskMetadataBaseAddressProviderTest : BaseAddressEnvironmentVariableTest
{
public EcsTaskMetadataBaseAddressProviderTest(BaseAddressEnvironmentVariableFixture fixture) : base(fixture)
{
}
... |
// Copyright (c) "Neo4j"
// Neo4j Sweden AB [http://neo4j.com]
//
// This file is part of Neo4j.
//
// 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/... |
using System;
using System.Web.Mvc;
namespace AspNetMvcSeo
{
internal static class ViewDataDictionaryExtensions
{
internal static readonly string ViewDataKey = typeof(SeoHelper).FullName;
public static SeoHelper GetSeoHelper(this ViewDataDictionary viewData)
{
if (viewData... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Networking;
public class CustomLobbyManager : NetworkLobbyManager {
// When a player is loaded into the game scene set up if the player is a seeker or not
public override bool OnLobbyServerSceneLoadedForPlayer(GameObje... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Fungus;
public class Clock : MonoBehaviour
{
public int minutes;
public int hours;
public string ampm;
public Flowchart mainFlowchart;
// Start is called before the first frame update
vo... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Prism.Parser.Cpp
{
public class CppLineReader : TokenReader
{
/// <summary>
/// Common end of line tokens to look for
/// </summary>
private char[] m_EndOfLineTokens... |
namespace EternalArrowBackup.ContentTransformer.ClearText
{
using System;
internal static class BufferHelpers
{
public static void Add(byte[] source, byte[] target, int targetOffset) {
Buffer.BlockCopy(source, 0, target, targetOffset, source.Length);
}
public static vo... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.TestPlatform.Extensions.TrxLogger.ObjectModel
{
using System.Diagnostics;
using System.Xml;
using Microsoft.TestPlatform.Ex... |
using System.IO;
namespace NPOI.HPSF
{
/// <summary>
/// Adds writing capability To the {@link Property} class.
/// Please be aware that this class' functionality will be merged into the
/// {@link Property} class at a later time, so the API will Change.
/// @author Rainer Klute
/// <a href="mailto:klute@rainer... |
class A {
static B x;
int y;
}
public class B {
static A x;
static public void Main() {}
}
|
using System.Collections.Generic;
using IntergalacticTravel.Contracts;
namespace IntergalacticTravel
{
internal class BusinessOwner : Unit, IBusinessOwner
{
private readonly ICollection<ITeleportStation> teleportStations;
public BusinessOwner(int identificationNumber, string nickName, IEnumer... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[System.Serializable]
public class BlogPost {
public string title;
public string body;
public int userId;
public BlogPost(string title, string body, int userId) {
this.title = title;
this.body = body;
this.userId = userId;
}
}
|
using System;
using MediatR;
using SharedLib.Domain.Bus.Command;
namespace Application.Patients.Create
{
public class CreatePatientCommand : ICommand<Unit>
{
public string PersonId { get; set; }
public int IdType { get; set; }
public string FirstName ... |
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace DomainDrivenDesign.CoreEcommerce.Ef
{
[Table("VoucherCode")]
public class VoucherCode
{
[Key]
public Guid Id { get; set; }
[StringLength(32)]
public strin... |
using System;
using System.IO;
namespace Mindfulthinktank.Utilities
{
/// Preprocesses a file for C-style #include directives.
///
class Program {
public static void Main(string[] arguments) {
if (arguments.Length != 3) {
throw new Exception(string.Format("Expecting 3 arguments; got {0}: {1}",
... |
// This file constitutes a part of the SharpMedia project, (c) 2007 by the SharpMedia team
// and is licensed for your use under the conditions of the NDA or other legally binding contract
// that you or a legal entity you represent has signed with the SharpMedia team.
// In an event that you have received or obtained ... |
@using NExtensions
@model Wiz.Gringotts.UIWeb.Models.Funds.FundEditorForm
@{
ViewBag.Title = "Edit Fund";
if (Model.Fund != null)
{
ViewBag.Title += " to {0}".FormatWith(Model.Fund.Name);
}
}
@Html.Partial("_ModelErrors")
<div class="panel panel-default">
<div class="panel-heading">
... |
namespace SubStringInText
{
using System;
class SubStringInText
{
static void Main()
{
string subString = Console.ReadLine();
string inputString = Console.ReadLine();
// to perform insensitive search
subString = subString.ToLower();
... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
using TeleScope.Persistence.Json.Binder;
namespace TeleScope.Persistence.Json.Extensions
{
/// <summary>
/// The extension class enables a simplified binding of concrete types
/// to the `Newtonsoft.Json` de- and serialization process.
/// </... |
using System.Collections.Generic;
using Com.Fubei.OpenApi.Sdk.Models;
using Newtonsoft.Json;
namespace Com.Fubei.OpenApi.NetCore2.Models.Response.Agent
{
/// <summary>
/// 付款码支付/订单查询
/// http://docs.51fubei.com/agent-api/payment/orderPay.html
/// http://docs.51fubei.com/agent-api/payment/orderQuery.ht... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Common.Helpers
{
public static class EnumHelper
{
public static String GetEnumDescription(this Enum obj)
{
System.Reflection.Fi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Org.OpenAPITools.Model;
namespace VictorOpsBackendApi.Services
{
public class TeamServiceMock : ITeamService
{
private IServiceDataMocks _dataMocks;
public TeamServiceMock(IServiceDataMocks d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace SimCore.Universe
{
public class Faction
{
public string Name = string.Empty;
public string Initals = string.Empty;
public string ShortName = string.Empty;
public string ShipPrefix = ... |
namespace QFramework.PointGame
{
public class OnMissEvent
{
}
} |
using System;
using System.Linq.Expressions;
using JetBrains.Annotations;
using Microsoft.EntityFrameworkCore.Query;
using Microsoft.EntityFrameworkCore.Query.SqlExpressions;
using Microsoft.EntityFrameworkCore.Storage;
using Npgsql.EntityFrameworkCore.PostgreSQL.Query.Internal;
using Npgsql.EntityFrameworkCore.Postgr... |
namespace CachingFramework.Redis.Contracts
{
/// <summary>
/// Represents a member of type T with geospatial information (coordinates and distance)
/// </summary>
/// <typeparam name="T">The member type.</typeparam>
public class GeoMember<T>
{
/// <summary>
/// Gets or sets the ... |
using System.Collections.Generic;
using ConDep.Dsl.Validation;
namespace ConDep.Dsl.Operations.Infrastructure.IIS
{
public class IisInfrastructureOperation : RemoteCompositeOperation
{
private readonly List<string> _featuresToAdd = new List<string>();
private readonly List<string> _featuresToR... |
using System;
using PureMVC.Interfaces;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Remoting.Messaging;
using PureMVC.Patterns.Command;
using UnityEngine;
public class TestPanel_0_Mediator_0 : UnityMediator
{
public TestPanel_0_Mediator_0(string mediatorName, object viewCompon... |
namespace SyNet.EventArguments
{
using System;
/// <summary>
/// CLASS Custom EventArgs identifying which device/node was just discovered
/// </summary>
public class NodeDiscoveredEventArgs : EventArgs
{
private readonly UInt64 m_dvcDeviceID;
private readonly bool m_bFullParameters;
... |
using System;
using System.Collections.Generic;
namespace CommonAlgo.CrackingTheCodingInterview
{
public class Tower
{
private readonly Stack<int> _disks;
private readonly int _index;
public Tower(int i)
{
_disks = new Stack<int>();
_index = i;
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class elevator : MonoBehaviour
{
int a = 0;
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
upupup();//improve-> ... |
// Copyright 2021 Carnegie Mellon University. All Rights Reserved.
// Released under a MIT (SEI)-style license. See LICENSE.md in the project root for license information.
using Microsoft.Extensions.DependencyInjection;
using Player.Api.Infrastructure.OperationFilters;
using Player.Api.Options;
using System;
using Sys... |
using System;
namespace EventReminder.Application.Core.Abstractions.Common
{
/// <summary>
/// Represents the interface for getting the current date and time.
/// </summary>
public interface IDateTime
{
/// <summary>
/// Gets the current date and time in UTC format.
/// </s... |
namespace SDKExamples.UWP.Slider
{
public sealed partial class OneThumbSlider : ExamplePageBase
{
public OneThumbSlider()
{
this.InitializeComponent();
}
}
}
|
using System;
using System.Collections.Generic;
using System.Text;
using libsecondlife;
using libsecondlife.Packets;
namespace libsecondlife.TestClient
{
public class StatsCommand : Command
{
public StatsCommand(TestClient testClient)
{
Name = "stats";
Description = "Pro... |
namespace SimUDuck.Behaviors
{
public interface IQuackBehaviour
{
public void Quack();
}
}
|
// Copyright (c) Aurora Studio. All rights reserved.
//
// Licensed under the MIT License. See LICENSE in the project root for license information.
using Aurora.Music.Core;
using Aurora.Shared.MVVM;
using System;
using System.Threading.Tasks;
using Windows.ApplicationModel.AppExtensions;
using Windows.Foundation.Colle... |
using System;
using System.Collections.Generic;
using Autofac;
using GalaSoft.MvvmLight;
using Operation.WPF.Services;
namespace Operation.WPF.ViewModels
{
public class ShellViewModel:
ViewModelBase, INavigationService, IViewModelFactory
{
private readonly Lazy<IEnumerable<ViewModelB... |
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2021 iText Group NV
Authors: iText Software.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License version 3
as published by the Free Software Foundation with the addition of the... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Runtime.InteropServices;
using System.Text;
namespace Leadzum.Framework.Data.Entities
{
public partial class SystemConfig
{
[Key]
[Datab... |
using Device.Aplication.Commands.Test;
using HotChocolate.Types;
namespace Device.Aplication.GraphQL.Types {
public class TriggerUnAuthorisedPayloadType : ObjectType<Trigger_UnAuthorisedPayload> {
protected override void Configure(IObjectTypeDescriptor<Trigger_UnAuthorisedPayload> descriptor) {
}
... |
using System;
namespace TeachMeSkills.DotNet.Task3
{
class Program
{
static void Main(string[] args)
{
double pi = Math.PI;
Console.Write("Enter radius : ");
double r = Double.Parse(Console.ReadLine());
Console.WriteLine("Square = {0:00.00}", (do... |
/*
* Problem 2. Float or Double?
Which of the following values can be assigned to a variable of type float and which to a variable of type double:
* 34.567839023, 12.345, 8923.1234857, 3456.091?
Write a program to assign the numbers in variables and print them to ensure no precision is lost.
*/
using System;
cla... |
using System.Linq;
using System.Web.Http;
using FluentValidation;
using NerdBudget.Core.Models;
using NerdBudget.Core.Services;
using Newtonsoft.Json;
namespace NerdBudget.Web.ApiControllers
{
/// <summary>
/// Represents a basic controller for Map
/// </summary>
[RoutePrefix("api/maps"), Authorize]
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AddressableAssets;
public class SubAsset : MonoBehaviour {
public AssetReference assetRef;
//public Mesh mesh;
void Start() {
assetRef.LoadAssetAsync<GameObject>().Completed += (operation) => {
... |
using SuchByte.MacroDeck.Folders.Plugin.GUI;
using SuchByte.MacroDeck.GUI;
using SuchByte.MacroDeck.GUI.CustomControls;
using SuchByte.MacroDeck.Language;
using SuchByte.MacroDeck.Plugins;
using SuchByte.MacroDeck.Profiles;
using SuchByte.MacroDeck.Server;
using System;
using System.Collections.Generic;
using System.D... |
using cloudscribe.Web.SimpleAuth.Models;
using Microsoft.Extensions.Options;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace cloudscribe.Web.SimpleAuth.Services
{
public class DefaultAuthSettingsResolver : IAuthSettingsResolver
{
public Defau... |
using AutoMapper;
using Grpc.Core;
using GrpcCountryApi.Domain.Entities;
using GrpcCountryApi.Protos.v1;
using GrpcCountryApi.Services.Interfaces;
using System.Threading.Tasks;
namespace GrpcCountryApi.Web.Services
{
public class CountryGrpcService : CountryService.CountryServiceBase
{
private readonl... |
public class AppResources {
//^^
//{[{
/// <summary>
/// Looks up a localized string similar to OK.
/// </summary>
public static string WatchItemNamePageBottomButtonText {
get {
return ResourceManager.GetString("WatchItemNamePageBottomButtonText", resourceCulture);
}
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CocosSharp;
using tests;
using System.Diagnostics;
namespace CocosSharp
{
public class AtlasDemoNew : TestNavigationLayer
{
//protected:
public AtlasDemoNew()
{
}
public enum ... |
// Copyright (c) Allan Nielsen.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using OurPresence.Modeller.Domain;
namespace OurPresence.Modeller.Fluent
{
public static class Module
{
public static ModuleBuilder Create(string company,st... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NUnit.Framework;
using AutoPoco.Engine;
using AutoPoco.Testing;
namespace AutoPoco.Tests.Integration.Complete
{
[TestFixture]
public class WhenOverridingDataSourceOnObjectCreation
{
IGenerationSession mSess... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BingApplication : MonoBehaviour
{
string currentXMLName;
public void UpdateXML()
{
this.currentXMLName = GameObject.FindObjectOfType<Characters_Player>().SaveProvenance();
}
/* esta chamada está se... |
using Blade.Entity;
using Blade.Entity.BaseManage;
using Blade.Util;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Blade.IService.BaseManage
{
public interface IBaseRoleService
{
Task<PageResult<BaseRoleInfoDTO>> GetDataListAsync(PageInput<RolesInputDTO> input);
Tas... |
namespace Minecraft.Commands {
public class ExitApplicationCommand : ICommand {
private readonly Window window = null;
public ICommand Undo => null;
public ExitApplicationCommand(Window window) {
this.window = window;
}
public void Execute() {
this.window.Close();
}
}
} |
// Copyright (c) MicroElements. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Text.Json;
using MicroElements.Swashbuckle.FluentValidation.Generation;
using Microsoft.Extensions.DependencyInjection;
namespace MicroElements.Swash... |
using System;
namespace Common
{
class Range<T> where T : IComparable<T>
{
public T From { get; set; }
public T To { get; set; }
public Range(T @from, T to)
{
From = @from;
To = to;
}
public bool HasIntersectionWith(Range<T> second)
... |
namespace WDE.MySqlDatabaseCommon.Providers
{
public interface IWorldDatabaseSettingsProvider
{
IDbAccess Settings { get; set; }
}
} |
using System;
using Godot;
public class GeneratorButton : HBoxContainer
{
private bool _initialized;
private Generator _generator = null!;
public Generator Generator
{
get => _generator;
set {
_generator = value;
if (_initialized)
UpdateValues();
}
}
private Label _costLabel = null!;
priva... |
using System;
using System.Net.Http;
using AutoFixture;
using BookLovers.Base.Infrastructure;
using BookLovers.Publication.Application.WriteModels.PublisherCycles;
using FluentHttpRequestBuilderLibrary;
using SimpleE2ETesterLibrary.Interfaces;
namespace BaseTests.EndToEndHelpers.HttpRequests.Publications
{
public... |
using SimpleWebApiServer;
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using YTDownloader.Api.RequestParameters;
namespace YTDownloader.Api
{
public class Download : ApiPostRequestResponse<DownloadRequestParameters>
{
public Download(HttpListenerRequestCache cache = n... |
using UnityEngine;
using System.Collections.Generic;
public abstract class MovementGroup : Movement
{
public abstract bool Ended { get; }
protected List<Movement> movements = new List<Movement>();
public MovementGroup AddMovement(Movement movement)
{
movements.Add(movement);
return this;
}
public void Upd... |
/*
* Copyright (c) 2018 THL A29 Limited, a Tencent company. 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 License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Security;
using System.Text;
using Xunit;
namespace... |
using System;
using BeatLabs.Utils;
using UnityEngine;
namespace BeatLabsPlaygrounds._08_SeatBaber
{
public class Saber : MonoBehaviour
{
public float Pitch = 55.0f;
public event Action<Saber, Block> collidedWithBlock;
private SaberBlade _saberBlade;
private Vector3 _previo... |
using System;
using System.Collections.Generic;
using System.Linq;
using JetBrains.dotMemoryUnit;
using JetBrains.dotMemoryUnit.Kernel;
using NUnit.Framework;
namespace patterns.library.Flyweight
{
public class User
{
private string fullName;
public User(string fullName)
{
... |
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
using System;
using CodeGenerator.Infra.Common.Entity;
using CodeGenerator.Core.Entities;
namespace CodeGenerator.Core.Maps
{
public class ApplicationRoleMap : EntityTypeConfiguration<ApplicationRole>
{
public o... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using HotChocolate.Language;
using HotChocolate.Properties;
using HotChocolate.Types.Descriptors.Definitions;
using HotChocolate.Utilities;
namespace HotChocolate.Types.Descriptors
{
public cl... |
/***
*
* Parts of this work are derived from sample code included in
* https://developer.impinj.com/modules/PDdownloads/visit.php?cid=6&lid=45
* and copyright 2007 by Impinj, Inc. That code is licensed under the Apache License, Version 2.0, and available at
* http://www.apache.org/licenses/LICENSE-2.0
*... |
using Newtonsoft.Json;
namespace HamnetDbAbstraction
{
/// <summary>
/// Container for the host data set as received from HamnetDB.
/// </summary>
[JsonObject]
internal class JsonHostDataSet : JsonDataSetBase
{
/// <summary>
/// Gets or sets the IP address of the host... |
@*
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860
*@
@{
}
<a class="btn btn-success mt-2 mb-2"
asp-controller=@ViewData["Controller"]
asp-action="create">Crear</a>
|
using Newtonsoft.Json;
namespace SoftAPIClient.Example.Models.GitHub
{
public class GitHubBodyRequest : GitHubBodyRequestShort
{
[JsonProperty("state")]
public string State { get; set; }
[JsonProperty("organization_permission")]
public string OrganizationPermission { get; set;... |
namespace Cake.Npm.Pack
{
using System;
using System.Collections.Generic;
using System.Linq;
using Core;
using Core.Diagnostics;
using Core.IO;
using Core.Tooling;
/// <summary>
/// Tool for packaging npm modules.
/// </summary>
public class NpmPacker : NpmTool<NpmPackSetti... |
using Microsoft.AspNetCore.Mvc;
using ShredMates.Data;
using ShredMates.Services.Interfaces;
using ShredMates.Web.Models;
using System;
using System.Threading.Tasks;
namespace ShredMates.Web.Controllers
{
public class CategoryController : Controller
{
private readonly ICategoryService categories;
... |
// CS0131: The left-hand side of an assignment must be a variable, a property or an indexer
// Line: 13
using System;
public class Foo<T>
{
}
class X
{
static void Main ()
{
Foo<X> = new Foo<X> ();
}
}
|
using DTPathfinder.HelperClasses;
using System;
using System.Drawing;
namespace DayTripper
{
public class SearchableMap
{
private readonly MapTile[,] _map;
public Size Size;
public int Width => Size.Width;
public int Height => Size.Height;
public static readonly byte B... |
using UnityEngine;
namespace RTG
{
public class GizmoDblAxisScaleDrag3D : GizmoPlaneDrag3D
{
public struct WorkData
{
public int AxisIndex0;
public int AxisIndex1;
public Vector3 DragOrigin;
public Vector3 Axis0;
public Ve... |
using System.Linq;
using BudgetTools.Classes;
using BudgetTools.Models;
using BudgetToolsBLL.Services;
using TemplateEngine;
namespace BudgetTools.Presenters
{
public interface IBalancesPresenter
{
string GetPage();
string GetTransactionRows();
}
public class BalancesPresenter : Mast... |
using UnityEngine;
namespace HexesOfMortvell.Core.Grid
{
/// <summary>
/// A cell's terrain type.
/// </summary>
[CreateAssetMenu(
fileName="New Terrain Type",
menuName="HexesOfMortvell/Terrain")]
public class BoardCellTerrain : ScriptableObject
{
/// <summary>
/// How much moving into the cell costs in... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class EnemySlime : MonoBehaviour {
private Rigidbody2D rig;
private Animator anim;
public float speed;
public int health;
public LayerMask layer;
public Transform point;
public float radius;
void St... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GetAngle : MonoBehaviour {
double angle1,angle2,angle3 ;
// Update is called once per frame
void Update () {
//angle = Vector3.Angle (transform.eulerAngles, target.eulerAngles);
//Debug.Log (angle);
//angle = AngleB... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ContactPoint.Common;
using MySql.Data.MySqlClient;
namespace ContactPoint.Plugins.MySqlAddressBook
{
internal class SqlConnectionManager
{
private string _connectionString = String.Empty;
public string... |
using System;
using UnityEngine;
namespace DefaultNamespace
{
public class Bellow: MonoBehaviour
{
public GameObject needle;
private int pumpCount;
public Sprite squeezed;
public Sprite notSqueezed;
private AudioSource source;
public AudioClip activateSound;
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Runtime.CompilerServices;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Media;
namespace FluentHub.ViewModels.UserControls.Labels
{
public cla... |
// CS3009: `CLSClass': base type `System.Runtime.Serialization.Formatter' is not CLS-compliant
// Line: 10
// Compiler options: -warnaserror -warn:1
using System;
using System.Runtime.Serialization;
[assembly:CLSCompliant (true)]
public abstract class CLSClass: Formatter {
}
|
using SqlKata.Compilers;
namespace Apollo.Database
{
internal static class SqlExtensions
{
private static readonly Compiler Compiler = new MySqlCompiler();
public static string CompileQuery(this SqlKata.Query query)
{
return Compiler.Compile(query).ToString();
}
... |
using System.Collections.Generic;
using System.Text.Json;
using MatrixSharp.Api.EventSchemas.Schema.CoreEventSchema;
namespace MatrixSharp.Api.EventSchemas.Schema
{
/// <summary>
/// A map of users which are considered ignored is kept in ``account_data``
/// in an event type of ``m.ignored_user_list``.
//... |
using System;
using System.IO;
using System.Reflection;
using System.Runtime.InteropServices;
using InventorScreenshot.Commands;
using InventorScreenshot.Utilities;
namespace InventorScreenshot
{
[GuidAttribute("b3aa6727-f2d0-4c6d-8150-16fa9c493dff")]
public class StandardAddInServer : Inventor.ApplicationAdd... |
using Microsoft.Extensions.Logging;
using System;
using System.Linq;
namespace LinkedMink.Processor
{
public abstract class Processor<TProcessor, TContext>
where TContext : ApplicationContext, new()
{
public Processor(string[] arguments)
{
Context = new TContext();
... |
using System;
using System.Collections.Generic;
using System.IO;
namespace Inbox2.Platform.Channels.Entities
{
public class ChannelMessage
{
public string MessageNumber { get; set; }
public string MessageIdentifier { get; set; }
public string InReplyTo { get; set; }
public string SourceFolder { ge... |
using System;
using Autofac;
using Microsoft.AspNetCore.Builder;
using Microsoft.Extensions.DependencyInjection;
namespace Maruko.Core.Modules
{
public abstract class KernelModule : Module
{
/// <summary>
/// 初始化加载
/// </summary>
/// <param name="builder"></param>
prote... |
//----------------------------------------------------------------------------
// <copyright file="CircularLinkedList.cs"
// company="Markus M. Egger">
// Copyright (C) 2018 Markus M. Egger. All rights reserved.
// </copyright>
// <author>Markus M. Egger</author>
// <description>
// A circular list data... |
using System.Runtime.Intrinsics;
using CodeHelpers.Mathematics;
using EchoRenderer.Common;
using EchoRenderer.Mathematics;
using EchoRenderer.Mathematics.Primitives;
using EchoRenderer.Rendering.Memory;
using EchoRenderer.Textures;
namespace EchoRenderer.Rendering.Materials
{
using static Utilities;
pu... |
namespace CyberCAT.Core.DumpedEnums
{
public enum audioESoundCurveType
{
Log3 = 0,
Sine = 1,
InversedSCurve = 3,
Linear = 4,
SCurve = 5,
Exp1 = 6,
ReciprocalOfSineCurve = 7,
Exp3 = 8
}
}
|
namespace Factorius {
class TileChunk {
public static readonly int CHUNK_SIZE;
public TilePos Chunk { private set; get; }
public TileWorld World { private set; get; }
private TileInstance[,] tiles;
public TileChunk(TilePos chunkPos, TileWorld world) {
Chunk = chunkPos;
World = world;
tiles = new... |
namespace NRaft.Core
{
/// <summary>
/// Represents a single log entry.
/// </summary>
public class LogEntry
{
/// <summary>
/// Gets/Sets the term when entry was received by leader.
/// </summary>
public long Term { get; set; }
/// <summary>
/// Gets/Sets the position of entry in the log.
/// </sum... |
using System;
using iSukces.Code.Interfaces;
namespace iSukces.Code.AutoCode
{
public interface IExpressionDelegateArgs : IArgumentsHolder
{
ITypeNameResolver Resolver { get; }
}
} |
namespace InfiniEngine {
public class Weapon : Item {
public Weapon(string name, uint id) : base(name, id) {
// Damnthony dodo can implement this
}
}
}
|
using ETModel;
namespace ETHotfix
{
public static class MatcherFactory
{
/// <summary>
/// 创建匹配对象
/// </summary>
/// <param name="playerId"></param>
/// <param name="userId"></param>
/// <returns></returns>
public static Matcher Create(long playerId, lon... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FinalProjectFDM
{
interface IBet
{
List<string> Bet(Int32 numberBid, double moneyGiven);
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.