text stringlengths 1 932k |
|---|
// Copyright (c) 2017 Jon P Smith, GitHub: JonPSmith, web: http://www.thereformedprogrammer.net/
// Licensed under MIT licence. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using Microsoft.EntityFrameworkCore;... |
// Copyright (c) Microsoft. All Rights Reserved. Licensed under the MIT license. See the LICENSE.md file in the project root for more information.
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Forms;
using System.Windows.Input;
using Microsoft.VisualStudio.OLE.Interop;
using ... |
// 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.ComponentModel;
using System.Runtime.CompilerServices;
using Microsoft.CodeAnalysis.Options;
using Microsoft.V... |
using Microsoft.Azure.Management.NetApp;
using Microsoft.Azure.Management.NetApp.Models;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Threading;
using Xunit;
namespace NetApp.Tests.Helpers
{
public class ResourceUtils
{
public const long gibibyte = 1024L * 1024... |
using System;
using System.Collections.Generic;
using System.Linq;
using Zilon.Core.Tactics.Spatial;
namespace Zilon.Core.MapGenerators.RoomStyle
{
/// <summary>
/// Вспомогательный класс для генератора комнат.
/// </summary>
public static class RoomHelper
{
public static void AddAllNeigh... |
/*
* 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... |
#nullable enable
// Copyright (c) 2014 Daniel Grunwald
//
// 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, modif... |
using Newtonsoft.Json;
using OpenBots.Server.SDK.Api;
using OpenBots.Server.SDK.Model;
using System;
using System.Collections.Generic;
using SystemFile = System.IO;
namespace OpenBots.Server.SDK.HelperMethods
{
public class ServerEmailMethods
{
public static void SendServerEmail(UserInfo userInfo, Ema... |
//
// DO NOT MODIFY. THIS IS AUTOMATICALLY GENERATED FILE.
//
#nullable enable
#pragma warning disable CS8618 // Non-nullable field must contain a non-null value when exiting constructor. Consider declaring as nullable.
using System;
using System.Collections.Generic;
namespace CefNet.DevTools.Protocol.Page
{
publi... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.Devices.Bluetooth.GenericAttributeProfile;
using System.Diagnostics;
using Windows.Security.Cryptography;
using Windows.Devices.SerialCommunication;
using System.ComponentModel;
namespace ... |
using System;
using System.Collections.Generic;
namespace EducationAdmin.Sessions.Dto
{
public class ApplicationInfoDto
{
public string Version { get; set; }
public DateTime ReleaseDate { get; set; }
public Dictionary<string, bool> Features { get; set; }
}
} |
using Microsoft.EntityFrameworkCore.Migrations;
namespace LearningCenter.Data.Migrations
{
public partial class ImageUrlUpdated : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ImageUrl",
... |
using Maruko.Core.FreeSql.Internal.AppService;
namespace Cbb.Application
{
public interface IAllCountryOilPriceService : ICurdAppService<AppAllCountryOilPrice, AppAllCountryOilPriceDTO>
{
}
} |
using RulesEngine.Extensions;
using RulesEngine.Models;
using System.Collections.Generic;
using Xunit;
namespace RulesEngine.UnitTest
{
[Trait("Category", "Unit")]
public class ListofRuleResultTreeExtensionTest
{
[Fact]
public void OnSuccessWithSuccessTest()
{
var rules... |
/* _BEGIN_TEMPLATE_
{
"id": "BRMA16_5e",
"name": [
"我听见你了……",
"I hear you..."
],
"text": [
"攻击力提高。",
"Increased Attack."
],
"CardClass": "NEUTRAL",
"type": "ENCHANTMENT",
"cost": null,
"rarity": null,
"set": "BRM",
"collectible": null,
"dbfId": 2427
}
_END_TEMPLATE_ */
namespace... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using HightechAngular.Orders.Base;
using Infrastructure.AspNetCore;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace HightechAngular.Shop.Features.MyOrders
{
public class MyOrdersController : ApiControl... |
using OpenQA.Selenium;
using OpenQA.Selenium.Chrome;
using SeleniumFixture.xUnit.Impl;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
namespace SeleniumFixture.xUnit
{
public class ChromeDriverAttribute : WebDriverAttrib... |
using System;
using System.Collections.Generic;
using System.Text;
using TuShareHttpSDKLibrary.Attributes;
namespace TuShareHttpSDKLibrary.Model.Base
{
/// <summary>
/// 接口:stock_basic <br/>
/// 描述:获取基础信息数据,包括股票代码、名称、上市日期、退市日期等
/// </summary>
[TuShareApi("stock_basic")]
public class StoreBasi... |
#region License
// Copyright 2010 John Sheehan
//
// 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 app... |
using System.Data.Entity.ModelConfiguration;
namespace Orb
{
class EntityEntityTypeConfiguration : EntityTypeConfiguration<Entity>
{
public EntityEntityTypeConfiguration()
{
ToTable("Entities");
HasKey(x => x.Id);
Property(x => x.Name);
Proper... |
#region License
// Copyright (c) .NET Foundation and contributors.
//
// 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 ... |
using System.Collections.Generic;
using UnityEngine;
namespace Mirror.Discovery
{
[DisallowMultipleComponent]
[AddComponentMenu("Network/NetworkDiscoveryHUD")]
[HelpURL("https://mirror-networking.gitbook.io/docs/components/network-discovery")]
[RequireComponent(typeof(NetworkDiscovery))]
public cl... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Windows.UI.Xaml.Data;
namespace NittyGritty.Uno.Converters
{
public class StringEmptyConverter : IValueConverter
{
public object Convert(object value, Type targetType, object param... |
using System.Collections.Generic;
using Microsoft.AspNetCore.Mvc.Rendering;
using Nop.Web.Framework.Models;
using Nop.Web.Framework.Mvc.ModelBinding;
namespace Nop.Web.Areas.Admin.Models.Catalog
{
/// <summary>
/// Represents a related product search model to add to the product
/// </summary>
public p... |
using Ocelot.Responses;
namespace Ocelot.Infrastructure.RequestData
{
public interface IRequestScopedDataRepository
{
Response Add<T>(string key, T value);
Response<T> Get<T>(string key);
}
} |
using System;
using Xunit;
namespace Humanizer.Tests.Localisation.uzCyrl
{
[UseCulture("uz-Cyrl-UZ")]
public class TimeSpanHumanizeTests
{
[Theory]
[Trait("Translation", "Google")]
[InlineData(366, "1 йил")]
[InlineData(731, "2 йил")]
[InlineData(1096, "3 йил")]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SparqlForHumans.Models.RDFExplorer;
namespace SparqlForHumans.Benchmark
{
public static class GraphVariations
{
public static List<RDFExplorerGraph> GetGraphVariations(this RDFExplorerGraph graph)
{
... |
// Copyright (c) Spekt Contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Spekt.TestLogger.UnitTests.Extensions
{
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Spekt.TestLogger.Extensions;
[TestClas... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data;
using System.Data.Entity;
using System.Data.Entity.ModelConfiguration;
using System.Data.Entity.ModelConfiguration.Conventions;
using System.Linq;
using Sy... |
using ARKBreedingStats.Library;
using ARKBreedingStats.species;
using ARKBreedingStats.values;
using System;
using System.IO;
using System.Text.RegularExpressions;
namespace ARKBreedingStats.importExported
{
static class ImportExported
{
public static CreatureValues ImportExportedCreature(string fileP... |
using Ninject;
using System;
using System.Collections.Generic;
using UnityEngine;
namespace Ninject.Unity
{
/// <summary>
/// Responsible for injections. No direct interaction should be necessary (exception: Providers).
/// </summary>
public class UnityKernel : StandardKernel
{
private IDictionary<Type, GameOb... |
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: src/proto/grpc/testing/services.proto
// Original file comments:
// Copyright 2015, Google Inc.
// All rights reserved.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the followi... |
/*
* 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 DPA_Musicsheets.Lilypond.Interpreter;
using DPA_Musicsheets.Lilypond.Tokenizer;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DPA_Musicsheets.Interfaces
{
interface IExpression
{
void evaluate(LinkedListNode<Token> t... |
// <copyright file="Complex.cs" >
// Copyright (c) 2007 hanzzoid. All rights reserved.
// </copyright>
// <license>
// Licensed under the Code Project Open License (CPOL). See http://www.codeproject.com/info/cpol10.aspx for full license information.
// </license>
// <author id="hanzzoid">hanzzoid</author>
// <... |
using System;
using System.Collections.Generic;
using System.Text;
namespace AggregateConsistency
{
public class AccountUnlocked : UserLoginEvent
{
public AccountUnlocked(string userId) : base(userId)
{
}
}
} |
namespace NAudio.Wave.Compression
{
enum AcmStreamSizeFlags
{
/// <summary>
/// ACM_STREAMSIZEF_SOURCE
/// </summary>
Source = 0x00000000,
/// <summary>
/// ACM_STREAMSIZEF_DESTINATION
/// </summary>
Destination = 0x00000001
}
} |
namespace TableLoader
{
partial class frmTableLoaderUI
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Text;
using System.Threading.Tasks;
using Newtonsoft.Json;
namespace TFSMonkey
{
class StopWords
{
private static readonly IDictionary<string, IEnumerable<string>> filterWordDictionary = new ... |
/* MIT License
Copyright (c) 2016 JetBrains http://www.jetbrains.com
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, mo... |
using System;
namespace StoreUI
{
class Program
{
/// <summary>
/// This is the main method, its the starting point of your application
/// </summary>
/// <param name="args"></param>
static void Main(string[] args)
{
//call method that starts main us... |
using System;
using Newtonsoft.Json;
namespace Essensoft.AspNetCore.Payment.Alipay.Domain
{
/// <summary>
/// AlipayCommerceTransportAdStocktaskBatchqueryModel Data Structure.
/// </summary>
[Serializable]
public class AlipayCommerceTransportAdStocktaskBatchqueryModel : AlipayObject
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace TcpClient
{
class Message
{
public static byte[] GetBytes(string data) {
byte[] dataBytes = Encoding.UTF8.GetBytes(data);
int dataLength = dataBytes.Length;
byte[] lengthBytes = B... |
// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information
using System;
using System.Collections.Generic;
using System.Linq;
using FluentAssertions;
using Nest;
using Tests... |
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//----------------------------------------------------------------
namespace Microsoft.ServiceBus.Messaging.Amqp
{
using System;
using Microsoft.ServiceBus.Messaging.Amqp.Framing;
... |
using System;
using System.Collections.Generic;
namespace PingPong
{
public class PingPong
{
// private List<PingPong> output = new List<PingPong>();
public bool checkInputIsInt(string userInput)
{
int myInt;
bool isInt = int.TryParse(userInput, out myInt);
... |
using System.Drawing;
namespace XDesignerGUI
{
public class RectangleCounter
{
private Rectangle myRect = Rectangle.Empty;
public bool IsEmpty => myRect.IsEmpty;
public Rectangle Value => myRect;
public void Clear()
{
myRect = Rectangle.Empty;
}
public void Add(Rectangle rect)
{
if (myRect.... |
using Knockback.Core;
using Knockback.Utility;
using UnityEngine;
namespace Knockback.Testing
{
public class TestingScript_02 : MonoBehaviour, IUsableEntity
{
[SerializeField] private GameObject bulletPrefab = null;
[SerializeField] private Transform bulletTransform = null;
[SerializeF... |
using System;
using System.ComponentModel;
using System.Threading;
using System.Windows.Forms;
using Palaso.Progress;
namespace Bloom.ToPalaso
{
/// <summary>
/// A Palaso.IProgress-compatible progress dialog which does the work in the background
/// </summary>
public partial class ProgressDialogBackground : Form... |
using Newtonsoft.Json;
namespace PddOpenSdk.Models.Response.Goods
{
public partial class UpdateGoodsQuantityResponseModel : PddResponseModel
{
/// <summary>
/// response
/// </summary>
[JsonProperty("goods_quantity_update_response")]
public GoodsQuantityUpdateResponseResp... |
@using System.Web.Http
@using System.Web.Http.Description
@using Contenedor_WebApi.Areas.HelpPage.Models
@using Contenedor_WebApi.Areas.HelpPage.ModelDescriptions
@model HelpPageApiModel
@{
ApiDescription description = Model.ApiDescription;
}
<h1>@description.HttpMethod.Method @description.RelativePath</h1>
<div>
... |
using System;
using System.IO;
using System.Xml.Serialization;
namespace SKIT.FlurlHttpClient.Wechat.OpenAI
{
/// <summary>
/// 为 <see cref="WechatOpenAIPlatformClient"/> 提供回调通知事件的扩展方法。
/// </summary>
public static class WechatOpenAIPlatformClientEventExtensions
{
private class EncryptedWe... |
// *** 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 Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Logging;
using System;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace AspNetCore.ApiGateway.Middleware
{
internal class GatewayMiddlewareService
{
private readonly RequestDelegate _next;
public GatewayM... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Iot.Device.Magnetometer
{
/// <summary>
/// Registers of the AK8963.
/// </summary>
internal enum Register
{
/// <summary>
/// WIA: Devi... |
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using Microsoft.VisualStudio.TestTools.UnitTesting;
namespace Microsoft.Practices.EnterpriseLibrary.ExceptionHandling.WCF.Tests
{
[TestClass]
public class ExceptionShieldingAttributeFixtu... |
using System.Collections.Generic;
namespace Meowv.Blog.Application.Contracts.Blog
{
public class QueryPostForAdminDto : QueryPostDto
{
/// <summary>
/// Posts
/// </summary>
public new IEnumerable<PostBriefForAdminDto> Posts { get; set; }
}
} |
/*
* 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.IdentityModel.Tokens.Jwt;
using System.Security.Claims;
using System.Text;
using Microsoft.IdentityModel.Tokens;
using Wing.Configuration;
namespace Wing.Auth
{
public class JwtAuth : IAuth
{
private readonly JwtSetting _setting;
public JwtAuth(JwtSetting setting)
... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - TestDebugTroubleshoot_RazorPages</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<link rel="styleshee... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class GameTile : MonoBehaviour
{
public TextMesh Label;
public Renderer TileRenderer;
private static float CalculateFontMultiplier(int value)
{
switch (value.ToString().Length)
{
case 0:
case 1:
case 2:
return ... |
namespace Web.Constants
{
public readonly struct ClaimsNames
{
public const string Id = "id";
}
} |
using AutoMapper;
using Microsoft.EntityFrameworkCore;
using ProductsArchive.Application.Common.Extensions;
using ProductsArchive.Application.Common.Models;
using ProductsArchive.Application.Common.Validators;
namespace ProductsArchive.Application.ProductsSection.ProductGroups.Queries;
public record GetProductGroups... |
// 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.Net.Security;
using System.ServiceModel.Security;
namespace System.ServiceModel.Channels
{
publi... |
namespace EyePatch.Core.Services
{
public interface IFormsAuthenticationService
{
void SignIn(string userName, bool createPersistentCookie);
void SignOut();
}
} |
#region License
// Distributed under the MIT License
// ============================================================
// Copyright (c) 2016 Hotcakes Commerce, LLC
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this software
// and associated documentation files (the "Software"),... |
//
// 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 required... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Linq;
namespace Speech
{
public class CeVIOEnumerator : ISpeechEnumerator
{
string[] _name = new string[0];
string _installedPath = "";
... |
// Copyright (c) 2012, Joshua Burke
// All rights reserved.
//
// See LICENSE for more information.
namespace Frost.Shaping
{
public enum CombinationOperation
{
Combine,
Intersect,
Xor,
Exclude
}
internal enum GeometryCommand : byte
{
ArcTo,
BezierCurveTo,
Close,
LineTo,
MoveTo,
Quadratic... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
namespace ChatPhpSocketClient
{
static class Program
{
/// <summary>
/// The main entry point for the application.
/// </summary>
[STAThread]
static void Main()
{
... |
namespace CasaDoCodigo.Web.ViewModels.Order
{
public class OrderItemViewModel
{
public int Id { get; set; }
public string Name { get; set; }
public int Price { get; set; }
public int Quantity { get; set; }
}
} |
////////////////////////////////////////////////////////////////////////////////
//NUnit tests for "EF Core Provider for LCPI OLE DB"
// IBProvider and Contributors. 08.05.2021.
using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentMode... |
// Animancer // https://kybernetik.com.au/animancer // Copyright 2020 Kybernetik //
using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Animancer
{
partial struct AnimancerEvent
{
/// <summary>
/// A variable-size list of <see cref="AnimancerE... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Cima.Generate
{
public static class Kernel
{
/// <summary>
/// Return a square kernel with all values the same
/// </summary>
/// <param name="value">set every element in the array to this value</param... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Events;
public class OnEmpty : MonoBehaviour
{
public UnityEvent onEmpty;
// Update is called once per frame
void Update()
{
// Check if there are no more children left
if(transform.c... |
using UnityEngine;
using UnityEditor;
namespace Attributes
{
[CustomPropertyDrawer(typeof(Title))]
public class ETitle : DecoratorDrawer
{
private Title _Instance
{
get { return ((Title)attribute); }
}
public override void OnGUI(Rect rect)
{
... |
using Microsoft.DataTransfer.Basics;
using System;
namespace Microsoft.DataTransfer.WpfHost.Basics
{
sealed class Errors : CommonErrors
{
private Errors() { }
public static Exception InvalidTargetConvertionType(Type actualType, Type expectedType)
{
return new InvalidOperat... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Xml;
using Intacct.SDK.Functions;
using Intacct.SDK.Tests.Functions;
using Intacct.SDK.Xml;
using Intacct.SDK.Xml.Request;
using Xunit;
namespace Intacct.SDK.Tests.Xml.Request
{
public class OperationBlockTest : XmlOb... |
// Copyright (c) 2019 Lykke Corp.
// See the LICENSE file in the project root for more information.
namespace MarginTrading.SettingsService.TestClient
{
public class Validator
{
public bool Equals<T>(T contract, T model)
{
foreach (var property in typeof(T).GetProperties())
... |
using _02_WeatherStation_Observer.Displays;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02_WeatherStation_Observer
{
public class Program
{
public static void Main(string[] args)
{
WeatherData weatherData = new WeatherData();
... |
using System.Threading.Tasks;
using Xunit;
namespace Couchbase.UnitTests
{
public class ScopeTests
{
[Fact]
public async Task GetCollection_Returns_Collection()
{
var cluster = new Cluster();
await cluster.Initialize(new Configuration
{
... |
using System.IO;
using System.Runtime.Serialization;
using GameEstate.Formats.Red.CR2W.Reflection;
using FastMember;
using static GameEstate.Formats.Red.Records.Enums;
namespace GameEstate.Formats.Red.Types
{
[DataContract(Namespace = "")]
[REDMeta]
public class CAIDettlaffDefaults : CAIMonsterDefaults
{
public... |
/*
Copyright © Bryan Apellanes 2015
*/
// Model is Table
using System;
using System.Data;
using System.Data.Common;
using Bam.Net;
using Bam.Net.Data;
using Bam.Net.Data.Qi;
namespace Bam.Net.Analytics
{
public partial class Feature
{
// Your code here
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
public static class AttackAbilityIconSelector {
private delegate int IconDelegate(AbilityAttribute attribute);
private static readonly Dictionary<string, int> simpleIconTable;
private static... |
using MediatR;
namespace Order.Infrastructure.Command
{
public interface ICommandHandler<in T>: IRequestHandler<T>
where T : ICommand
{
}
} |
#region S# License
/******************************************************************************************
NOTICE!!! This program and source code is owned and licensed by
StockSharp, LLC, www.stocksharp.com
Viewing or use of this code requires your acceptance of the license
agreement found at https://github.com/St... |
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("Acm... |
namespace Api.Model.SharedKernel;
public record Schedule
{
public DateTime Departure { get; }
public DateTime Arrival { get; }
public TimeSpan Duration { get; }
public Schedule(DateTime departure, DateTime arrival)
{
Departure = departure;
Arrival = arrival;
Duration = Arri... |
using DotnetGraph.Model.Properties;
using System.Collections.Generic;
namespace DotnetGraph.Model.Implementations.Graph.FlowDirectedGraph
{
public class FlowDirectedGraphNode :
IHasId,
IHasOutgoingArcs<FlowDirectedGraphArc>
{
private readonly List<FlowDirectedGraphArc> outgoingArcs;
... |
using System;
using System.ComponentModel.DataAnnotations;
namespace RH.Application.ViewModels
{
public class ColaboradorAdmissaoViewModel
{
[Required(ErrorMessage = "Informe o nome do colaborador")]
[StringLength(100, ErrorMessage = "O nome deve conter entre 2 e 100 caracteres", MinimumLength... |
// Copyright (c) Tunnel Vision Laboratories, LLC. All Rights Reserved.
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
namespace StyleCop.Analyzers.Test.CSharp7.NamingRules
{
using StyleCop.Analyzers.Test.NamingRules;
public class SA1301CSharp7UnitT... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Web.Optimization;
using System.Web.Routing;
using System.Web.Http;
using System.Web.Routing;
using Zirpl.MusicChecker.Web.Models;
namespace Zirpl.MusicChecker.Web
{
public class MvcApplication :... |
@using BugLogger.Services.Areas.HelpPage.ModelDescriptions
@model Type
@{
ModelDescription modelDescription = ViewBag.modelDescription;
if (modelDescription is ComplexTypeModelDescription || modelDescription is EnumTypeModelDescription)
{
if (Model == typeof(Object))
{
@:Object
... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using Mailgun.Core.Messages;
using Mailgun.Exceptions;
using Newtonsoft.Json.Linq;
namespace Mailgun.Messages
{
public class MessageBuilder : IMessageBuilder
{
private IMessage _message;
priv... |
/*
* 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
*
... |
using SysUtils.Utils;
using SharpDX.Direct3D9;
namespace MinerWars.AppCode.Game.Effects
{
using Vector2 = MinerWarsMath.Vector2;
using Vector3 = MinerWarsMath.Vector3;
using Vector4 = MinerWarsMath.Vector4;
using Matrix = MinerWarsMath.Matrix;
class MyEffectSolarMapGrid : MyEffectBase
{
... |
using LoongEgg.LoongLog;
using System;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
/*
| 个人微信:InnerGeeker
| 联系邮箱:LoongEgg@163.com
| 创建时间:2020/6/16 20:40:50
| 主要用途:
| 更改记录:
| 时间 版本 更改
*/
namespace Lesson.UdpCore
{
public class ... |
using System;
using System.Configuration;
namespace Shuttle.Core.Infrastructure
{
[ConfigurationCollection(typeof(ComponentRegistryCollectionElement), AddItemName = "collection",
CollectionType = ConfigurationElementCollectionType.BasicMap)]
public class ComponentRegistryCollectionsElement : Configurat... |
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: MIT-0
// snippet-start:[s3.dotNET.LifecycleTest]
using Amazon;
using Amazon.S3;
using Amazon.S3.Model;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Amazon.DocSamples.S3
{
cl... |
#nullable disable
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.IO;
using System.Text;
namespace Meziantou.Framework.Html
{
public sealed class HtmlReader
{
private readonly StringBuilder _rawValue = new();
private string _currentElement;
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.