text stringlengths 1 932k |
|---|
using System;
using NUnit.Framework;
using TT.Domain.Items.Commands;
using TT.Domain.Items.Entities;
using TT.Domain.Statics;
using TT.Tests.Builders.Item;
using TT.Tests.Builders.Players;
namespace TT.Tests.Items.Entities
{
[TestFixture]
public class ItemTests : TestBase
{
[Test]
public v... |
using UnityEngine;
using UnityEditor;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Diagnostics;
using System.Text.RegularExpressions;
using Debug = UnityEngine.Debug;
namespace Ink.UnityIntegration {
[InitializeOnLoad]
public static class InkCompiler {
publi... |
/*
* 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.Collections;
using System.Collections.Generic;
using UnityEngine;
public class UndergroundLayerHandler : BlockLayerHandler
{
public BlockType undergroundBlockType;
protected override bool TryHandling(ChunkData chunkData, int x, int y, int z, int surfaceHeightNoise, Vector2Int mapSeedOffset)
{
... |
using Morpeh;
using UnityEngine;
using Unity.IL2CPP.CompilerServices;
[Il2CppSetOption(Option.NullChecks, false)]
[Il2CppSetOption(Option.ArrayBoundsChecks, false)]
[Il2CppSetOption(Option.DivideByZeroChecks, false)]
[System.Serializable]
public struct LastTimeComponent : IComponent {
public float LastTimeUsed;
} |
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Serenity
{
public static class FilterOperators
{
/// <summary>true</summary>
public const string IsTrue = "true";
/// <summary>false</summary>
public const string IsFalse = "false";
/// <... |
using System;
using System.Buffers;
using System.Diagnostics;
using System.Runtime.CompilerServices;
using System.Threading;
using NSec.Cryptography.Formatting;
using static Interop.Libsodium;
namespace NSec.Cryptography
{
//
// Ed25519
//
// Digital Signature Algorithm (EdDSA) based on the edwar... |
namespace Ipfs
{
/// <summary>
/// A daemon node on the IPFS network.
/// </summary>
/// <remarks>
/// Equality is based solely on the peer's <see cref="Id"/>.
/// </remarks>
public class Peer : IEquatable<Peer>
{
private static readonly MultiAddress[] noAddress = Array.Empt... |
using Discount.API.Extensions;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Hosting;
namespace Discount.API
{
public class Program
{
public static void Main(string[] args)
{
var host = CreateHostBuilder(args).Build();
host.MigrateDatabase<Program>();
... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Statiq.Common;
namespace Statiq.Core
{
/// <summary>
/// Generates a site map from the input documents.
/// </summary>
/// <remarks>
/// This module gener... |
/**
* Copyright 2013 Canada Health Infoway, Inc.
*
* 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 applicab... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:2.0.50727.1433
//
// Änderungen an dieser Datei können fehlerhaftes Verhalten verursachen und gehen verloren, wenn
// der Code neu gener... |
@{
ViewBag.Title = "Form";
Layout = "~/Views/Shared/_Form.cshtml";
}
<body>
<div class="layuimini-container">
<div class="layuimini-main">
<blockquote class="layui-elem-quote layui-text">
注意!IP地址格式:192.168.0.1;192.168.0.*
</blockquote>
... |
// Copyright (c) .NET Foundation and contributors. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System.IO;
using System.Linq;
using Microsoft.DotNet.Cli.CommandLine;
using Microsoft.DotNet.Tools;
using LocalizableStrings = Microsoft.Do... |
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("05... |
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("OnT... |
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("AWSSDK.Pinpoint")]
[assembly: AssemblyDesc... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web.Http;
namespace MedicAid_MVC
{
public static class WebApiConfig
{
public static void Register(HttpConfiguration config)
{
// Web API configuration and services
// Web API routes
... |
@{
ViewData["Title"] = "Index";
}
<h2>检测类型管理</h2>
<div class="clearfix" style="margin-bottom: 10px;"></div><!-- 清除浮动 -->
<div class="row">
<a asp-action="Create" target="_blank">添加新检测类型</a>
</div>
<div class="clearfix" style="margin-bottom: 10px;"></div>
<div class="row">
<form asp-area="Dev" asp-contr... |
#region Copyright and license information
// Copyright 2010-2011 Jon Skeet
//
// 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
//
// U... |
//*******************************************************************************************************
// Arguments.cs - Gbtc
//
// Tennessee Valley Authority, 2009
// No copyright is claimed pursuant to 17 USC § 105. All Other Rights Reserved.
//
// This software is made freely available under the TVA Open Sou... |
// 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.Collections.Generic;
using NuGet.Insights.ReferenceTracking;
namespace NuGet.Insights.Worker.ReferenceTracking
{
public interface ICle... |
// 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.Collections.Generic;
namespace JIT.HardwareIntrinsics.Arm
{
public static partial cl... |
namespace HAD.Utilities
{
public class Constants
{
public const string HeroCreateMessage = "Created {0} - {1}";
public const string ItemCreateMessage = "Added item - {0} to Hero - {1}";
public const string RecipeCreateMessage = "Added recipe - {0} to Hero - {1}";
}
} |
using AutoMapper;
namespace FileActionsDemo.Web
{
public class FileActionsDemoWebAutoMapperProfile : Profile
{
public FileActionsDemoWebAutoMapperProfile()
{
//Define your AutoMapper configuration here for the Web project.
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using Microsoft.EntityFrameworkCore;
using PMCommonApiModels.RequestModels;
using PMCommonApiModels.ResponseModels;
using PMCommonEntities.Models;
using PMDataSynchronizer;
using PMMarketDat... |
using System;
using System.Text;
using System.Collections.Generic;
namespace SpyUO.Packets
{
public class SellInfoEntry
{
private uint m_Serial;
public uint Serial
{
get { return m_Serial; }
}
private short m_ItemID;
public short ItemID
{
get { return m_ItemID; }
}
private short m_Hue;
... |
/*
* Copyright 2020 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://www.apache.org/licenses/LICENSE-2.0
*
* or in the... |
//------------------------------------------------------------------------------
// <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>
//--... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[RequireComponent(typeof(LineRenderer))]
public class Cannon : Tower
{
public Transform orb;
public float lineDelay = .2f;
public LineRenderer line;
void Reset()
{
line = GetComponent<LineRenderer>();
}
... |
using System.Collections.Generic;
using Google.Maps.Event;
using Google.Maps.Feature.Style;
using Google.Maps.Unity.Intersections;
using UnityEngine;
namespace Google.Maps.Examples {
/// <summary>
/// Applies materials to intersections and removes 3-way intersections.
/// </summary>
[RequireComponent(typeof(Ma... |
// <copyright file="ListDiscountsResponse.cs" company="APIMatic">
// Copyright (c) APIMatic. All rights reserved.
// </copyright>
namespace PagarmeApiSDK.Standard.Models
{
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.IO;
using System.Linq;
using Syste... |
// ------------------------------------------------------------------------------
// <auto-generated>
// Generated by Xsd2Code. Version 3.4.0.18239 Microsoft Reciprocal License (Ms-RL)
// <NameSpace>Mim.V6301</NameSpace><Collection>Array</Collection><codeType>CSharp</codeType><EnableDataBinding>False</EnableDat... |
version https://git-lfs.github.com/spec/v1
oid sha256:c65e9e98689ae6aed9bd536924d85e163d16bf7c262436f02ca69a8f07719d6b
size 2326 |
using System;
using System.Collections.Generic;
using System.Diagnostics.Eventing.Reader;
using System.Text.RegularExpressions;
using Seatbelt.Util;
namespace Seatbelt.Commands.Windows.EventLogs.ExplicitLogonEvents
{
internal class ExplicitLogonEventsCommand : CommandBase
{
public override string Desc... |
using System;
using System.IO;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Schema;
using System.Xml.Serialization;
using AsyncGenerator.Core.FileConfiguration;
using AsyncGenerator.Core.FileConfiguration.Internal;
namespace AsyncGenerator.Core.Configuration
{
public class XmlFileConfigur... |
using System;
using System.Collections.Generic;
using System.IO;
namespace FindWord.Objects
{
public class RepeatCounter
{
public int CountRepeats(string mainString, string searchWord, bool isInclusive, bool isCaseSensitive)
{
int wordCount = 0;
if (searchWord.Contains(" "))
{
int... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using System.Configuration.Provider;
using System.Windows;
using System.Collections.Specialized;
using Microsoft.Win32;
using System.Xml;
using System.IO;
namespace EclipsePOS.WPF.SystemManager.Po... |
/* ****************************************************************************
*
* Copyright (c) Microsoft Corporation.
*
* This source code is subject to terms and conditions of the Apache License, Version 2.0. A
* copy of the license can be found in the License.html file at the root of this distribution. If
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class PlayerAnimationController : MonoBehaviour
{
public Animator myAnimator;
private string currentState;
public string IDLE_ANIMATION = "Idle";
public string RUNNING_ANIMATION = "Running";
public... |
using CodeReaction.Domain;
using CodeReaction.Web.Auth;
using Microsoft.AspNet.Identity;
using Microsoft.AspNet.Identity.Owin;
using Microsoft.Owin.Security;
using System;
using System.Linq;
using System.Net.Http;
using System.Security.Claims;
using System.Web.Http;
namespace CodeReaction.Web.Users
{
public class... |
using Newtonsoft.Json;
namespace Readinizer.Backend.Domain.ModelsJson.HelperClasses
{
public class ModuleNames
{
[JsonProperty("State")]
public string State { get; set; }
[JsonProperty("ValueElementData")]
public string ValueElementData { get; set; }
}
} |
namespace GreasyPlatypusSlapper.DataTypes
{
public partial class TileMapInfo
{
public bool HasCollision;
public string EntityToCreate;
public string Name;
public System.Collections.Generic.List<FlatRedBall.Content.AnimationChain.AnimationFrameSaveBase> EmbeddedAnimation;
... |
// Copyright (c) 2020, Phoenix Contact GmbH & Co. KG
// Licensed under the Apache License, Version 2.0
using System;
using System.Windows;
using System.Windows.Data;
namespace Moryx.WpfToolkit
{
/// <summary>
/// Enum to Boolean or <see cref="Visibility"/> converter
/// </summary>
public class Generic... |
using Unity.Entities;
using Unity.Jobs;
using Unity.Mathematics;
using Unity.Physics;
using UnityEngine;
namespace Systems {
[AlwaysSynchronizeSystem]
public class MovementSystem : JobComponentSystem {
protected override JobHandle OnUpdate(JobHandle inputDeps) {
float deltaTime = Time.DeltaTime;
fl... |
using Newtonsoft.Json;
namespace UtilCli.App.Commands.Weather.Contracts
{
public class Locale
{
public string locale1 { get; set; }
public string locale2 { get; set; }
public string locale3 { get; set; }
public object locale4 { get; set; }
}
public class Location
{... |
namespace HtmlGenerator
{
public enum HtmlDoctypeType
{
Html5,
Html401Strict,
Html401Transitional,
Html401Frameset,
XHtml10Strict,
XHtml10Transitional,
XHtml10Frameset,
XHtml11,
Custom
}
} |
//------------------------------------------------------------------------------
// <auto-generated>
// 由 MSBuild WriteCodeFragment 类生成。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.Assembl... |
using System.ComponentModel;
namespace Gbfs.Net.v1
{
/// <summary>
/// Describes the system pricing.
/// </summary>
[Description("Describes the system pricing.")]
public class SystemPricingPlans : GbfsFile<SystemPricingPlansData>
{
/// <summary>
/// Object containing the data fi... |
/*
* Copyright (c) 2007-2009 SlimDX Group
*
* 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, publi... |
namespace Antrv.FFMpeg.Interop;
partial class LibAvDevice
{
public static int LIBAVDEVICE_VERSION_MAJOR => 59;
public static int LIBAVDEVICE_VERSION_MINOR => 4;
public static int LIBAVDEVICE_VERSION_MICRO => 100;
public static int LIBAVDEVICE_VERSION_INT => LibAvUtil.AV_VERSION_INT(LIBAVDEVICE_VERSIO... |
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace ISV.Migrations
{
public partial class InitEntites : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "Categories",
... |
@using Orchard.Utility.Extensions;
@using Orchard.ContentManagement;
@{
var portfolioPiece = Model.ContentItem;
List<MediaPart> mediaParts = portfolioPiece.PortfolioPiece.PieceMedia.MediaParts;
MediaPart thumb = ((List<MediaPart>)portfolioPiece.PortfolioPiece.ThumbnailImage.MediaParts).FirstOrDefault();
... |
// *********************************************************************
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License
// *********************************************************************
using System;
using System.Collections.Generic;
using System.Linq;
using Syst... |
/*
* 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 Sharp3D.Math.Core;
using treeDiM.Basics;
namespace treeDiM.StackBuilder.Basics
{
public class ConstraintSetPackablePallet : ConstraintSetAbstract
{
public override string AllowedOrientationsString
{
get => "0,0,1";
set => throw new InvalidOperation... |
using System.Threading.Tasks;
using NUnit.Framework;
namespace RequestsNET.Tests
{
public class RedirectTests
{
[Test]
public async Task DontFollowRedirects()
{
var resp = await Requests.Get("http://localhost:9999/redirect-to")
.Parameter("url", "https://google.com... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices.WindowsRuntime;
using Windows.ApplicationModel;
using Windows.ApplicationModel.Activation;
using Windows.Foundation;
using Windows.Foundation.Collections;
using Windows.UI.Xaml;
using Windows.UI.Xam... |
using Kira.LaconicInvoicing.Service.Identity;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.DependencyInjection.Extensions;
using OSharp.AspNetCore;
using OSharp.Core.Packs;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace Kira.Laco... |
using System;
using System.Collections.Generic;
namespace MatterHackers.Agg.UI
{
public class DiagnosticWidget : SystemWindow
{
internal class WidgetInList
{
internal GuiWidget sizeLabel;
internal GuiWidget boundsLabel;
internal WidgetInList(GuiWidget sizeLabel, GuiWidget boundsLabel)
{
this.si... |
// Licensed under MIT No Attribution, see LICENSE file at the root.
// Copyright 2013 Andreas Gullberg Larsen (andreas.larsen84@gmail.com). Maintained at https://github.com/angularsen/UnitsNet.
using System;
using System.Linq;
using CodeGen.Helpers;
using CodeGen.JsonTypes;
namespace CodeGen.Generators.UnitsNetGen
{... |
//
// Copyright (c) Seal Report (sealreport@gmail.com), http://www.sealreport.org.
// Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. http://www.apache.org/licenses/LICENSE-2.0..
//
using System;
using System.Collections.Generic;
using Sy... |
// Copyright (c) Josef Pihrt. 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.Immutable;
using System.Threading;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp;
using Microsoft.C... |
// ----------------------------------------------------------------------------------
//
// 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... |
using System.Collections.Generic;
using Epam.Users.Entities;
namespace Epam.Users.DAL.Interface
{
public interface IAwardDao
{
void Add(Award award);
bool Delete(int id);
Award GetById(int id);
IEnumerable<Award> GetAll();
}
} |
using System;
using System.Collections.Generic;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using BakeryOrder.Models;
namespace BakeryOrder.Tests
{
[TestClass]
public class OrderTests : IDisposable
{
public void Dispose()
{
Order.ClearAll();
}
[T... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:2.0.50727.42
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------... |
// <auto-generated />
using System;
using Employees.Data;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Employees.Data.Migrations
{
[DbContext(typeof(Empl... |
using System;
using System.IO;
using System.IO.Compression;
using System.Threading.Tasks;
namespace CompressingAndDecompresingFiles
{
class Program
{
static async Task Main(string[] args)
{
Console.WriteLine("***** Compressing and decompressing files *****");
string sou... |
namespace CometUI.Search
{
partial class ImportSearchParamsDlg
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using AutoMapper;
using Test.Database;
using Test.InputModels;
using Test.Repository;
using Test.Models;
using Test.ViewModels;
using System;
using Threax.AspNetCore.Tests;
using Xunit;
using System.Collections.Generic;
namespace Test.Tests
{
public static partial class ValueTests
{
private static Mock... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class CommandLine : MonoBehaviour {
private static CommandLine _instance;
public static CommandLine instance
{
get
{
if (_instance == null)
_instance = new CommandLine();
... |
using HotelCalifornia.Domain.Entities;
namespace HotelCalifornia.Domain.Repositories
{
public interface IReservationRepository : IRepository<Reservation>
{
Reservation Insert(Reservation reservation);
}
} |
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing.Printing;
using System.ComponentModel;
using WebKit.Interop;
using System.Drawing;
using System.Windows.Forms;
namespace WebKit
{
internal class PrintManager
{
private PrintDocument _document;
private IWebF... |
using System;
using System.Windows;
using System.Data;
using System.Xml;
using System.Configuration;
namespace Width_MinWidth_MaxWidth
{
/// <summary>
/// Interaction logic for app.xaml
/// </summary>
public partial class app : Application
{
void AppStartingUp(object sender, StartupEventArgs e)
{
Window1 ... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Common.Models
{
public class CubePatternSegments : IEnumerable<(String Pattern, Int32 Variations, Int32 Occurrences)>
{
internal Dictionary<String, Dictionary<String, Dictionary<St... |
namespace veritabaniProje
{
partial class satisRapor
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
/... |
namespace AcadLib.Tables.Google
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Autodesk.AutoCAD.DatabaseServices;
using DynamicData;
using global::Google.Apis.Sheets.v4.Data;
using GoogleDoc;
using NetLi... |
using System.Collections.Generic;
using NUnit.Framework;
using Antlr4.Runtime;
using LL.AST;
using LL.Exceptions;
using LL.Helper;
namespace LL.Test
{
[TestFixture]
public class TestCircularDependencyDetection
{
private static readonly string ROOT = "./programs/TestFile13.ll";
private l... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.IO;
using Charlotte.Tools;
namespace Charlotte.Common
{
//
// copied the source file by https://github.com/stackprobe/Factory/blob/master/SubTools/CopyLib.c
//
public static class DDUserDatStrings
{
// Properties... |
using System;
namespace Calculations
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
}
} |
/*
* LeagueClient
*
* 7.23.209.3517
*
* OpenAPI spec version: 1.0.0
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Text;
using System.Collections.Generic;
using System.Runtime.Serialization;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
// 有关程序集的一般信息由以下
// 控制。更改这些特性值可修改
// 与程序集关联的信息。
[assembly: AssemblyTitle("zkGui")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct(... |
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("Co... |
using System;
namespace TDD.Samples.Doubles.Logger
{
public class NullLogger : ILogger
{
public void Log(LogType type, DateTime date, string message)
{
}
}
public class LoggerFactory
{
public static ILogger FileLoggerInstance()
{
ret... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Audio;
[System.Serializable]
public class SoundScriptableObjectScript:ScriptableObject
{
public AudioClip clip;
} |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information
// associated w... |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Copyright (c) Microsoft Corporation. All rights reserved.
/////////////////////////////////////////////////////////... |
namespace Xilium.CefGlue
{
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Runtime.InteropServices;
using Xilium.CefGlue.Interop;
/// <summary>
/// Class used to create and/or parse command line arguments. Arguments with
/// '--', '-' and, on W... |
/**
* Copyright(c) Live2D Inc. All rights reserved.
*
* Use of this source code is governed by the Live2D Open Software license
* that can be found at https://www.live2d.com/eula/live2d-open-software-license-agreement_en.html.
*/
using Live2D.Cubism.Core;
namespace Live2D.Cubism.Framework.Pose
{
public s... |
// <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.Spice.Interfaces.Models
{
using Newtonsoft.Json;
using System.Collections;
using System.Collections.... |
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("KillPlugin")]
[assembly: AssemblyDescripti... |
namespace naive_bayes
{
using System.Collections.Generic;
using System.Text.RegularExpressions;
public class RegexFilter : Segment {
public RegexFilter(string pattern) {
this.pattern = new Regex(pattern);
}
private readonly Regex pattern;
public IEnumerable<str... |
using DevZest.Data.Presenters;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Markup;
// Setting ComVisible to false makes the types in this assembly not visible
// to COM components. If you need to access a type in this assembly from
// COM, set the ComVisible attribute to true o... |
using College.Core.Constants;
namespace ClientApps.Common.Utilities
{
public static class AddressGenerator
{
static public string GenerateAddress()
{
return string.Format(Constants.GenerateAddress.FullAddress,
RandomNumberGenerator.GetRandomValue(8, 999),
... |
using System;
using Pleh.Models;
using Pleh.Services;
using ReactiveUI;
using Pleh.Services.AudioService;
using System.Timers;
using System.Globalization;
namespace Pleh.ViewModels
{
public enum PlayerState
{
Empty,
Paused,
Playing
}
public class PlayerViewModel : ViewModelBas... |
// Copyright (c) Josef Pihrt and Contributors. Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Threading.Tasks;
using Microsoft.CodeAnalysis;
using Microsoft.CodeAnalysis.CSharp.Syntax;
namespace Roslynator.CSharp.Refactorings
{
internal s... |
namespace goo.APIs.Areas.HelpPage.ModelDescriptions
{
public class EnumValueDescription
{
public string Documentation { get; set; }
public string Name { get; set; }
public string Value { get; set; }
}
} |
// Copyright (C) Coconut Lizard Limited. All rights reserved.
using UnrealBuildTool;
public class FindInBlueprintExternal : ModuleRules
{
public FindInBlueprintExternal(ReadOnlyTargetRules Target) : base(Target)
{
PrivateIncludePaths.Add("FindInBlueprintExternal/Classes");
PublicDependencyModuleNames.AddRange... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
namespace AssociationsOther.Controllers
{
public class JobDutiesController : ApiController
{
// Manager reference
Manager m = new Manager();
// GET: api/J... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.