text stringlengths 1 932k |
|---|
using System.Runtime.InteropServices;
namespace Gee.External.Capstone.X86 {
/// <summary>
/// Native X86 Instruction Detail.
/// </summary>
[StructLayout(LayoutKind.Sequential)]
internal struct NativeX86InstructionDetail {
/// <summary>
/// Instruction's Prefix.
///... |
// =========================================================================
// Copyright 2020 EPAM Systems, 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.apach... |
using Plugin.Toasts;
using SudokuApp.Common;
using SudokuApp.Models;
using System.Collections.Generic;
using System.IO;
using System.Threading.Tasks;
using Xamarin.Forms;
namespace SudokuApp.ViewModels
{
/// <summary>
/// SudokuControlのViewModelクラス
/// </summary>
public class SudokuControlViewModel : ... |
namespace IQCare.SCM
{
partial class frmInterStoreTransfer
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System.Configuration;
namespace Iae.Comercial.Creditos.SqlRepositorio
{
public class ConexionRepositorio
{
public static string ObtenerCadenaConexion()
{
return ConfigurationManager.ConnectionStrings["CreditosDB"].ToString();
}
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
namespace SS14.Admin.Helpers
{
public interface IPaginatedList
{
int TotalCount { get; }
int PageIndex { get; }
int PageSize { get; }
int PageCo... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AdapterGOF
{
/// <summary>
/// This class represents an employee of the organization
/// </summary>
public class Employee
{
public int Id { get; set; }
publ... |
using System;
using System.Diagnostics.CodeAnalysis;
using WMD.Game.State.Data;
using WMD.Game.State.Updates;
using WMD.Game.State.Utility;
namespace WMD.Game.Commands
{
/// <summary>
/// The command for the current player purchasing unclaimed land.
/// </summary>
public class PurchaseUnclaimedLandCom... |
using System;
namespace Cratesmith.Utils
{
public interface IGossipContainer<out TSelf> : IGossipContainer
{
/// <summary>
/// Called whenever the container has been changed
/// All changes made to the container while the container is paused are considered a single change that happens ... |
namespace StraightSkeletonNet.Primitives
{
/// <summary>
/// Geometry line in parametric form:
/// x = x_A + t * u_x;
/// y = y_A + t * u_y;
/// where t in R
/// <see href="http://en.wikipedia.org/wiki/Linear_equation" />
/// </summary>
internal struct LineParametri... |
namespace EP.M0 {
public interface Lit<FT> : Exp<FT> {
double getValue();
double Exp<FT>.eval() {
return this.getValue();
}
}
} |
// -----------------------------------------------------------------------
// <copyright file="ITypeRef.cs" company="Ubiquity.NET Contributors">
// Copyright (c) Ubiquity.NET Contributors. All rights reserved.
// Portions Copyright (c) Microsoft Corporation
// </copyright>
// ------------------------------------------... |
using System;
using System.Threading.Tasks;
using NServiceBus;
using SFA.DAS.EmployerAccounts.Messages.Events;
using SFA.DAS.EmployerAccounts.ReadStore.Mediator;
using SFA.DAS.EmployerAccounts.ReadStore.Application.Commands;
namespace SFA.DAS.EmployerAccounts.MessageHandlers.EventHandlers.EmployerAccounts
{
publi... |
#l aes.cake
#l sha.cake
int RunTest(FilePath cavp, FilePath test, string algorithmName, bool cbc = false)
{
Information("Running CAV " + test.FullPath);
int failures = 0;
var lines = System.IO.File.ReadAllLines(test.FullPath);
var modeString = "e";
var key = "";
var iv = "";
var plaintex... |
using System;
using System.Collections.Generic;
using System.Text;
namespace jSignature.Tools
{
/// <summary>
/// This class Converts jSignature data into compressed alphanum base30 string and back.
/// </summary>
public class Base30Converter
{
/// <summary>
/// These chars' place ... |
namespace MobileSRC.MobileRemote
{
partial class TitleBar
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System.Text.Json;
using LinqToDB;
using LinqToDB.Data;
using LinqToDB.Mapping;
using NUnit.Framework;
namespace Tests.UserTests
{
[TestFixture]
public class Issue2000Tests : TestBase
{
public interface ITest1
{
}
public class Test1 : ITest1
{
public int A;
}
[Table(Name = "TestTable")]
p... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using HullDelaunayVoronoi.Delaunay;
using HullDelaunayVoronoi.Primitives;
public class DelaunayGen : MonoBehaviour {
public int NumberOfVertices = 1000;
public float size = 10;
public int seed = 0;
private DelaunayTriangu... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace Ticketly.webapp
{
public partial class Ticketly : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
} |
using System;
using System.Diagnostics;
using System.Windows;
using System.Windows.Input;
using System.Windows.Controls;
using System.ComponentModel;
using Microsoft.Diagnostics.Tracing.Parsers;
using System.Windows.Threading;
using System.IO;
using System.Diagnostics.Tracing;
using System.Text.RegularExpressions;
usi... |
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
namespace AwsLambdaExample.Application
{
public static class ObjectExtensions
{
public static T? Parse<T>(this object? value) where T : class, new()
{
if (value == null)
return null;
try
{
var json = JsonConvert.SerializeObject(val... |
namespace Unosquare.PiGpio.ManagedModel
{
using NativeEnums;
using NativeMethods;
using System;
using System.Linq;
/// <summary>
/// Provides hardware-based PWM services on the pin.
/// </summary>
/// <seealso cref="GpioPinServiceBase" />
public sealed class GpioPinPwmService : Gpi... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace NeverEndingJob.Behaviors
{
public class RotateBehavior : MonoBehaviour
{
#region Enums
public enum AxysRotation
{
X, Y, Z
}
#endregion
#region Variables
... |
using System.Windows;
using System.Windows.Input;
using System.ComponentModel;
using MiniComm.Client.ViewModels;
namespace MiniComm.Client.Views
{
/// <summary>
/// Login.xaml 的交互逻辑
/// </summary>
public partial class Login : Window
{
public static Login LoginWindow;
public Login(... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----------------------------------------... |
using System.Globalization;
using System.Text.Json;
using System.Text.Json.Serialization;
namespace Epoche.Shared.Json;
public sealed class DecimalConverter : JsonConverter<decimal>
{
public static readonly DecimalConverter Instance = new();
public override decimal Read(ref Utf8JsonReader reader, Type typeT... |
using System;
using System.Collections.Generic;
namespace CountriesREader
{
class Country
{
public string Name { get;}
public string Code { get;}
public string Region { get; }
public int Population { get; }
public Country (string name, string code, string region, int p... |
namespace P06_Animals
{
public class Tomcat : Cat
{
public Tomcat(string name, int age) : base(name, age, "Male")
{
}
public override string ProduceSound()
{
return "MEOW";
}
}
} |
using System;
namespace Lsj.Util.Win32.BaseTypes
{
/// <summary>
/// Pointer to <typeparamref name="T"/>.
/// </summary>
/// <typeparam name="T"></typeparam>
/// <remarks>
/// This is not supported in method parameters when use .Net Framework
/// </remarks>
public struct P<T> where T :... |
using System.Collections;
using System.Collections.Generic;
using Tactics.Events;
using Tactics.Models;
using Tactics.Views;
using UnityEngine;
namespace Tactics.Controllers
{
public class MapTeamController : MonoBehaviour
{
public TileEvent addTeamAura;
public MapTeamView mapTeamView;
... |
// *** WARNING: this file was generated by crd2pulumi. ***
// *** 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.Kubernetes.Types.I... |
namespace Covid19nz
{
public partial class AppShell : Xamarin.Forms.Shell
{
public AppShell()
{
InitializeComponent();
}
}
} |
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
namespace AvaloniaDemo;
public class MainWindow : Window
{
public MainWindow()
{
this.InitializeComponent();
#if DEBUG
this.AttachDevTools();
#endif
}
private void InitializeComponent()
{
AvaloniaXamlLoa... |
@using System.Web.Http
@using Murtain.Web.ApiDocument.Areas.HelpPage.Models
@model HelpPageApiModel
@{
var description = Model.ApiDescription;
ViewBag.Title = description.HttpMethod.Method + " " + description.RelativePath;
}
<link type="text/css" href="~/Areas/HelpPage/HelpPage.css" rel="stylesheet" />
<div i... |
using System;
using System.IO;
using System.IO.Abstractions;
using System.Linq;
using RefScout.Core.Logging;
namespace RefScout.Analyzer.Resolvers.Strategies;
public static class ResolverHelper
{
private static (Version? version, string? directoryName) ConvertNameToVersion(string name)
{
try
... |
using System;
using System.Globalization;
using System.Runtime.CompilerServices;
using System.Runtime.Serialization;
using System.Text;
using Orleans.Core;
namespace Orleans.Runtime
{
[Serializable]
public class LegacyGrainId : IEquatable<LegacyGrainId>, IComparable<LegacyGrainId>
{
private static ... |
using FactoryMethod.Contracts;
namespace FactoryMethod.Models
{
public class OtherConcretProduct : IProduct
{
public void DoSomething()
{
/// doing something in OtherConcretProduct way;
}
}
} |
/*
* 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 Foundation;
using GalaSoft.MvvmLight.Ioc;
using GalaSoft.MvvmLight.Views;
using Microsoft.Practices.ServiceLocation;
using UIKit;
namespace NavigationIos
{
// The UIApplicationDelegate for the application. This class is responsible for launching the
// User Interface of the application, as well as list... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Net.Quic.Implementations.MsQuic.Internal;
using System.Net.Security;
using System.Net.Sockets;
using System.Runtime.ExceptionServices;
using Sy... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace System.Threading
{
/// <summary>
/// Contains .NET Native-... |
// ----------------------------------------------------------------------------------------------------
// <copyright file="Apprenda81CallsiteMap.CustomUrlCertificateManager.cs" company="Apprenda, Inc.">
// Copyright (c) Apprenda, Inc. All rights reserved.
// Licensed under the MIT license. See the LICENSE.md in the pr... |
using System.Threading;
using System.Threading.Tasks;
using Elsa.Samples.UserRegistration.Web.Models;
using Elsa.Scripting.Liquid.Messages;
using Fluid;
using MediatR;
namespace Elsa.Samples.UserRegistration.Web.Handlers
{
/// <summary>
/// Configure the Liquid template context to allow access to certain mode... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System.Diagnostics;
using System.Linq;
using Microsoft.AspNetCore.Hosting.Builder;
using Microsoft.AspNetCore.Hosting.Server;
using Microsoft.AspNetCore.Hosting.Server.Features... |
using System;
using System.IO;
using Newtonsoft.Json;
namespace HiddenBitcoin.DataClasses.KeyManagement
{
internal class WalletFileSerializer
{
[JsonConstructor]
private WalletFileSerializer(string encryptedBitcoinPrivateKey, string chainCode, string network)
{
EncryptedSee... |
// Copyright © 2014 onwards, Andrew Whewell
// All rights reserved.
//
// Redistribution and use of this software in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
// * Redistributions of source code must retain the above copyright notice, this l... |
// Copyright (c) 2018 Siegfried Pammer
//
// 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,
// pub... |
using Archipelago.MultiClient.Net.Cache;
using Archipelago.MultiClient.Net.Helpers;
using Archipelago.MultiClient.Net.Models;
using Archipelago.MultiClient.Net.Packets;
using Archipelago.MultiClient.Net.Tests.Stubs;
using NSubstitute;
using NUnit.Framework;
using System.Collections.Generic;
namespace Archipelago.Mult... |
#if UNITY_EDITOR
using UnityEngine;
using UnityEditor;
using System.Collections.Generic;
using System.Reflection;
using System.Linq;
using ParadoxNotion.Serialization;
using ParadoxNotion.Services;
using System.Threading.Tasks;
namespace ParadoxNotion.Design
{
///Proviving a UnityEditor.GenericMenu, shows a com... |
namespace DigitalLearningSolutions.Data.Models
{
public class LinkedFieldChange
{
public LinkedFieldChange(int linkedFieldNumber, string linkedFieldName, string? oldValue, string? newValue)
{
LinkedFieldNumber = linkedFieldNumber;
LinkedFieldName = linkedFieldName;
... |
using UnityEngine;
using System.Collections;
public class CameraScript : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void LateUpdate()
{
if (GameObject.FindObjectOfType<HeroScript>() != null)
this.transform.positi... |
using Microsoft.Extensions.DependencyInjection;
using ServiceRegistryModules;
namespace TestSamples1;
public class TestRegistry1 : AbstractRegistryModule {
public override void ConfigureServices(IServiceCollection services)
=> services.AddTransient<Service>();
public class Service { }
} |
using System;
using System.Collections.Generic;
using System.IO;
using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using GggYoutubeDataApi.Managers;
using Google.Apis.Auth.OAuth2;
using Google.Apis.Services;
using Google.Apis.Upload;
using Google.Apis.YouTube.v3;
using G... |
/*
* Copyright 2010-2013 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... |
namespace ExternalCustomXSLTvsBizTalkMapper {
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"ExternalCustomXSLTvsBizTalkMapper.Order", typeof(global::ExternalCustomXSLTvsBizTalkMapper.Order))]
[Microsoft.XLANGs.BaseTypes.SchemaReference(@"ExternalCustomXSLTvsBizTalkMapper.SAPOrder", typeof(global::Exte... |
// Copyright (c) MASA Stack All rights reserved.
// Licensed under the Apache License. See LICENSE.txt in the project root for license information.
namespace Masa.Auth.Contracts.Admin.Infrastructure.Constants;
public class LdapConsts
{
public const string LDAP_NAME = "Ldap";
} |
// Copyright (c) Argo Zhang (argo@163.com). All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
// Website: https://www.blazor.zone or https://argozhang.github.io/
using Microsoft.AspNetCore.Components;
using Microsoft.Extensions.Localiz... |
using Cabinet.Core.Results;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Cabinet.Core;
namespace Cabinet.Web.Results {
public class UploadSaveResult : ISaveResult {
private readonly string errorMessage;
private UploadSav... |
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Mvc.Testing;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using NServiceBus.Pipeline;
using NServiceBus.Sagas;
using Shouldly;
using Xunit... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Identity.EntityFrameworkCore;
namespace DataAccess
{
// Add profile data for application users by adding properties to the ApplicationUser class
public class Member : IdentityUser
{
... |
/*
* Copyright 2017 Mikhail Shiryaev
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using dnlib.DotNet;
using ClientPlugin.Models;
using ClientPlugin.UI;
namespace ClientPlugin.Providers
{
/// <summary>
/// The assembly helper provides the list of <see cref="ClientPlugin.UI.PluginValue"/> and ModuleDef for ... |
using IOSTSdk.Crypto;
using IOSTSdk.Helpers;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Text;
using System.Threading.Tasks;
namespace IOSTSdk.Test
{
/// <summary>
/// https://github.com/iost-official/go-iost/blob/6958d128390fecd99cd36a90692a7747fc8c0f57/common/serialize_test... |
using System;
namespace NMetrics.Health
{
/// <summary>
/// A template class for an encapsulated service health check. This class is enforced so that all exceptions are caught
/// and handled correctly
/// </summary>
public class HealthCheck
{
public sealed class Result
{
... |
/*
* 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... |
//
// AssemblyInfo.cs
//
// Author:
// Eddy Zavaleta <eddy@mictlanix.com>
//
// Copyright (c) 2014-2016 Eddy Zavaleta, Mictlanix, and contributors.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
/... |
using System.Collections.Generic;
using System.Threading.Tasks;
using JoinRpg.DataModel;
namespace JoinRpg.Services.Interfaces
{
public interface IAccommodationService
{
/// <summary>
/// Adds new room type
/// </summary>
Task<ProjectAccommodationType> SaveRoomTypeAsync(ProjectA... |
using System;
using Grappachu.Core.Drawing;
using Grappachu.Core.Lang.Extensions;
using NUnit.Framework;
using SharpTestsEx;
using Xunit;
namespace Grappachu.Core.Test.Lang
{
[TestFixture]
public class ComparableExtensionsTest
{
[Test]
[TestCase(new object[] { 2, 3, 6 }, ExpectedResult = f... |
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
using System;
using System.Collections.Generic;
namespace EpicCommonUtilities
{
/// <summary>
/// The kinds of statistics that the StatisticalFloat class tracks (or can optionally track, in the case of Median)
/// </summary>
public enum ESta... |
// OData .NET Libraries
// 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/LICE... |
using Castle.DynamicProxy;
using Growl.Connector;
using MonitorWang.Core.Containers;
using MonitorWang.Core.Interfaces.Entities;
namespace MonitorWang.Core.Growl
{
/// <summary>
/// This base class provides the infrastructure for a Growl Notification Finaliser. It provides
/// the logic to see if a finalis... |
using System;
namespace Maincotech.Domain
{
public interface IMayHaveTenant
{
public Guid? TenantId { get; set; }
}
} |
namespace Simulator
{
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using ModuleWrapper;
using Serilog;
using Serilog.Context;
using Simulator.Service;
using System.Threading;
using System.Threading.Tasks;
public class SimulatorModule : IHostedService... |
namespace Neo4jClient
{
public interface IAttachedReference
{
IGraphClient Client { get; }
}
} |
// Copyright (c) .NET Foundation. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace NuGetGallery
{
public interface ICuratedFeedService
... |
using System;
using System.Linq;
using System.Text.RegularExpressions;
namespace RegexMath.Calculation.Operation
{
public abstract class BinaryCalculation : RegexBase
{
private readonly bool _brackets;
protected BinaryCalculation(string pattern,
RegexOptions options = RegexOptions... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace svmsg
{
#region Filters
[Serializable]
public class Filter
{
virtual public bool pass( svc.Service svc )
{
return false;
}
virtual public void deliver( Server msg )
{
}
virtual public Task<svc.Answer> deliverAsk( Server... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FreneticUtilities.FreneticExtensions;
using FreneticUtilities.FreneticToolkit;
namespace DenizenPastingWebsite.Highlighters
{
/// <summary>Helper class to highlight B... |
using System;
namespace TextProcessingFunctions.Core.TextProcesser
{
/// <summary>
/// Represents a token extracted from a text input
/// </summary>
public class TwoGram : IEquatable<TwoGram>
{
#region Constructors
public TwoGram(Token token1, Token token2)
{
if... |
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Resources;
// 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.
[ass... |
// 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.
namespace Microsoft.CodeAnalysis.FindSymbols.Finders
{
internal readonly struct FinderLocation
{
/... |
using Workflow;
namespace Framework.Jab.Boot.Jab;
public class BootScope<T> : IInternalBootScope<T> where T : BootContext
{
public BootScope(IServiceProvider serviceProvider, IWorkflowBuilder<T> workflowBuilder)
{
ServiceProvider = serviceProvider;
WorkflowBuilder = workflowBuilder;
}
... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
using System;
using System.Globalization;
using System.Threading;
using System.Threading.Tasks;
using Azure.Core.Pipeline;
using Azure.Monitor.Query.Models;
namespace Azure.Monitor.Query
{
public class LogsBatchQuery
... |
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Extensions.Logging;
namespace Neko.Utility.IO.Logging
{
/// <summary>
/// 日志记录器接口
/// </summary>
public interface INekoLogger : ILogger, IDisposable
{
/// <summary>
/// 最小记录间隔(单位:毫秒)
/// </su... |
public enum RenderTextureReadWrite // TypeDefIndex: 2926
{
// Fields
public int value__; // 0x0
public const RenderTextureReadWrite Default = 0;
public const RenderTextureReadWrite Linear = 1;
public const RenderTextureReadWrite sRGB = 2;
} |
/* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (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.mozilla.org/MPL/
*... |
/*
Copyright 2012 Michael Edwards
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to i... |
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using ProjectV.IO.Input;
using ProjectV.IO.Output;
using ProjectV.Models.Internal;
using ProjectV.Models.WebService;
namespace ProjectV.TaskService
{
public interface IExecutableTask
{
Guid Id { get; }
int Execution... |
using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using SmallWorld;
using System.Collections.Generic;
using System.Diagnostics;
using System.Xml.Serialization;
using System.IO;
using System.Runtime.Serialization.Formatters.Binary;
namespace UnitTestCore {
[TestClass]
public class TestRound {
... |
/*
* QUANTCONNECT.COM - Democratizing Finance, Empowering Individuals.
* Lean Algorithmic Trading Engine v2.0. Copyright 2014 QuantConnect 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... |
using System;
using System.Collections.Generic;
using System.Text;
namespace Mawor.Net.Interface
{
/// <summary>
/// Transition is the link between identifiable objects. Commonly is used to link two Steps.
/// </summary>
/// <typeparam name="T">type of the identification of the transition</typeparam>
... |
// 03,12,21,30,00,11,22,33
namespace Assets.Scripts.Levels
{
class Advanced24 : GameLevel
{
public Advanced24() : base("Advanced24")
{
Initialize(4, 8);
MapButtons = new int[,]
{
{LIT, GRN, OFF, LIT},
{OFF, LIT, RED, OFF},
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using Unity.WebRTC;
using System;
using System.Linq;
using Unity.WebRTC.Samples;
class StatsSample : MonoBehaviour
{
#pragma warning disable 0649
[SerializeField] private Button callButton;
[SerializeField]... |
// -------------------------------------------------------------------------------------------------
// <copyright file="NinjectServiceHostFactory.cs" company="Ninject Project Contributors">
// Copyright (c) 2009-2017 Ninject Project Contributors. All rights reserved.
//
// Dual-licensed under the Apache License, V... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License. See License.txt in the project root for license information.
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Data.Entity;
namespace Microsoft.OData.Service.Sample.Tripp... |
namespace BlogSharp.CastleExtensions.Tests.DependencyResolvers
{
using Castle.MicroKernel.Handlers;
using Castle.MicroKernel.Registration;
using Castle.Windsor;
using CastleExtensions.DependencyResolvers;
using NUnit.Framework;
/// <summary>
/// Sample service 1
/// </summary>
public class SampleService1
{
... |
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace Aveezo;
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false)]
public class FieldAttribute : Attribute
{
#region Fields
public string Name { get; }
public FieldOptions Options { get; ... |
using Fasterflect;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SignalR.Client.HubProxyObject
{
public static class Task_Extensions
{
public static Task<T> AsTask<T>(this T obj, object state)
{
var tcs... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.CodeAnalysis;
using UdonRabbit.Analyzer.Extensions;
namespace UdonRabbit.Analyzer.Udon
{
public static class UdonAssemblyVersion
{
private const string UdonGuid = "473737f63e15e204aa3a3df7a3a173e3";
... |
/*
* 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.