text stringlengths 1 932k |
|---|
/*
This file is part of the iText (R) project.
Copyright (c) 1998-2017 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 ... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Logging;
namespace Products.Controllers
{
[ApiController]
[Route("[controller]")]
public class WeatherForecastController : ControllerBase
{
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Lorn.ADSP.Common.DataModels;
namespace Lorn.ADSP.DE.DataModels
{
/// <summary>
/// 广告
/// </summary>
public abstract class Ad
{
/// <summary>
/// 投放计划Id
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json;
using System.Text.Json.Serialization;
using Azure.Core;
namespace Azure.Analytics.Synapse.Artifacts.Models
{
... |
// void metotlar hariç diğer metotlarda "return" ifadesi kullanılmalı. Bunun sebebi void metotlar geriye dönmezken diğer tip türlerindeki metotlar geriye dönen ifadeleri içerir.
// out parametreler
string sayi ="999";
bool sonuc =int.TryParse(sayi, out int outSayi);
if(sonuc)
{
Console.WriteLine("Başarı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... |
using System;
using MonoTouch.UIKit;
using MonoTouch.Dialog;
using System.Drawing;
namespace DynamoDB
{
public class BaseViewController : DialogViewController
{
public BaseViewController (UITableViewStyle style, bool pushing) : base(style , null ,pushing)
{
}
public override void ViewDidLoad ()
{
UIAct... |
// IStorageService.cs
//
using System;
namespace AroundMe.Services {
internal interface IStorageService {
string GetValue(string key);
void SetValue(string key, string value);
}
} |
//------------------------------------------------------------------------------
// <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.... |
/*
* 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 System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using MailKit.Net.Smtp;
namespace ATBase.Net.Mail
{
/// <summary>
///
/// </summary>
[Serializable]
internal class PostEntity : IEquatable<PostEntity>
{
private const St... |
using System;
using System.Threading.Tasks;
using Anemonis.AspNetCore.JsonRpc.UnitTests.TestStubs;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Http;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Moq;
namespace Anemonis.AspNetCore.JsonRpc.UnitTests
{
[TestClass]
public sealed cla... |
using ShoppingAggregator.Models;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ShoppingAggregator.Services
{
public interface IOrderService
{
Task<IEnumerable<OrderResponseModel>> GetOrderByUserName(string userName);
}
} |
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... |
using System;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.Google;
using Owin;
using TestMVC.Models;
namespace TestMVC
{
public partial class Startup
{
// For more information on config... |
using Compliance360.EmployeeSync.Library;
using Compliance360.EmployeeSync.Library.Configuration;
using NUnit.Framework;
namespace Compliance360.EmployeeSync.Testing
{
[TestFixture]
public class ConfigurationTest
{
[Test]
public void ReadAllConfiguration()
{
var contain... |
using Terraria;
using Terraria.ModLoader;
namespace MinecraftAnimals.Dusts
{
public class Enderpoof : ModDust
{
public override void OnSpawn(Dust dust)
{
dust.noGravity = true;
dust.velocity *= 0.75f;
dust.velocity.Y -= 0.75f;
}
public over... |
using PlainElastic.Net.Utils;
namespace PlainElastic.Net.IndexSettings
{
/// <summary>
/// A tokenizer of type nGram that builds N-characters substrings from text.
/// see http://www.elasticsearch.org/guide/reference/index-modules/analysis/ngram-tokenizer.html
/// </summary>
public class NGramToke... |
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
namespace Connectify.ViewModels
{
public class ResetPasswordViewModel
{
[Required]
[EmailAddress]
[Display(Name = "Email")]
public string Email { get; set; }
[Required]
[StringLength... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace Finished_PictureBot_Regex
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// ... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using Azure.Test.Stress;
using CommandLine;
using System;
using System.Threading;
using System.Threading.Tasks;
namespace Azure.Sample.Stress
{
public class DelayTest : StressTest<DelayTest.DelayOptions, DelayTest.Del... |
using MinerPluginToolkitV1.SgminerCommon;
using NiceHashMinerLegacy.Common;
using NiceHashMinerLegacy.Common.Enums;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace SGMinerHub
{
public class SGMiner : SGMinerBase
{
public SGMiner(string uuid, int openClAmdP... |
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("02. Count Substring Occurrences")]
[assemb... |
// ==++==
//
// Copyright (c) Microsoft Corporation. All rights reserved.
//
// ==--==
//============================================================
//
// Class: Environment
//
// Purpose: Provides some basic access to some environment
// functionality.
//
//=========================================================... |
using System.Runtime.Serialization;
using System.Text;
using Newtonsoft.Json;
namespace BigCommerceSharp.Model {
/// <summary>
///
/// </summary>
[DataContract]
public class ErrorFull {
/// <summary>
/// The HTTP status code.
/// </summary>
/// <value>The HTTP status code. </value>
[Da... |
namespace DemoWebsite.Models {
public class Answer {
public int Id { get; set; }
public string Text { get; set; }
public int Order { get; set; }
}
} |
using CommunityToolkit.Mvvm.ComponentModel;
using LiveChartsCore;
using LiveChartsCore.SkiaSharpView;
using LiveChartsCore.SkiaSharpView.Painting;
using LiveChartsCore.SkiaSharpView.Painting.Effects;
using SkiaSharp;
namespace ViewModelsSamples.Design.StrokeDashArray;
[ObservableObject]
public partial class ViewMode... |
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace BinanceChain.NET.NodeRPC.Domain
{
public class SyncInfo : DomainEntity
{
[JsonProperty("latest_block_hash")]
private string LatestBlockHash { get; set; }
[JsonProperty("latest_app_hash"... |
using System;
using System.Collections.Generic;
using Newtonsoft.Json;
/*
* AvaTax API Client Library
*
* (c) 2004-2019 Avalara, Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*
* @author Genevieve Conty
* @author Greg Hester... |
// <copyright file=OpenNIManager.cs
// <copyright>
// Copyright (c) 2016, University of Stuttgart
// 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 limit... |
using IdentityGuard.Core.Repositories;
using IdentityGuard.Core.Services;
using IdentityGuard.Shared.Models;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace IdentityGuard.Core.Managers
{
public class LifecyclePolicyManager
{
p... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright company="Raquellcesar" file="ClickToMoveKeyStates.cs">
// Copyright (c) 2021 Raquellcesar
// Use of this source code is governed by an MIT-style license that can be found in the LIC... |
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Reflection.Emit;
using HarmonyLib;
using UnityEngine;
using Verse;
using Verse.Sound;
using RimWorld;
namespace AreaInclusionExclusion.Patches
{
internal class AreaAllowedGUIPatches
{
internal enum AreaAllowedE... |
using Microsoft.AspNet.Identity;
using System;
using System.Collections.Generic;
using System.Linq;
using Practica2;
public partial class Account_Manage : System.Web.UI.Page
{
protected string SuccessMessage
{
get;
private set;
}
protected bool CanRemoveExternalLogins
{
ge... |
//
// Serializer for byps.test.api.BResult_39910537
//
// THIS FILE HAS BEEN GENERATED. DO NOT MODIFY.
//
using System;
using System.Collections.Generic;
using byps;
namespace byps.test.api
{
public class BSerializer_245460547 : BSerializer {
public readonly static BSerializer instance = new BSerializer_245... |
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@ViewData["Title"] - ExercicioLivro</title>
<link rel="stylesheet" href="~/lib/bootstrap/dist/css/bootstrap.min.css" />
<link rel="stylesheet" href="~/css... |
// 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 enable
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
using System.Linq;
using JetBrains.Annotations;
using osu.Fra... |
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("PocoGen.Runner")]
[assembly: AssemblyDesc... |
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 SBehaviorConstraintStirrupsCommmon : CVariable
{
... |
using HtmlAgilityPack;
using JacobC.Xiami.Models;
using JacobC.Xiami.Services;
using System;
using System.Linq;
using System.Collections.Generic;
using System.Threading;
using System.Threading.Tasks;
using Windows.Foundation;
using static System.Runtime.InteropServices.WindowsRuntime.AsyncInfo;
namespace JacobC.Xiami... |
namespace SpaceStation.IO
{
using IO.Contracts;
using System;
public class Reader : IReader
{
public string ReadLine()
{
return Console.ReadLine();
}
}
} |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT license.
using System;
using TPP.Core.Services.Impl;
using TPP.Core.Services.Models;
using Xunit;
using Xunit.Abstractions;
namespace TPP.UnitTests
{
[CollectionDefinition("TPPDatabase")]
public class SettingsTests : IClas... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Machine.Specifications.Utility
{
/// <summary>
/// Modified from Steve Wagner's ObjectDiff prototype https://gist.github.com/2841822
/// </summary>
public static class Object... |
using System;
class PilhaVaziaException : Exception
{
public PilhaVaziaException(string mensagem) : base(mensagem)
{ }
} |
using SOA.Base;
namespace SOA.Common.Primitives
{
public class
IntReferenceComponent : ReferenceComponent<IntReference, IntVariable, int, IntUnityEvent, IntIntUnityEvent>
{
public void Decrement(int i)
{
_reference.Value -= i;
}
public void Increment(int i)... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[CreateAssetMenu(menuName = "FloatSO")]
public class FloatSO : ScriptableObject
{
[SerializeField] private float value;
public float Value { get => value; set => this.value = value; }
} |
using System;
using System.Collections.Generic;
using UnityEngine;
namespace kevincastejon
{
/// <summary>
///
/// EventDispatcher package encapsulates the delegate system into an event flow similar to the Javascript event system. These are main advantages:
///
/// - No delegate to declare
///... |
using Commons.ExceptionHandling.Exceptions;
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
using Ocelot.Middleware;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Threading.Tasks;
namespace APIGateway.ExceptionHandling {
public class CustomOcelotExceptio... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interop;
using System.Windows.Media;
using Utilities.Win;
using WindowWrap.Infrastructure.Properties;
n... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Collections.Generic;
using System.Xml.Linq;
namespace Azure.Storage.Files.Shares.Models
{
/// <summary>
/// Convert StorageErrors into StorageRequestFailedExceptions.
/// </summary>
... |
// Decompiled with JetBrains decompiler
// Type: CocoStudio.ControlLib.FileSuffix
// Assembly: CocoStudio.ControlLib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 677D14F9-F98B-4FDA-9ECD-6C6F82FD30A1
// Assembly location: C:\Program Files (x86)\Cocos\Cocos Studio 2\CocoStudio.ControlLib.dll
namespac... |
using System.Collections.Generic;
using System.Linq;
using Chinook.DataEF;
using Chinook.Domain.Repositories;
using Chinook.Domain.Entities;
namespace Chinook.DataEFCore.Repositories
{
public class EmployeeRepository : IEmployeeRepository
{
private readonly ChinookContext _context;
public Emp... |
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Threading;
using System.Windows;
namespace HuUtils.Wpf
{
/// <summary>
/// MainWindow.xaml 的交互逻辑
/// </summary>
public partial class MainWindow
{
private static B... |
using System;
using System.Collections.Generic;
using System.ComponentModel.Composition;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Security;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;
using Viewer.Core.Collections;
using Viewer.C... |
/*
* Copyright 2020 New Relic Corporation. All rights reserved.
* SPDX-License-Identifier: Apache-2.0
*/
namespace NewRelic.SystemInterfaces.Web
{
public interface IHttpRuntimeStatic
{
string AppDomainAppVirtualPath { get; }
}
} |
using System.Collections.Generic;
using tezcat.Framework.Game;
namespace tezcat.Framework.Test
{
public class TestTranslator_AllInOne
{
public void init()
{
TezTranslator.setMode(TezTranslationSlot.Category.AllInOne);
TezTranslator.eventLanguageSwitched += eventLanguage... |
using System;
using System.Threading;
using System.Threading.Tasks;
namespace BinanceConsoleApp.Controllers
{
internal class GetAvgPrice : IHandleCommand
{
public async Task<bool> HandleAsync(string command, CancellationToken token = default)
{
if (!command.StartsWith("avgPrice ", ... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Globalization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Routing.Matching;
namespace Microsoft.AspNetCore.Routing.Constraints;
/// <summary>
/// Cons... |
namespace LinqKit_Issue59.Entities
{
class Book
{
public int Id { get; set; }
public string Title { get; set; }
public Author Author { get; set; }
}
} |
namespace DropboxClient
{
public enum FileStatus
{
Preparing,
Downloading,
Uploading,
Finished,
Interrupted
}
} |
/*
* 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.Threading;
namespace Producer_Consumer_Multithreaded_ConsoleApp
{
class Program
{
public static MultiCellBuffer orderBuffer = new MultiCellBuffer();
public static Bank CommonBank = new Bank();
public static Plant[] plants = n... |
/*
* 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... |
/* -*- mode:CSharp; coding:utf-8-with-signature -*-
*/
using UnityEngine;
using System.Collections.Generic;
namespace UTJ {
public class TaskManager {
// singleton
static TaskManager instance_;
public static TaskManager Instance { get { return instance_ ?? (instance_ = new TaskManager()); } }
pri... |
using GiGraph.Dot.Types.Alignment;
namespace GiGraph.Dot.Entities.Attributes.Properties.Common.LabelAlignment
{
public interface IDotLabelAlignmentAttributes
{
/// <summary>
/// Justification for the label. Note that clusters inherit attributes from their parent. Thus, if the root graph se... |
using System;
using System.Diagnostics;
using System.IO;
using System.Text;
namespace LibGit2Sharp.Voron.Tests
{
public class Helper
{
public static void DeleteDirectory(string directoryPath)
{
// From http://stackoverflow.com/questions/329355/cannot-delete-directory-with-directory... |
using System;
using Microsoft.Maui.Controls.CustomAttributes;
using Microsoft.Maui.Controls.Internals;
#if UITEST
using Xamarin.UITest;
using NUnit.Framework;
#endif
namespace Microsoft.Maui.Controls.ControlGallery.Issues
{
#if UITEST
[NUnit.Framework.Category(Core.UITests.UITestCategories.Bugzilla)]
#endif
[Prese... |
// This file is auto-generated, don't edit it. Thanks.
using System;
using System.Collections.Generic;
using System.IO;
using Tea;
namespace AlibabaCloud.SDK.Dingtalkminiapp_1_0.Models
{
public class SetExtendSettingResponse : TeaModel {
[NameInMap("headers")]
[Validation(Required=true)]
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Grammophone.Vectors;
using Grammophone.Kernels;
using Grammophone.SVM;
using Grammophone.Optimization;
namespace SvmTest.Binary
{
[TestClass]
public abstract class Classif... |
using System.ComponentModel;
namespace MolecularWeightCalculatorGUI.PeptideUI
{
internal enum AminoAcidNotationMode
{
[Description("1 Letter Notation")]
OneLetterNotation,
[Description("3 Letter Notation")]
ThreeLetterNotation
}
} |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
namespace Dynamo {
using System;
public class StaticNode : BaseNode
{
protected static int siValue = 200065;
protected DynamoNode smallNode;
pro... |
using Newtonsoft.Json;
using System;
namespace Amazon.JSII.JsonModel.Api.Response
{
[JsonObject(MemberSerialization = MemberSerialization.OptIn)]
public class ErrorResponse
{
public ErrorResponse(string error, string stack = null)
{
Error = error ?? throw new ArgumentNullExcept... |
using Microsoft.Toolkit.Deferred;
using ShareClassLibrary;
using System;
using System.ComponentModel;
using System.IO;
using System.Runtime.InteropServices;
using System.Threading;
using System.Threading.Tasks;
namespace RX_Explorer.Class
{
public sealed class FileChangeMonitor : IDisposable
{
private... |
/*************************************************************************
* Copyright (c) 2010 Hu Fei(xiaotie@geblab.com; geblab, www.geblab.com)
************************************************************************/
using System;
using System.Collections.Generic;
using System.Text;
namespace Geb.Image
{
u... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
// See the LICENSE file in the project root for more information.
/******************************************************************************
* This file is auto-generated from ... |
using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Input;
namespace RuneForge.Core.Input
{
public struct MouseStateEx
{
public readonly MouseState CurrentState;
public readonly MouseState PreviousState;
public int X
{
get
{
... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.
using Entities;
using Microsoft.Azure.Cosmos.Table;
using Microsoft.Azure.Cosmos.Table.Queryable;
using Repositories.Contracts;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Repositor... |
// <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.Jag.PillPressRegistry.Interfaces.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.... |
using System;
using Microsoft.SharePoint.Client;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Collections.Generic;
using OfficeDevPnP.Core.Entities;
using System.Linq;
using OfficeDevPnP.Core.Framework.Provisioning.ObjectHandlers;
using OfficeDevPnP.Core.Framework.Provisioning.Model;
using OfficeDe... |
using System;
using System.ComponentModel;
namespace Fissoft.Attributes
{
[AttributeUsage(AttributeTargets.Field)]
public class GlobalCodeAttribute : DescriptionAttribute
{
public GlobalCodeAttribute(string description) : base(description)
{
}
/// <summary>
/// ... |
// <snippet15>
using System;
public class ParseSample {
public static void Main() {
Console.WriteLine(Char.Parse("A")); // Output: 'A'
}
}
// </snippet15> |
//
// ExtendedProjectService.cs
//
// Author:
// Matt Ward <matt.ward@xamarin.com>
//
// Copyright (c) 2014 Xamarin Inc. (http://xamarin.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 t... |
using System;
using System.Reflection;
namespace NetOffice.Build
{
public static class AssemblyEx
{
public static string GetCodebase(this Assembly assembly)
{
return GetCodebase(assembly.Location);
}
public static string GetCodebase(this string path)
{
... |
// 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.Linq;
using Microsoft.AspNetCore.Razor.Language.Legacy;
using Microsoft.AspNetCore.Razor.Language.Syntax;
using Xunit;
namespace Micr... |
using System;
using UnityEngine;
using System.Collections.Generic;
using System.Linq;
using LostPolygon.SpriteSharp.Gui;
using LostPolygon.SpriteSharp.Gui.Internal;
using LostPolygon.SpriteSharp.Processing;
using LostPolygon.SpriteSharp.TightMeshSettings;
using LostPolygon.SpriteSharp.Utility;
using LostPolygon.Sprite... |
// 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.
using System;
using System.Linq;
namespace osu.Game.Rulesets.Mods
{
public class MultiMod : Mod
{
public override string Name => string.Empty;
pu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ReverseSentence
{
class ReverseSentence
{
static void Main(string[] args)
{
}
}
} |
using System;
using Csla;
namespace Invoices.DataAccess.Firebird
{
public partial class ProductEditDal
{
}
} |
// -----------------------------------------------------------------------
// <copyright file="SessionTemplate.cs" company="">
// Copyright 2013 Alexander Soffronow Pagonidis
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
usin... |
namespace SimpleCRM.Entities
{
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.Spatial;
[Table("SalesLT.vGetAllCategories")]
public partial class vGetAllCategory
{
... |
// Copyright (c) 2020 Flucto Team and others. Licensed under the MIT Licence.
// 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.
using System;
using System.Runtime.InteropServices;
using osuTK;
using osuTK.Graphics;
usin... |
@model Host.Advanced.Models.ManageViewModels.SetPasswordViewModel
@{
ViewData["Title"] = "Set password";
ViewData.AddActivePage(ManageNavPages.ChangePassword);
}
<h4>Set your password</h4>
@Html.Partial("_StatusMessage", Model.StatusMessage)
<p class="text-info">
You do not have a local username/password ... |
namespace Nilgiri.Examples
{
using Xunit;
using Nilgiri.Tests.Common;
using static Nilgiri.Assertions;
public partial class ExampleOf_Expect
{
[Fact]
public void To_Be_A()
{
Expect(1).To.Be.A<int>();
Expect(new StubClass()).To.Be.A<StubClass>();
Expect(new StubSubClass()).To.Be.... |
// Copyright (c) 2017 AB4D d.o.o.
//
// 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,... |
//========= Copyright 2016-2018, HTC Corporation. All rights reserved. ===========
using UnityEngine;
using UnityEngine.EventSystems;
namespace HTC.UnityPlugin.Pointer3D
{
[AddComponentMenu("HTC/VIU/UI Pointer/Standalone Raycaster (Standalone Input)", 5)]
public class StandaloneRaycaster : Pointer3DRaycaster... |
using System;
using System.Collections.Concurrent;
using System.Net;
namespace NuGet
{
public class CredentialStore : ICredentialCache
{
private readonly ConcurrentDictionary<Uri, ICredentials> _credentialCache = new ConcurrentDictionary<Uri, ICredentials>();
private static readonly Credentia... |
using System.Web;
using FubuMVC.Core.Http;
using FubuMVC.Core.Http.Cookies;
using FubuMVC.Core.Runtime;
namespace AspNetApplication
{
public class CookieEndpoint
{
public const string CookieName = "Test";
private readonly ICookies _cookies;
private readonly IOutputWriter _writer;
... |
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
namespace BufferTools
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
... |
namespace Playground.Domain.Events
{
public abstract class DomainEvent
{
public Metadata Metadata { get; set; }
//protected DomainEvent(Guid aggregateRootId, long version)
//{
// Metadata = new Metadata(aggregateRootId, version, GetType());
//}
}
public abst... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using McMaster.Extensions.CommandLineUtils;
using RazorEngineCore;
using Serilog;
namespace WorldOfZero.DotCom.Generator.VideoExporter
{
class Program
{
// Command line entrypoint
static void Main(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.