text stringlengths 1 932k |
|---|
using Grasshopper.Kernel;
using Grasshopper.Kernel.Parameters;
using Grasshopper.Kernel.Types;
using Rhino.Geometry;
using System;
using System.Collections.Generic;
using System.Drawing;
namespace ThreePlus.Components
{
public class GH_Scene : GH_Component
{
/// <summary>
/// Initializes a new... |
using System;
using System.Collections.Generic;
using System.Linq;
using PCLActivitySet.Dto.Recurrence;
namespace PCLActivitySet.Domain.Recurrence
{
public static class DaysOfWeekExt
{
public static bool DateMatches(this DateTime date, EDaysOfWeekExt dowe)
{
EDaysOfWeekExt dateDowe ... |
// <auto-generated>
// Code generated by Microsoft (R) AutoRest Code Generator.
// Changes may cause incorrect behavior and will be lost if the code is
// regenerated.
// </auto-generated>
namespace Gov.Lclb.Cllb.Interfaces
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using System.Colle... |
using System;
using System.Runtime.Serialization;
namespace ICSharpCode.SharpZipLib.Zip
{
[Serializable]
public class ZipException : SharpZipBaseException
{
protected ZipException(SerializationInfo info, StreamingContext context) : base(info, context)
{
}
public ZipException()
{
}
public ZipExceptio... |
/*
* 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 UnityEngine;
using UnityEngine.Tilemaps;
using Assets.Scripts.Interactive.Activable;
using Assets.Scripts.Player;
namespace Assets.Scripts.Environnement
{
public class RoomInstance : MonoBehaviour {
public Vector2 gridPos;
public RoomType RoomType;
public RoomInstance roomTop, roomBot, roomLeft, ... |
using GraphQL;
using GraphQL.Types;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NHLStats.Api.Models;
using NHLStats.Core.Data;
using NHLStats.Data;
using NHL... |
// <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... |
// <auto-generated />
using System;
using Testing.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
nam... |
#region Copyright notice and license
// Copyright 2019 The gRPC Authors
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless... |
/*
* 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.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace WxPayAPI
{
/// <summary>
/// 扫码支付模式一回调处理类
/// 接收微信支付后台发送的扫码结果,调用统一下单接口并将下单结果返回给微信支付后台
/// </summary>
public class NativeNotify:Notify
{
public NativeNotify(... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Diagnostics.CodeAnalysis;
using System.Globalization;
using System.IO... |
namespace Mapbox.Unity.Location
{
using System.Collections;
using UnityEngine;
using Mapbox.Utils;
public class KittyDeviceLocationProvider : AbstractLocationProvider
{
/// <summary>
/// Using higher value like 500 usually does not require to turn GPS chip on and thus saves battery power.
/// Values... |
using System;
namespace LinqToDB.DataProvider.SqlServer
{
using Mapping;
using SqlProvider;
class SqlServer2019SqlBuilder : SqlServer2017SqlBuilder
{
public SqlServer2019SqlBuilder(IDataProvider? provider, MappingSchema mappingSchema, ISqlOptimizer sqlOptimizer, SqlProviderFlags sqlProviderFlags)
: base(pro... |
using System;
using Android.App;
using Android.Content.PM;
using Android.Runtime;
using Android.Views;
using Android.Widget;
using Android.OS;
namespace XamLottie.Droid
{
[Activity(Label = "XamLottie", Icon = "@mipmap/icon", Theme = "@style/MainTheme", MainLauncher = true, ConfigurationChanges = ConfigChanges.Sc... |
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Linq.Expressions;
using System.Reflection;
using System.Text;
namespace Nest
{
internal static class TypeExtensions
{
internal static readonly MethodInfo GetActivatorMethodInfo =
typeof(TypeExte... |
using System.Collections.Generic;
namespace Geonorge.Symbol.Models.Translations
{
public class Culture
{
public const string EnglishCode = "en";
public const string EnglishName = "Engelsk";
public const string NorwegianCode = "no";
public const string NorwegianName = "Norsk";
... |
using System.Linq.Expressions;
namespace Legacy.Core.Comparison.Strict
{
public class GotoNodeComparer : INodeComparerForType
{
public ExpressionType NodeType => ExpressionType.Goto;
public ComparisonResult AreEqual(IComparisonEffector childrenComparer, Expression leftExpression, Expression r... |
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using Newtonsoft.Json.Converters;
using PureCloudPlatform.Client.V2.Client;
namespace PureClo... |
#if FEATURE_MOQ
using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Net;
using System.Text;
using Moq;
using NUnit.Framework;
using StackExchange.Redis.KeyspaceIsolation;
namespace StackExchange.Redis.Tests
{
[TestFixture]
public sealed class WrapperBaseTests
{
... |
using System;
using Hik.Communication.Scs.Client;
using Hik.Communication.Scs.Communication.EndPoints.Tcp;
using Hik.Communication.Scs.Server;
namespace Hik.Communication.Scs.Communication.EndPoints
{
///<summary>
/// Represents a server side end point in SCS.
///</summary>
public abstract class ScsEn... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.RazorPages;
namespace socialarts.club.Areas.MyProgressJournal.Pages
{
public class IndexModel : PageModel
{
public string Message { get; set; }
public void OnGet()
... |
using System.Collections.Generic;
using System.Runtime.Serialization;
using mGitHub.SampleApp.Model;
namespace mGitHub.SampleApp.Services
{
[DataContract]
public class UserContainer
{
[DataMember(Name = "user")]
public User User { get; set; }
}
[DataContract]
public class RepositoryContainer
{
[DataMemb... |
using Microsoft.AspNetCore.Mvc;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using LBH.AdultSocialCare.Transactions.Api.V1.Boundary.SupplierBoundary.Response;
using LBH.AdultSocialCare.Transactions.Api.V1.Infrastructure.RequestExtensions;
using LBH.AdultSocialCare.Tra... |
using System;
using Org.BouncyCastle.Asn1.X509;
namespace Org.BouncyCastle.Asn1.Crmf
{
public class CertTemplate
: Asn1Encodable
{
private readonly Asn1Sequence seq;
private readonly DerInteger version;
private readonly DerInteger serialNumber;
private readonly Algori... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace lab_48_mvc_web_demo.Models
{
public class College
{
public College()
{
this.Students = new HashSet<Student>();
}
public int CollegeId { get; set; }
pu... |
// WARNING
//
// This file has been generated automatically by Xamarin Studio to store outlets and
// actions made in the UI designer. If it is removed, they will be lost.
// Manual changes to this file may not be handled correctly.
//
using Foundation;
using System.CodeDom.Compiler;
namespace SourceWriter
{
[Registe... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License (MIT). See License.txt in the repo root for license information.
// ------------------------------------------------------------
namespace Microsoft.Azure.I... |
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 ContosoUniversity.DAL;
using System.Data.Entity.Infrastructure.Interception;
namespace ContosoUniversity
{
public class MvcApplication : System.... |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - WebApplication</title>
<environment names="Development">
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.css" />
<... |
//
// https://github.com/ServiceStack/ServiceStack.Redis
// ServiceStack.Redis: ECMA CLI Binding to the Redis key-value storage system
//
// Authors:
// Demis Bellot (demis.bellot@gmail.com)
//
// Copyright 2017 ServiceStack, Inc. All Rights Reserved.
//
// Licensed under the same terms of ServiceStack.
//
using Sy... |
using System.Web.Http;
using Microsoft.Azure.Mobile.Server.Config;
using System.Threading.Tasks;
using System.Net.Http;
using System.Net;
using Conference.DataObjects;
using System;
using Conference.Backend.Models;
using System.Configuration;
namespace Conference.Backend.Controllers
{
[MobileAppController]
pu... |
#if !NET35
namespace Oliviann.Net.Http
{
#region Usings
using System;
using System.Net.Http;
#endregion Usings
/// <summary>
/// Represents a collection of commonly used extension methods for extending
/// <see cref="HttpRequestMessage"/>.
/// </summary>
public static class Http... |
/*
* 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... |
// *** 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... |
namespace MyPet.Data.Seeding
{
using System;
using System.Threading.Tasks;
public interface ISeeder
{
Task SeedAsync(ApplicationDbContext dbContext, IServiceProvider serviceProvider);
}
} |
#region Using directives
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
using System.... |
/**
* Copyright (c) 2017 The Campfire Union Inc - All Rights Reserved.
*
* Licensed under the MIT license. See LICENSE file in the project root for
* full license information.
*
* Email: info@campfireunion.com
* Website: https://www.campfireunion.com
*/
using UnityEngine;
using System.Collections;
namespac... |
using Catalog.API.Configurations;
using Catalog.API.Entities;
using Microsoft.Extensions.Options;
using MongoDB.Driver;
namespace Catalog.API.Data
{
public class CatalogContext : ICatalogContext
{
//private readonly IOptions<DatabaseConfiguration> _databaseConfiguration;
public CatalogContext(... |
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using UnitOfWork.Domain.Entities;
namespace UnitOfWork.Web.Models.Home
{
public class IndexViewModel
{
public IList<Product> Products { get; set; }
[Required]
... |
using System;
using System.Text.Encodings.Web;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.Filters;
using Microsoft.AspNetCore.Mvc.RazorPages;
using Microsoft.Extensions.Logging;
using OrchardCore.DisplayManagement;
using OrchardCore.DisplayManagement.Layout;
using Orcha... |
using System;
using System.Collections.Generic;
namespace ChemEngThermCal.Model.Algorithm {
/// <summary>
/// 迭代器的父类
/// </summary>
public abstract class IteratorBase {
public IteratorBase(double startValue, double itrPrecision, int maxStep) {
StartValue = startValue;
I... |
using System.Collections.Generic;
using Essensoft.AspNetCore.Payment.Alipay.Response;
namespace Essensoft.AspNetCore.Payment.Alipay.Request
{
/// <summary>
/// alipay.marketing.campaign.rule.crowd.delete
/// </summary>
public class AlipayMarketingCampaignRuleCrowdDeleteRequest : IAlipayRequest<AlipayM... |
using System;
using System.Collections.Concurrent;
using System.Net;
using System.Net.Sockets;
using System.Threading;
using EventStore.ClientAPI.Common.Utils;
namespace EventStore.ClientAPI.Transport.Tcp {
//TODO GFY THIS CODE NEEDS SOME LOVE ITS KIND OF CONVOLUTED HOW ITS WORKING WITH TCP CONNECTIONS
internal cla... |
using System;
using System.Runtime.Serialization;
namespace TestKSP1
{
[Serializable]
internal class UnableToOpenSocketException : Exception
{
public UnableToOpenSocketException()
{
}
public UnableToOpenSocketException(string message) : base(message)
{
}
... |
// 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.Immutable;
using System.Composition;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.CodeAnalysis.LanguageServices;
namespac... |
using Dock.Model.ReactiveUI.Controls;
namespace AvaloniaDemo.ViewModels.Tools
{
public class Tool6ViewModel : Tool
{
}
} |
/*
* 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
*
... |
namespace VTMap.Core.Enums
{
public enum HorizontalAlignment
{
Left,
Center,
Right
}
} |
namespace OpenStack.Services.ContentDelivery.V1
{
using System;
using OpenStack.Net;
/// <summary>
/// This class represents an HTTP API call to <placeholder/> in the Content Delivery Service.
/// </summary>
/// <seealso cref="IContentDeliveryService.PrepareGetSubsystemHealthAsync"/>
/// <... |
// Copyright (c) 2020 Sergio Aquilini
// This code is licensed under MIT license (see LICENSE file for details)
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using FluentAssertions;
using Microsoft.Data.Sqlite;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Dependenc... |
namespace SkillUseCounter.Entity
{
/// <summary>
/// キープ 残ポイント
/// </summary>
public class KeepDamage
{
public const double InvalidKeepDamage = double.NaN;
/// <summary>
/// 攻撃側 残ポイント
/// </summary>
public double AttackKeepDamage { get; }
/// <sum... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace _02.Max_Method
{
class Program
{
static void Main(string[] args)
{
int firstNum = int.Parse(Console.ReadLine());
int secondNum = int.Parse(Conso... |
using System;
using System.Windows.Forms;
using Battleships.Game;
namespace Battleships
{
public partial class frm_Battleships : Form
{
Game.Game game = null;
public frm_Battleships()
{
InitializeComponent();
}
void frm_Battleships_Load(object sender, Even... |
/***********************************************************************************************************************
Copyright (c) 2016, Imagination Technologies Limited and/or its affiliated group companies.
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, ... |
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("09... |
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("IQMStarterKit")]
[assembly: AssemblyDescri... |
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using System;
namespace kiblah_skkb.Data.Migrations {
public partial class CreateIdentitySchema : Migration {
protected override void Up(MigrationBuilder migrationBuilder) {
migrationBuilder.CreateTab... |
using System;
using System.Buffers.Binary;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Threading.Tasks;
namespace Solnet.Anchor.CodeGen
{
public static class SigHash
{
private static readonly SHA256 digest = SHA256.Create();
... |
namespace DevilDaggersSurvivalEditor.Enumerators
{
public enum SpawnsetEnemy
{
Empty = -1,
Squid1 = 0,
Squid2 = 1,
Centipede = 2,
Spider1 = 3,
Leviathan = 4,
Gigapede = 5,
Squid3 = 6,
Thorn = 7,
Spider2 = 8,
Ghostpede = 9,
}
} |
using System;
using WebFormsMvp;
using OnLineShop.Data.Services;
using OnLineShop.Data.Models;
using Bytes2you.Validation;
namespace OnLineShop.MVP.Categories.Admin
{
public class CategoriesAdminPresenter : Presenter<ICategoriesAdminView>
{
private readonly ICategoryService categoryService;
... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** 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;
names... |
// *** 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... |
@model Photography.Models.RegisterModel
@{
ViewBag.Title = "Register";
}
<hgroup class="title">
<h1>@ViewBag.Title.</h1>
<h2>Create a new account.</h2>
</hgroup>
@using (Html.BeginForm()) {
@Html.AntiForgeryToken()
@Html.ValidationSummary()
<fieldset>
<legend>Registration Form</legen... |
using ACTFoundation.Models.Generated;
using System;
using System.Collections.Generic;
using System.Linq;
namespace ACTFoundation.Core.ViewModels.Partials.Layout
{
public class CurrentProjectsViewModel
{
public CurrentProjectsViewModel(CurrentProjects currentProjects)
{
if (currentP... |
/*
* 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 ... |
/* =================================================================================================== */
/* FMOD Studio - Error string header file. Copyright (c), Firelight Technologies Pty, Ltd. 2004-2017. */
/* */
/*... |
/*
* 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... |
// 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.Generic;
using System.Drawing.Text;
using System.Runtime.InteropServices;
using Xunit;
namespace System.Drawing.Tests
{
public class FontTests
{
... |
namespace BlazorWinForms
{
partial class Form1
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <... |
namespace V1
{
partial class LifeForm
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/// <param name="disposing">true if managed resources ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
internal static partial class Interop
{
internal static partial class IpHlpApi
{
[DllImport(Interop.Libraries.IpH... |
/*
* 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 System;
using Chinchilla.Logging;
namespace Chinchilla.Sample.BasicPublishSubscribe
{
public class Program
{
public static void Main(string[] args)
{
Logger.Factory = new ConsoleLoggerFactory();
using (var depot = Depot.Connect("localhost/samplepubsub"))
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Ten kod został wygenerowany przez narzędzie.
// Wersja wykonawcza:4.0.30319.42000
//
// Zmiany w tym pliku mogą spowodować nieprawidłowe zachowanie i zostaną utracone, jeśli
// kod zostanie ponownie ... |
// ------------------------------------------------------------
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
// ------------------------------------------------------------
using System.Text.Json;
using Microsoft.AspNetCore.Mvc;
using Divide.Models;
namespace Divide.Controllers
{
[Rout... |
//------------------------------------------------------------------------------
// <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>
//--... |
// 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.Linq;
using CommunityToolkit.Common.Collections;
using Microsoft.VisualStudio.TestTools.U... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
namespace LuaSTGEditorSharp.Toolbox
{
public class TreeViewLineConverter : IValueConverter
{
public object Convert(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using AllenCopeland.Abstraction.Slf.Abstract;
using AllenCopeland.Abstraction.Slf.Abstract.Members;
using AllenCopeland.Abstraction.Slf.Ast.Members;
namespace AllenCopeland.Abstraction.Slf.Ast
{
partial class IntermediateClassTy... |
namespace DICOMcloud.DataAccess
{
public class PersonNameData
{
public string LastName { get; set; }
public string GivenName { get; set; }
public string MiddleName { get; set; }
public string Prefix { get; set; }
public string Suffix { get; set; }
public str... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Configuration;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class OrderSuccess : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
st... |
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
namespace Heirloom.Desktop
{
/// <summary>
/// Represents a physical window on a desktop platform, implements <see cref="Screen"/>.
/// </summary>
public sealed class Window : Screen
{
private IntRectangle... |
// 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 Microsoft.Win32.SafeHandles;
using System.Collections.Generic;
using System.Net.Sockets;
using System.Threadi... |
using System;
using System.Net;
using System.Net.Sockets;
using System.Threading.Tasks;
namespace MyCommon
{
public class TcpConnect
{
string path = System.IO.Path.Combine(System.AppDomain.CurrentDomain.BaseDirectory, "FileRec");
int port = 12000;
readonly object obj = new obj... |
using System;
using MockingData.Generators.Extensions.Interfaces;
using MockingData.Model.Interfaces;
namespace MockingData.Generators.Extensions
{
public class RobohashGenerator : IRobohashGenerator
{
private int Width { get; set; }
private int Height { get; set; }
private Func<IPerso... |
/*
* Naiad ver. 0.5
* Copyright (c) Microsoft Corporation
* 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 ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("Microsoft Azure EventHubs Management Library")]
[assembly: AssemblyDescription("Provi... |
@*
Copyright(c) Voat, Inc.
This file is part of Voat.
This source file is subject to version 3 of the GPL license,
that is bundled with this package in the file LICENSE, and is
available online at http://www.gnu.org/licenses/gpl-3.0.txt;
you may not use this file except in compliance with... |
/*
* Copyright (c) .NET Foundation and Contributors
*
* This software may be modified and distributed under the terms
* of the MIT license. See the LICENSE file for details.
*
* https://github.com/piranhacms/piranha.core
*
*/
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Routing;
namespace Pi... |
using System;
using DotNetCqs;
namespace Griffin.Cqs.Demo.Contracts.Cqs
{
public class DiscountUpdated : ApplicationEvent
{
public DiscountUpdated(Guid discountId)
{
DiscountId = discountId;
}
public Guid DiscountId { get; private set; }
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using Epinova.ElasticSearch.Core.EPiServer.Models.ViewModels.Abstractions;
using EPiServer;
using EPiServer.Core;
using EPiServer.Framework.Web.Resources;
using EPiServer.ServiceLocation;
using EPiServer.Shell.Modules;
using EPiServer.Web;
namespace E... |
using GTANetworkAPI;
using System;
using System.Collections.Generic;
using System.Text;
namespace Mirror.Classes.Models
{
public class JobInfo
{
public static List<JobInfo> JobInformation = new List<JobInfo>();
public string Identification { get; set; }
public string Name { get; set; ... |
@using Server.WebApi.Areas.HelpPage
@model InvalidSample
@if (HttpContext.Current.IsDebuggingEnabled)
{
<div class="warning-message-container">
<p>@Model.ErrorMessage</p>
</div>
}
else
{
<p>Sample not available.</p>
} |
using System;
using System.Xml.Serialization;
namespace Alipay.AopSdk.Core.Domain
{
/// <summary>
/// KbAdvertContentShortLink Data Structure.
/// </summary>
[Serializable]
public class KbAdvertContentShortLink : AopObject
{
/// <summary>
/// 链接地址
/// </summary>
... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using Handelabra;
using Handelabra.Sentinels.Engine.Controller;
using Handelabra.Sentinels.Engine.Model;
namespace Cauldron.Drift
{
public class ThroughTheBreachDriftCharacterCardController : ThroughTheBreachSubCharacterC... |
using Mono.Linker.Tests.Cases.Expectations.Assertions;
namespace Mono.Linker.Tests.Cases.Inheritance.Interfaces.OnValueType {
public class UnusedExplicitInterfaceIsRemoved {
public static void Main ()
{
IFoo i = new A ();
i.Foo ();
}
[Kept]
interface IFoo {
[Kept]
void Foo ();
}
interface ... |
using System;
using System.Runtime.InteropServices;
namespace OpenUtau.Audio.Bindings {
internal static partial class PaBinding {
[StructLayout(LayoutKind.Sequential)]
public readonly struct PaVersionInfo {
public readonly int versionMajor;
public readonly int versionMinor;... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.AI;
using UnityStandardAssets.Characters.ThirdPerson;
using UnityEngine.UI;
/// <summary>
/// An enum consisting of all the possible states.
/// </summary>
public enum TargetState
{
Goal,
Key,
Lever,
Wander... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.