text stringlengths 1 932k |
|---|
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("op... |
// DataRowCollectionTest.cs - NUnit Test Cases for System.DataRowCollection
//
// Authors:
// Franklin Wise (gracenote@earthlink.net)
// Martin Willemoes Hansen (mwh@sysrq.dk)
//
// (C) Copyright 2002 Franklin Wise
// (C) Copyright 2003 Martin Willemoes Hansen
//
//
// Copyright (C) 2004 Novell, Inc (http://www.n... |
using NUnit.Framework;
using Robot;
using Robot.Abstractions;
using RobotRuntime.IO;
using RobotRuntime.Recordings;
using RobotRuntime.Utils;
using System.IO;
using Unity;
namespace Tests.Unit
{
[TestFixture]
public class ModifiedAssetCollectorTests : TestWithCleanup
{
private string TempProjectPa... |
// (c) Xavalon. All rights reserved.
using System.Collections.Generic;
using System.Collections.ObjectModel;
using Xavalon.XamlStyler.MarkupExtensions.Parser;
namespace Xavalon.XamlStyler.MarkupExtensions.Formatter
{
internal class MultiLineMarkupExtensionFormatter : MarkupExtensionFormatterBase
{
int... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace CommonCore.World
{
public interface IControlPlayerCamera
{
Camera GetCamera();
AudioListener GetAudioListener();
}
} |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Media;
using HuntingDog.Core;
namespace HuntingDog.DogFace
{
[ComVisible(false)]
public class Html... |
// <copyright file="CommandAbortingException.cs" company="The Android Open Source Project, Ryan Conrad, Quamotion">
// Copyright (c) The Android Open Source Project, Ryan Conrad, Quamotion. All rights reserved.
// </copyright>
namespace SharpAdbClient.Exceptions
{
using System;
using System.Collections.Generi... |
#if NOT_READY
using System;
using System.Runtime.CompilerServices;
namespace Steep
{
public class Int4StrideList : StrideList<int, int, int, int>
{
public Int4StrideList(int capacity = DefaultCapacity) : base(capacity)
{
}
public ref struct Int4Ref
{
ItemRef4 _itemRef;
public In... |
//Copyright (c) 2010 - 2012, Matthew J Little and contributors.
//All rights reserved.
//
//Redistribution and use 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... |
using GarageManager.Web.Controllers;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace GarageManager.Web.Areas.Admin.Controllers
{
[Area("Admin")]
[Authorize(Roles ="Admin")]
public abstract class BaseAdminController : BaseController
{
}
} |
// 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;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using Microsoft.CodeAnalysis.Text... |
//-----------------------------------------------------------------------------
// Copyright : (c) Chris Moore, 2020
// License : MIT
//-----------------------------------------------------------------------------
namespace Z0
{
using System;
using System.Reflection;
using static core;
public ... |
namespace ComposerAdmin.Forms
{
partial class ACLEditorControl
{
/// <summary>
/// Variabile di progettazione necessaria.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Pulire le risorse in uso.
/// </summa... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
... |
using System;
using System.Text.RegularExpressions;
using System.ComponentModel;
using System.Collections.Generic;
namespace CKAN.ConsoleUI.Toolkit {
/// <summary>
/// Scrollable list of objects
/// </summary>
public class ConsoleListBox<RowT> : ScreenObject {
/// <summary>
/// Initia... |
// <AddedNameSpaces>
using Microsoft.Owin;
using Owin;
using Microsoft.Owin.Security;
using Microsoft.Owin.Security.Cookies;
using Microsoft.Owin.Security.OpenIdConnect;
using Microsoft.Owin.Security.Notifications;
using Microsoft.IdentityModel.Protocols;
using System;
using System.Threading.Tasks;
// </AddedNameSpace... |
/*
* LUSID API
*
*
* The version of the OpenAPI document: 0.11.2810
* Contact: info@finbourne.com
* Generated by: https://github.com/openapitools/openapi-generator.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
using System.Collections;
using System.Collections.Generic;
using Syste... |
using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Windows;
// Allgemeine Informationen über eine Assembly werden über die folgenden
// Attribute gesteuert. Ändern Sie diese Attributwerte, um die Informationen zu ändern,
// die ei... |
/*
* Copyright 2012 Mario Vernari (http://cetdevelop.codeplex.com/)
*
* 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 re... |
using System;
using System.Collections.Generic;
namespace PR2_ListaAlumnos
{
class Carreras
{
public List<Alumnos> alumno;
public Carreras()
{
alumno = new List<Alumnos>();
}
public Alumnos ConsultarPorMatricula(int matricula)
{
for (int... |
using System.Windows.Controls;
namespace Archive.Wpf.View
{
/// <summary>
/// Interaction logic for YesNoPageView.xaml
/// </summary>
public partial class YesNoPageView : UserControl
{
public YesNoPageView()
{
InitializeComponent();
}
}
} |
using System;
using dojo.lib.FootClan;
using dojo.lib.Personas.TurtlePersonas;
using dojo.lib.Pizzas;
using dojo.lib.Weapons.Turtle;
namespace dojo.lib.Turtles
{
public class NinjaTurtle : INinjaTurtle
{
private readonly ITurtleWeapon _weapon;
private readonly IPizza _pizza;
private re... |
using System;
using System.Data.Common;
namespace ApprovalUtilities.Persistence.Database
{
public abstract class SqlLoader<T> : ILoader<T>, IExecutableQuery
{
public readonly Func<DbCommand> CommandCreator;
public readonly string ConnectionString;
protected SqlLoader(string connectionString)
{
this.Conne... |
namespace NSimpleOLAP.Configuration.Fluent
{
/// <summary>
/// Description of CubeSourceBuilder.
/// </summary>
public class CubeSourceBuilder
{
private CubeSourceConfig _element;
public CubeSourceBuilder()
{
_element = new CubeSourceConfig();
}
#region public methods
public ... |
using UnityEditor;
using UnityEngine;
namespace Extension.Editor
{
[CustomPropertyDrawer(typeof(ReadOnlyAttribute))]
public class ReadOnlyDrawer : PropertyDrawer
{
public override float GetPropertyHeight(SerializedProperty property, GUIContent label)
{
return EditorGUI.GetProper... |
using System.Collections.Generic;
using VRChatAPI.Interfaces;
namespace VRChatAPI.Objects
{
public class NotificationID : IDAbstract, INotification
{
public override IEnumerable<string> Prefixes => new List<string> { "frq", "not" };
public static NotificationID Parse(string id) => Parse<NotificationID>(id);
}
... |
// 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;
using System.Linq;
using System.Runtime.CompilerServices;
namespace... |
using System;
using System.IO;
using System.Net;
using System.Threading.Tasks;
using Vk.CSharp.Sdk.Core.Components.Interfaces;
namespace Vk.CSharp.Sdk.Core.Components
{
internal class Browser : IBrowser
{
public async Task<string> GetResponseAsync(string request)
{
using (var respo... |
namespace P10.PopulationCounter
{
using System;
using System.Collections.Generic;
using System.Linq;
public class PopulationCounter
{
public static void Main()
{
var countriesData = new Dictionary<string, Dictionary<string, long>>();
while (true)
... |
using System;
using WorkflowCore.Persistence.EntityFramework;
using WorkflowCore.Persistence.EntityFramework.Interfaces;
using WorkflowCore.Persistence.EntityFramework.Services;
namespace WorkflowCore.Persistence.PostgreSQL
{
public class PostgresContextFactory : IWorkflowDbContextFactory
{
private re... |
using System;
using System.Linq;
using System.Security.AccessControl;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Configuration.Json;
using System.Threading.Tasks;
using System.Threading;
using System.Globalization;
using Newtonsoft.Json;
using Telegram.Bot;
using Telegram.Bot.Exceptions;
usi... |
using GestioneEsercizi.DA.Models;
using Microsoft.EntityFrameworkCore;
using System;
using System.IO;
namespace GestioneEsercizi.DA
{
/// <summary>
/// Classe che imposta le entità del database e configura
/// il percorso di memorizzazione della base di dati.
/// </summary>
public class AppDbConte... |
using System;
using MVCForum.Utilities;
namespace MVCForum.Domain.DomainModel.Activity
{
public enum ActivityType
{
BadgeAwarded,
MemberJoined,
ProfileUpdated,
}
public class Activity : Entity
{
public Activity()
{
Id = GuidComb.Gene... |
namespace EA.Weee.Tests.Core
{
using Domain.Organisation;
using Domain.User;
using System;
public class OrganisationUserHelper
{
public OrganisationUser GetOrganisationUser(Guid userId, UserStatus status)
{
return new OrganisationUser(userId, new Guid(), status);
... |
using Decent.Minecraft.Client;
using System;
using System.Collections.Generic;
using System.Numerics;
using System.Threading.Tasks;
using static System.Math;
namespace Decent.Minecraft.Castle
{
public class Util
{
public Util(IWorld world)
{
World = world;
}
static... |
using CarShop.ViewModels.Cars;
using CarShop.ViewModels.Issues;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CarShop.Services
{
public interface ICarsService
{
IEnumerable<ListAllCarsViewModel> ListAllCars(string userId);... |
using UnityEngine;
using System.Collections;
public class SwingScript : MonoBehaviour {
Rigidbody body;
// Use this for initialization
void Start () {
body = gameObject.transform.FindChild ("Cube").GetComponent<Rigidbody> ();
}
// Update is called once per frame
void Update () {
body.AddForce (0, 0, 10)... |
using Example.Contract;
using Microsoft.Extensions.Configuration;
namespace Example.Mvc.Razor
{
public class AppSettingsConfigurationService: IConfigurationService
{
private readonly IConfiguration configuration;
public AppSettingsConfigurationService(IConfiguration configuration)
{
... |
using System;
using VRageMath;
namespace VRage.ModAPI
{
public interface IMyCamera
{
Vector3D Position { get; }
Vector3D PreviousPosition { get; }
Vector2 ViewportOffset { get; } // Current viewport
Vector2 ViewportSize { get; }
MatrixD ViewMatrix { ... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Logging;
namespace ContosoMaintenance.WebAPI
{
public class Program... |
using Hjson;
using Newtonsoft.Json.Linq;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using Terraria.Localization;
using Terraria.ModLoader.Utilities;
using Terraria.UI;
namespace Terraria.ModLoader
{
public static class LocalizationLoader
{
private static readonly Dict... |
using System;
namespace PBData.Abstractions
{
/// <summary>
/// Defines the length of salts used in cryptographic functions using this parameter.
/// </summary>
public interface ISecuredParametersEntity : IVersionedEntity
{
Int32 SaltLength { get; }
}
} |
// Copyright (c) .NET Foundation. 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.IO;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.WebJobs.... |
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("Qua... |
using System;
using System.Collections.Generic;
using Elasticsearch.Net;
using FluentAssertions;
using Nest;
using Tests.Framework;
using Tests.Framework.Integration;
using Tests.Framework.ManagedElasticsearch.Clusters;
using Tests.Framework.MockData;
using Xunit;
namespace Tests.Document.Single.Exists
{
public clas... |
using System.Security.Cryptography;
namespace Pixelator.Api.Codec.Cryptography
{
internal sealed class Rijndael256Encryption :
ConsiderateCryptoStreamAndRfc2898Encryption<RijndaelManaged>
{
public Rijndael256Encryption(EncryptionOptions options, string password)
: base(
... |
using System;
using System.Text;
namespace StringBuilderSubstring
{
public static class StringBuilderSubstr
{
public static StringBuilder Substring(this StringBuilder strBuilder, int index, int count)
{
string initialstr = strBuilder.ToString();
StringBuilder result = new StringBui... |
// Copyright © 2018-2021 United States Government as represented by the Administrator
// of the National Aeronautics and Space Administration. All Rights Reserved.
using CSPICE;
namespace GSFC.ARVR.SOLARSYSTEM.CELESTIALBODIES.LUNAR.MODEL
{
public class LunarModel : CspiceInterface
{
/* SPICE uses the... |
/*
Copyright 2019 Esri
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 in writing, ... |
using System.Collections.Generic;
namespace ET
{
[ObjectSystem]
public class CoroutineLockQueueAwakeSystem: AwakeSystem<CoroutineLockQueue>
{
public override void Awake(CoroutineLockQueue self)
{
self.queue.Clear();
}
}
[ObjectSystem]
public class Coroutine... |
using System.Collections.Generic;
using XLojaDemo.App.Models;
namespace XLojaDemo.App.Services
{
public static class MenuService
{
public static List<MainMenuItem> GetMainMenuItens()
{
return new List<MainMenuItem>
{
new MainMenuItem { Title = "Cadastrar... |
namespace server
{
partial class Form1
{
/// <summary>
/// Variável de designer necessária.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Limpar os recursos que estão sendo usados.
/// </summary>
///... |
using System;
using FactoryBasedCombatSystem.Interfaces;
using UnityEngine;
namespace FactoryBasedCombatSystem
{
public class ImpDeath : MonoBehaviour, IHitPointsObserver
{
#region Events
public static event Action<Transform> OnImpDeath;
#endregion
#region Interfaces
... |
using System.Net.Sockets;
namespace MTProto
{
public class Waiter
{
private static readonly Socket skt = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.Tcp);
public static void SleepMicro(int microseconds)
{
skt.Poll(microseconds, SelectMode.SelectRe... |
using System;
using System.Collections.ObjectModel;
namespace Android
{
public class SearchViewModel : ViewModelBase
{
IGeolocationService _geolocationViewModel;
ILanguageService _languageService;
public string Address { get; set; }
public ObservableCollection<SearchResultItem> RecentSearch { get; set; }... |
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// <auto-generated/>
#nullable disable
using System.Collections.Generic;
using Azure.Core;
using Azure.ResourceManager.Resources.Models;
namespace Azure.ResourceManager.Compute.Models
{
/// <summary> Specifies inform... |
// Copyright (c) 2014 Daniel Grunwald
//
// Permission is hereby granted, free of charge, to any person obtaining a copy of this
// software and associated documentation files (the "Software"), to deal in the Software
// without restriction, including without limitation the rights to use, copy, modify, merge,
// publ... |
namespace BTCPayServer.Events;
public class InvoiceIPNEvent : IHasInvoiceId
{
public InvoiceIPNEvent(string invoiceId, int? eventCode, string name, bool extendedNotification)
{
InvoiceId = invoiceId;
EventCode = eventCode;
Name = name;
ExtendedNotification = extendedNotification... |
// 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 Xunit;
namespace Microsoft.DotNet.UpgradeAssistant.Extensions.LooseAssembly.Client.Tests
{
public class HashTokenTests
{
[Fact]
public v... |
using System;
using System.Linq.Expressions;
using System.Reflection;
namespace Mvc.Controls.DataTable.Infrastructure.Reflection
{
public static class StaticReflectionHelper
{
public static MethodInfo MethodInfo(this Expression method)
{
var lambda = method as LambdaExpression;
... |
@{
ViewData["Title"] = "Prize";
}
<h1>Prize</h1>
<form method="post" action="https://localhost:5001/Transfer/CreateTransfer" target="HiddenIframe">
<input type="hidden" name="DestinationClientEmail" value="goodguy@a.a" />
<input type="hidden" name="DestinationAccountNumber" value="869af683-1d4c-4667-bd3... |
using System.Collections.Generic;
using Epinova.ElasticSearch.Core.EPiServer.Models.ViewModels.Abstractions;
namespace Epinova.ElasticSearch.Core.EPiServer.Models.ViewModels
{
public class TrackingViewModel : LanguageAwareViewModelBase
{
public TrackingViewModel(string currentLanguage) : base(currentL... |
// *****************************************************************************
// BSD 3-Clause License (https://github.com/ComponentFactory/Krypton/blob/master/LICENSE)
// © Component Factory Pty Ltd, 2006 - 2016, All rights reserved.
// The software and associated documentation supplied hereunder are the
// prop... |
using System.Linq;
using Autodesk.Revit.DB;
using RevitLookup.Forms;
using Form = System.Windows.Forms.Form;
namespace RevitLookup.Core.Snoop.Data
{
public class ViewFiltersOverrideGraphicSettings : Data
{
private readonly View _view;
public ViewFiltersOverrideGraphicSettings(string label, Vi... |
using GroupDocs.Viewer.Exceptions;
using System;
using System.Security.AccessControl;
using System.Security.Principal;
using System.Threading;
namespace GroupDocs.Total.WebForms.Products.Viewer.Cache
{
sealed class CrossProcessLock : IDisposable
{
private const int MaxMutexIdLength = 260;
priv... |
/*
© Siemens AG, 2018
Author: Suzannah Smith (suzannah.smith@siemens.com)
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... |
using System.Text;
using PostSharp.Aspects;
using PostSharp.Serialization;
namespace PostSharp.Samples.Encryption
{
[PSerializable]
[LinesOfCodeAvoided(2)]
public sealed class ReverseAttribute : FilterAttribute
{
public override object ApplyFilter(object value)
{
if (value == null)
return... |
/**
* Copyright 2018 IBM Corp. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law o... |
namespace GameSaveManager.DesktopApp.Helper
{
public class GamesListEntry
{
public string SaveName { get; private set; }
public string PathToFile { get; private set; }
public GamesListEntry(string save, string path)
{
SaveName = save;
PathToFile = 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;
using System.Collections.Generic;
using System.Diagnostics; // for Debug.Assert
namespace System.IO.Packaging
{
/// <summary>
/// This class is used to represe... |
/*
* Copyright (c) Akveo 2019. All Rights Reserved.
* Licensed under the Single Application / Multi Application License.
* See LICENSE_SINGLE_APP / LICENSE_MULTI_APP in the ‘docs’ folder for license information on type of purchased license.
*/
using Codeit.NetStdLibrary.Base.Abstractions.BusinessLogic;
namespace Cod... |
using System;
using System.Collections.Generic;
namespace QuickGraph.Algorithms.Observers
{
/// <summary>
///
/// </summary>
/// <typeparam name="Vertex"></typeparam>
/// <typeparam name="Edge"></typeparam>
/// <reference-ref
/// idref="boost"
/// />
[Serializable]
pub... |
using UnityEngine;
using System.Collections;
public class Golem_Attack_Behaviour : StateMachineBehaviour {
public AI_Elite_01_Script elite;
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state
//override public void OnStateEnter(Animator animator, AnimatorStateInf... |
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Threading.Tasks;
using ApiControleMedico.Modelos;
using ApiControleMedico.Repositorio;
using MongoDB.Driver;
namespace ApiControleMedico.Services
{
public class EspecialidadeService
{
protected readonly DbContexto<Esp... |
using GraphQL.Server.Ui.GraphiQL;
using GraphQL.Server.Ui.Playground;
using GraphQL.Types;
using Micro.AppRegistration.Api.Internal.Configs;
using Micro.AppRegistration.Api.Internal.StartupExtensions;
using Micro.Auth.Sdk;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extension... |
namespace TestWizSigCapt
{
partial class TestWizSigCapt
{
/// <summary>
/// Required designer variable.
/// </summary>
private System.ComponentModel.IContainer components = null;
/// <summary>
/// Clean up any resources being used.
/// </summary>
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace CancellationTokensMVC.Models
{
public class Animal
{
public string Species { get; set; }
public int Classification { get; set; }
}
} |
using System.Collections.Generic;
using System.Diagnostics.Contracts;
namespace System.Net.Http.Headers
{
// The purpose of this type is to extract the handling of general headers in one place rather than duplicating
// functionality in both HttpRequestHeaders and HttpResponseHeaders. The original approach wa... |
using System;
using System.Collections.Generic;
using System.Text;
namespace DgBar.Domain.Commands
{
public class CadastrarNovoProdutoCommand : ProdutoCommand
{
public CadastrarNovoProdutoCommand(string descricao, int valor, int quantidade, int desconto, string observacao)
{
Descri... |
using UnityEngine;
using UnityEngine.UI;
using System.Collections;
using System.Linq;
namespace uREPL
{
public class CompletionView : MonoBehaviour
{
public Window parentWindow { get; set; }
private AnnotationView annotation_;
private float elapsedTimeFromLastSelect_ = 0f;
private const string cont... |
using System;
using System.Runtime.Caching;
using System.Threading;
namespace LazyCacheHelpers
{
/// <summary>
/// BBernard
/// Original Source (MIT License): https://github.com/cajuncoding/LazyCacheHelpers
///
/// Class to support creating cache expiration Policies with helpers to simplify the E... |
using System;
namespace Autumn.Mvc.Models.Queries.Exceptions
{
public class QueryComparisonInvalidComparatorSelectionException: QueryComparisonException
{
public QueryComparisonInvalidComparatorSelectionException(QueryParser.ComparisonContext origin,
Exception innerException = null) : base... |
// 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
// regenerated.
namespac... |
using System.Runtime.CompilerServices;
namespace System.Net.WebRTC {
[Imported, NamedValues]
public enum RTCDataChannelState {
Connecting,
Open,
Closing,
Closed
}
} |
using CopperSharp.Advancements.Predicates;
using Newtonsoft.Json;
namespace CopperSharp.Advancements.Triggers;
/// <summary>
/// Triggers after the player successfully uses the
/// Channeling enchantment on an entity or a lightning rod
/// </summary>
[CriterionName("channeled_lightning")]
public sealed class ... |
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("do... |
using System;
namespace Landis.Library.PnETCohorts
{
public class Hydrology : IHydrology
{
private float water;
private float frozenWaterContent;
private float frozenDepth;
//---------------------------------------------------------------------
// volumetric water (mm/m... |
using Microsoft.AspNetCore.Http;
using NHSD.GPITF.BuyingCatalog.Models;
namespace NHSD.GPITF.BuyingCatalog.Logic
{
public sealed class FrameworksFilter : PassThroughFilterBase<Frameworks>, IFrameworksFilter
{
public FrameworksFilter(IHttpContextAccessor context) :
base(context)
{
}
}
} |
using Harmony;
using RimWorld;
using System;
using System.Reflection;
using UnityEngine;
using Verse;
namespace MapSizes
{
[StaticConstructorOnStartup]
class ModEntry
{
static ModEntry()
{
Log.Message("MoreMapSizes loaded");
Type type = typeof(Dialog_AdvancedGameConfig);
FieldInfo field = type.GetFie... |
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
//
using System;
struct Pad
{
#pragma warning disable 0414
public double d1;
public double d2;
public double d3;
public double d4;
public double d5... |
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace txtparser
{
class ParseUtilities
{
public static void ParseUserandLeads(Player myPlayer, Player Opponent)
{
StreamReader sR = File.OpenText("replay.txt");
string line;
... |
namespace DestroyNobots.Assembler
{
public interface IPointer : IAssemblerInstructionParameter
{
Address Address { get; set; }
int Size { get; }
void SetValue<T>(T value) where T : struct;
void SetValue<T>(int offset, T value) where T : struct;
T GetValue<T>() where T :... |
namespace Equilaterus.GitHubExtension.Provider
{
public interface IGitHubHttpHelper
{
string CallApi(string targetUrl, string token, string method = "GET", string body = null);
bool TryCallApi(string targetUrl, string token, out string apiResponse, string method="GET", string body=null);
}
} |
// 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.Collections.Generic;
using System.IO;
using System.Linq;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;
using Microsoft.NET.Sdk.Workload... |
namespace Conditions.Sql.Abstractions
{
public enum ConditionTypes
{
And,
Or
}
} |
// 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.Net.Http;
using System.Net.Http.Headers;
using Xunit;
namespace Microsoft.AspNet.WebHooks.Extensions
{
public class HttpContentExtens... |
#region
using UnityEngine;
using UnityEngine.Networking;
#endregion
namespace XTCode {
public class PlayerConnectUnitScript : NetworkBehaviour {
public XCDataHolder defaults = new XCDataHolder();
//[SyncVar] // on server change changes alsow on clients
[SyncVar( hook = nameof(OnPlayerNa... |
/*
* 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... |
@model Benday.EasyAuthDemo.WebUi.Models.LookupEditorViewModel
<tr id="@Html.Id("row")">
@Html.HiddenFor(model => model.IsMarkedForDelete)
<td>
@Html.CheckBoxFor(model => model.IsSelected)
</td>
@Html.HiddenFor(model => model.Id)
<td>
<input asp-for="@Model.Display... |
//
// Copyright (C) 2012 EllieWare
//
// All rights reserved
//
// www.EllieWare.com
//
using System.Collections.Generic;
using System.Linq;
using System.Xml;
using System.Xml.Schema;
using EllieWare.Interfaces;
namespace EllieWare.Common
{
public class Specification : ISpecification
{
private readonly IRo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.