text stringlengths 1 932k |
|---|
using System;
using System.Windows.Data;
using Ozeki.VoIP;
namespace OzekiDemoSoftphoneWPF.GUI.Converters
{
class MessageSummaryToBoolConverter : IValueConverter
{
#region IValueConverter Members
public object Convert(object value, Type targetType, object parameter, System.Globalization.Cultu... |
//---------------------------------------------------------------------
// <copyright file="SqlFunctionCallHandler.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//
// @owner [....]
// @backupOwner [....]
//---------------------------------------------------... |
// Copyright (c) 2019, WebsitePanel-Support.net.
// Distributed by websitepanel-support.net
// Build and fixed by Key4ce - IT Professionals
// https://www.key4ce.com
//
// Original source:
// Copyright (c) 2015, Outercurve Foundation.
// All rights reserved.
//
// Redistribution and use in source and binary forms, wit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
namespace CoreApiContainer.Controllers
{
[Route("api/[controller]")]
[ApiController]
public class ValuesController : ControllerBase
{
// GET api/values
[HttpGet]
public ActionResu... |
/*
* 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 System;
using System.Net;
using CR_Documentor.Server;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using TypeMock;
namespace CR_Documentor.Test.Server
{
[TestClass]
[VerifyMocks]
public class HttpRequestEventArgsTest
{
[TestMethod]
public void Ctor_NonNullRequestContext()
{
HttpListenerConte... |
using SuperBaddy.Combat.Cards;
using System;
using System.Collections.Generic;
namespace SuperBaddy.Combat.Players
{
public class Player : BasePlayer
{
public Player(string name, PlayerStats stats, List<ICard> deck)
{
Name = name;
IsUser = true;
HP = stats.H... |
using System;
using System.Threading;
using Orleans.Runtime.Scheduler;
namespace Orleans.Runtime.Messaging
{
internal class IncomingMessageAgent : AsynchAgent
{
private readonly IMessageCenter messageCenter;
private readonly ActivationDirectory directory;
private readonly OrleansTaskSch... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using HtmlAgilityPack;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace CodeMiner.Cest {
/// <summary>
/// Possui métodos estáticos úteis para a mineração e manipulação de códigos CEST.
/// </summary>
static class CestExtensions {
/// <summar... |
// © 2021 NIREX @ MIT
using System.Collections.Generic;
using System.Net.Sockets;
namespace NConnectivity.EventArguments
{
public class TransferArgs : SocketArgs
{
public TransferArgs(Socket sock, byte[] data, int size) : base(sock)
{
Data = data;
Size = size;
... |
using System.Collections.Generic;
using System.Linq;
using System.Net.Http;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Extensions.Logging;
using Moq;
using NBitcoin;
using Stratis.Bitcoin;
using Stratis.Bitcoin.AsyncWork;
using Stratis.Bitcoin.Configura... |
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using UnityEngine;
using UnityEngine.UI;
public class HighScores : MonoBehaviour
{
[SerializeField]
private Dropdown dropdown;
[SerializeField]
private GameObject highScorePrefab;
[Serialize... |
using System.Security.Claims;
using Illusive.Utility;
namespace Illusive.Models.Extensions {
public static class ForumDataExtensions {
public static ForumData AssignOwner(this ForumData forumData, ClaimsPrincipal claimsPrincipal) {
forumData.OwnerId = claimsPrincipal.GetUniqueId();
... |
using UnityEngine;
using UnityEngine.UI;
using Firebase;
using Firebase.Database;
using Firebase.Unity.Editor;
public class Database : MonoBehaviour
{
// Database connection.
[SerializeField] private string _databaseUrl;
private DatabaseReference _reference;
// Database structure.
[SerializeF... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace SpaceWizards.HttpListener
{
internal enum EntitySendFormat
{
ContentLength = 0, // Content-Length: XXX
Chunked = 1, // Transfer-Encoding: chunked
... |
using System;
namespace BinaryBlister
{
/// <summary>
/// The exception thrown when trying to read a playlist with an invalid magic number
/// </summary>
public class InvalidMagicNumberException : Exception
{
}
/// <summary>
/// The exception thrown when trying to read a playlist cont... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Channels;
using System.Threading.Tasks;
using RabbitMQ.Client;
using RabbitMQ.Client.Events;
using RabbitMQ.Client.Exceptions;
using... |
using System;
using System.Collections.Generic;
using LSL;
namespace Examples
{
public sealed class HandleMetaData
{
public static void Run()
{
// create a new StreamInfo and declare some meta-data (in accordance with XDF format)
using StreamInfo streamInfo = new("MetaT... |
/*
* Copyright (c) 2019 Samsung Electronics Co., 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/licenses/LICENSE-2.0
*
* Unless required by applicable... |
#pragma checksum "/home/cmdann/Development/tutorials/web/WebApp1/Pages/_ViewStart.cshtml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "7091c65830b0329e613be026ede8a57552863778"
// <auto-generated/>
#pragma warning disable 1591
[assembly: global::Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemAttribute(typeof(WebApp1.... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated from a template.
//
// Manual changes to this file may cause unexpected behavior in your application.
// Manual changes to this file will be overwritten if the code is regenerated.
//... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace App.Pages
{
public class PrivacyModel : PageModel
{
public void OnGet()
{
}
}
} |
// Copyright (c) Petabridge <https://petabridge.com/>. All rights reserved.
// Licensed under the Apache 2.0 license. See LICENSE file in the project root for full license information.
// See ThirdPartyNotices.txt for references to third party code used inside Helios.
using System;
using System.Text;
namespace Helio... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
namespace Moryx.Controls.Demo.Views
{
/// <summary>
/// Interaction logic for NavigationBarView.xaml
/// </summary>
public partial class NavigationBarView
{
public NavigationBarView()
... |
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using JetBrains.Annotations;
using JetBrains.Diagnostics;
using JetBrains.ProjectModel;
using JetBrains.ReSharper.Psi;
using JetBrains.ReSharper.Psi.CSharp;
using JetBrains.ReSharper.Psi.CSharp.Tree;
using JetBrains.ReSharper.Psi.Naming.Ex... |
using EC.Norma.Core;
using System;
using System.Collections.Generic;
using System.Text;
namespace EC.Norma.Core
{
public class NonConfiguredRequirement : NormaRequirement
{
public NonConfiguredRequirement() : base()
{
}
public NonConfiguredRequirement(String action, String r... |
using System;
using System.Runtime.CompilerServices;
using Datadog.Trace.Vendors.Serilog.Events;
namespace Datadog.Trace.Logging
{
internal interface IDatadogLogger
{
bool IsEnabled(LogEventLevel level);
void Debug(string messageTemplate, [CallerLineNumber] int sourceLine = 0, [CallerFilePath]... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace EveOpenApi.Interfaces
{
public interface IApiConfig
{
bool UseRequestQueue { get; set; }
bool RateLimitThrotle { get; set; }
string UserAgent { get; set; }
string SpecURL { get; }
}
} |
using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using ShopifySharp.Filters;
using ShopifySharp.Infrastructure;
namespace ShopifySharp
{
/// <summary>
/// A service for manipulating Shopify's UsageCharge API.
/// </summary>
pu... |
// 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.Collections.Generic;
using System.Linq;
using System.Reflection;
using Microsoft.EntityFrameworkCore.Diagnostics;
using Xunit... |
namespace SpyGram
{
using System;
using System.Collections.Generic;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
public class Program
{
public static void Main()
{
var key = Console.ReadLine();
var command = Console.Rea... |
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("Hy... |
using Scorpio.Application.Dtos;
using Scorpio.Domain.Entities;
using Scorpio.Domain.Repositories;
using System;
using AutoMapper.QueryableExtensions;
using System.Linq;
using System.Threading.Tasks;
using System.Threading;
using Scorpio.Linq;
using AspectCore.Injector;
namespace Scorpio.Application.Services
{
///... |
// Copyright (c) Cratis. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.Collections.Concurrent;
using System.Collections.ObjectModel;
using System.Dynamic;
using System.Reactive.Subjects;
using Cratis.Changes;
using Cratis.Events.... |
using System.IO;
using CP77.CR2W.Reflection;
using FastMember;
using static CP77.CR2W.Types.Enums;
namespace CP77.CR2W.Types
{
[REDMeta]
public class AISubActionSetStimSource_Record_Implementation : IScriptable
{
public AISubActionSetStimSource_Record_Implementation(CR2WFile cr2w, CVariable parent, string name) ... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Personal.Models.UniversalModels
{
public class TableModel
{
public int MaxPlayers { get; set; }
public int MinPlayers { get; set; }
public int MaxBet { get; set; }
public int MinBet { get; ... |
using LibElite.PilotJournal.Converter;
namespace LibElite.PilotJournal.Events.StationServices
{
[EventType("MissionFailed")]
public class MissionFailed : EventBase
{
public string Name { get; set; }
public int MissionID { get; set; }
public bool Fine { get; set; }
}
} |
// <auto-generated>
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for
// license information.
//
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// re... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Ship_Game.Audio;
namespace Ship_Game.GameScreens.Espionage
{
public class EmpireButton : UIElementV2
{
public readonly Empire Empire;
readonly EspionageScreen Screen;
readonly Action<EmpireButton... |
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using osu.Framework.Bindables;
namespace osu.Game.Screens.Edit
{
/// <summary>
/// Wraps the contents of the editor clipboard.
/// </summa... |
// https://docs.microsoft.com/en-us/visualstudio/modeling/t4-include-directive?view=vs-2017
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Microsoft.Bot.Builder.Solutions.Responses;
namespace EmailSkill.Responses.FindContact
{
/// <summary>
/// Contains ... |
using System.Runtime.InteropServices;
using static Tmds.Linux.LibraryNames;
namespace Tmds.Linux
{
public static unsafe partial class LibC
{
public static int sigpause(int sig)
=> __xpg_sigpause(sig);
[DllImport(libc, SetLastError = true)]
private static extern int __xpg_si... |
//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 may not use t... |
using System;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using DataModel;
using DevExpress.Web.Mvc;
using DevExpress.XtraPrinting.Shape;
using DevExpress.XtraReports.UI;
using Microsoft.AspNet.Identity;
using MvcBaseApp.Models;
... |
/******************************************************************************
* Spine Runtimes License Agreement
* Last updated January 1, 2020. Replaces all prior versions.
*
* Copyright (c) 2013-2020, Esoteric Software LLC
*
* Integration of the Spine Runtimes into software or otherwise creating
* derivative... |
using System;
using System.Linq;
namespace NextApi.Server.Base
{
/// <summary>
/// useful utils for nextapi entity services
/// </summary>
public static class NextApiUtils
{
private static string FirstCharToUpper(string input)
{
return input switch
{
... |
@model Steel_Test.Models.User
@{
ViewBag.Title = "Create";
}
<h2>Добавление</h2>
@using (Html.BeginForm("Create", "User", null, FormMethod.Post, new { enctype = "multipart/form-data" }))
{
@Html.AntiForgeryToken()
<div class="form-horizontal">
<h4>Пользователя</h4>
<hr />
@... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Fithub.UI.Interfaces
{
public interface IEntityService<T>
{
public string Endpoint { get; }
public IEnumerable<T> Get();
public Task Request(object args);
public Task Add(T entity);
... |
using System.Collections.Generic;
namespace TPUM.Shared.Logic.WebModel
{
public interface IAuthor : IEntity
{
string FirstName { get; set; }
string LastName { get; set; }
string NickName { get; set; }
List<IBook> Books { get; }
}
} |
using BizHawk.Common;
namespace BizHawk.Emulation.Cores.Nintendo.NES
{
//AKA mapper 068 (and TENGEN-800042)
//After Burner & After Burner 2
//Maharaja
public sealed class Sunsoft4 : NES.NESBoardBase
{
//configuration
int prg_bank_mask, chr_bank_mask, nt_bank_mask;
//state
ByteBuffer chr_regs_2k = new ... |
using BICommon;
using BIModel.Access;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace BIFileParam
{
/// <summary>
/// 文件列表
/// </s... |
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
namespace tsorcRevamp.Items.Accessories {
public class EssenceOfMana : ModItem {
public override void SetStaticDefaults() {
DisplayName.SetDefault("Essence of Mana");
Tooltip.SetDefault("Increases mana by 100.");
... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Projeto.Infra.Data.Entities
{
public class Cliente
{
public int IdCliente { get; set; }
public string Nome { get; set; }
public string Cpf { get; set; }
public string Email { get; set; }
public... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Chutzpah;
using Microsoft.VisualStudio;
using Microsoft.VisualStudio.Shell.Interop;
namespace VS11.Plugin
{
public static class VsSolutionHelper
{
public static IEnumerable<IVsHierarchy> Enume... |
// *** 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 Sharpen;
namespace gov.nist.javax.sip.header.ims
{
[Sharpen.NakedStub]
public interface PVisitedNetworkIDHeader
{
}
[Sharpen.NakedStub]
public abstract class PVisitedNetworkIDHeaderClass
{
}
} |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Runtime.Serialization;
using System;
namespace U.DalilaDB
{
[DataContract(Name = "SID")]
public sealed class SID
{
[DataMember()]
private string id;
public static char[] validCharacters = ... |
/****************************************************************
Copyright 2021 Infosys Ltd.
Use of this source code is governed by Apache License Version 2.0 that can be found in the LICENSE file or at
http://www.apache.org/licenses/
***************************************************************/
using System;
u... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
namespace AfricasTalkingCS
{
using System;
using Newtonsoft.Json;
public partial class OTP
{
/// <summary>
/// Gets or sets the OTP.
/// This contains the One Time Password that the card issuer sent to the client that owns the payment card
/// </summary>
[JsonP... |
namespace CSShaders
{
public enum GLSLstd450
{
Bad = 0, // Don't use
Round = 1,
RoundEven = 2,
Trunc = 3,
FAbs = 4,
SAbs = 5,
FSign = 6,
SSign = 7,
Floor = 8,
Ceil = 9,
Fract = 10,
Radians = 11,
Degrees = 12,
Sin = 13,
Cos = 14,
Tan = 1... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// アセンブリに関する一般情報は以下の属性セットをとおして制御されます。
// アセンブリに関連付けられている情報を変更するには、
// これらの属性値を変更してください。
[assembly: AssemblyTitle("Tutorial")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: Assem... |
using System;
using System.Xml.Serialization;
namespace Aop.Api.Domain
{
/// <summary>
/// UserMailInfoOrder Data Structure.
/// </summary>
[Serializable]
public class UserMailInfoOrder : AopObject
{
/// <summary>
/// 联系所在城市
/// </summary>
[XmlElement("city")]
... |
namespace SailingTripMap {
public class NavPoint {
}
} |
using Perpetuum.Host.Requests;
using Perpetuum.Units;
using Perpetuum.Zones;
namespace Perpetuum.RequestHandlers
{
public class ZoneRemoveObject : IRequestHandler
{
private readonly IZoneManager _zoneManager;
public ZoneRemoveObject(IZoneManager zoneManager)
{
_zoneManager... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ToolGood.Algorithm.MathNet.Numerics.RootFinding;
namespace ToolGood.Algorithm.MathNet.Numerics.Distributions
{
public class FisherSnedecor
{
public static double CDF(double d1, double d2, double x)
{
... |
using System;
namespace CodeSample.Models
{
public class ResponseModel
{
public string Message { get; set; }
public ResponseModel(string message)
=> Message = message;
}
} |
namespace NServiceBus.Gateway.Tests.Idempotency.Raven
{
using NUnit.Framework;
[TestFixture]
public class When_storing_a_duplicate_message : in_the_raven_storage
{
[Test]
public void Should_return_false_to_notify_that_the_message_is_already_received()
{
var message ... |
/*
* 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... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
namespace Microsoft.CommonDataModel.ObjectModel.Persistence.CdmFolder
{
using Microsoft.CommonDataModel.ObjectModel.Cdm;
using Microsoft.CommonDataModel.... |
using System;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using ClearHl7.Extensions;
using ClearHl7.Helpers;
using ClearHl7.Serialization;
using ClearHl7.V231.Types;
namespace ClearHl7.V231.Segments
{
/// <summary>
/// HL7 Version 2 Segment OBR - Observation Request.
/... |
using System;
using NetRuntimeSystem = System;
using System.ComponentModel;
using NetOffice.Attributes;
using NetOffice.ExcelApi;
namespace NetOffice.ExcelApi.Behind
{
/// <summary>
/// DispatchInterface ModelChanges
/// SupportByVersion Excel, 15, 16
/// </summary>
/// <remarks> MSDN Online: http://msdn.micros... |
namespace HandyControl.Data
{
/// <summary>
/// 表示一个操作的返回结果信息
/// </summary>
public class OperationResult<T> : OperationResult
{
/// <summary>
/// 操作结果
/// </summary>
public ResultType ResultType { get; set; }
/// <summary>
/// 返回数据
... |
using System;
using EventsExpress.Db.Enums;
namespace EventsExpress.ViewModels
{
public class UserManageViewModel
{
public Guid Id { get; set; }
public string Email { get; set; }
public string Username { get; set; }
public string PhotoUrl { get; set; }
public DateTi... |
@model DatesRangesSearchModel
@{
//page title
ViewBag.Title = T("Admin.Configuration.Shipping.DatesAndRanges").Text;
//active menu item (system name)
Html.SetActiveMenuItemSystemName("Dates and ranges");
}
@{
const string hideDatesBlockAttributeName = "DatesAndRangesPage.HideDatesBlock";
var h... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using FluiTec.DbLocalizationProvider.DataAnnotations;
using FluiTec.DbLocalizationProvider.Internal;
using Microsoft.AspNetCore.Mvc.ModelBinding.Validation;
namespace FluiTec.AppFx.Localization.MetadataProv... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Data;
using System.Data.SqlClient;
/// <summary>
/// Sql Connection File rp_MSsqlDB.
/// </summary>
public class DAL
{
SqlConnection con = null;
public DAL()
{
con = new SqlConnection();
con.C... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace MVC_CRUD
{
public class Program
{
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace RubberChicken
{
/// <summary>
/// A rubber chicken.
/// </summary>
class RubberChicken
{
... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/winnt.h in the Windows SDK for Windows 10.0.20348.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
using System.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public class BankAccount
{
private int id;
private double balance;
public int ID
{
get { return this.id; }
set { this.id = value; }
}
public double Balance
... |
using DokanNet;
using System;
using System.IO;
using SecureFolderFS.Sdk.Paths;
using SecureFolderFS.Core.FileSystem.OpenHandles;
using SecureFolderFS.Core.FileSystem.Operations;
using SecureFolderFS.Core.Helpers;
using SecureFolderFS.Core.Paths;
namespace SecureFolderFS.Core.FileSystem.FileSystemAdapter.Dokan.Callbac... |
// MonoGame - Copyright (C) The MonoGame Team
// This file is subject to the terms and conditions defined in
// file 'LICENSE.txt', which is part of this source code package.
namespace Microsoft.Xna.Framework.Graphics
{
partial class VertexBuffer
{
private void PlatformConstruct()
{
}
... |
using System;
using System.Collections.Generic;
using System.Text;
using Entity.Framework;
namespace Entity.Components
{
public class FUEL_TYPE : Entity.Framework.EntityBase
{
private string _pK_ID;
private string _fUELTYPE;
public string FUELTYPE
{
get { return _fUELTYP... |
namespace BaristaLabs.Skrapr.ChromeDevTools.Network
{
using Newtonsoft.Json;
/// <summary>
/// Fired when WebSocket frame is sent.
/// </summary>
public sealed class WebSocketFrameSentEvent : IEvent
{
/// <summary>
/// Request identifier.
/// </summary>
[JsonProp... |
using System;
using Content.Client.CombatMode;
using Content.Client.Hands;
using Content.Shared.Weapons.Ranged.Components;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
using Robust.Client.Player;
using Robust.Shared.GameObjects;
using Robust.Sha... |
using Microsoft.Extensions.Logging;
using org.apache.zookeeper;
using Rabbit.Zookeeper;
using Surging.Cloud.CPlatform.Cache;
using Surging.Cloud.CPlatform.Cache.Implementation;
using Surging.Cloud.CPlatform.Serialization;
using Surging.Cloud.CPlatform.Utilities;
using Surging.Cloud.Zookeeper.Configurations;
using Surg... |
//
// BackEase.cs
//
// Author:
// Stephane Delcroix <stephane@delcroix.org>
//
// Copyright (C) 2009 Novell, Inc.
// Copyright (C) 2009 Stephane Delcroix
//
// Permission is hereby granted, free of charge, to any person obtaining
// a copy of this software and associated documentation files (the
// "Software"), to d... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;... |
// c:\program files (x86)\windows kits\10\include\10.0.22000.0\um\mfplay.h(108,1)
namespace DirectN
{
public enum MFP_MEDIAPLAYER_STATE
{
MFP_MEDIAPLAYER_STATE_EMPTY = 0,
MFP_MEDIAPLAYER_STATE_STOPPED = 1,
MFP_MEDIAPLAYER_STATE_PLAYING = 2,
MFP_MEDIAPLAYER_STATE_PAUSED = 3,
... |
using System;
using System.Collections.Generic;
using wj.AgnosticSql.Extensions;
namespace wj.AgnosticSql
{
/// <summary>
/// Defines fluent syntax extensions to build SQL query objects.
/// </summary>
public static class SqlModelExtensions
{
#region SimpleInsertQuery Extensions
//... |
using System.Text.RegularExpressions;
namespace LaubPlusCo.Foundation.HelixTemplating.Tokens
{
public class ValidateVersionNumberToken : ValidateTokenByRegEx
{
protected override Regex Expression => new Regex(@"^(\d+\.)?(\d+\.)?(\*|\d+)$", RegexOptions.Compiled);
protected override string Message => "{0} ... |
using System.Collections.Generic;
using System.Linq;
using ESFA.DC.ILR.Model.Interface;
using ESFA.DC.ILR.ValidationService.Interface;
using ESFA.DC.ILR.ValidationService.Rules.Abstract;
using ESFA.DC.ILR.ValidationService.Rules.Constants;
using ESFA.DC.ILR.ValidationService.Rules.Query.Interface;
namespace ESFA.DC.I... |
// ----------------------------------------------------------------------------------
//
// 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... |
//
// Copyright (c) Microsoft and contributors. 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
//
// Unless requ... |
#region License
// Copyright (c) 2007 James Newton-King
//
// 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, ... |
/*
Copyright (C) 2010-2013 David Mitchell
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, distrib... |
using DevExpress.ExpressApp.Model;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Ultra.UniversalSearch;
namespace Ultra... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.