text stringlengths 1 932k |
|---|
using System;
using System.Collections.Generic;
using System.Text;
using Toolbox.Services;
using Toolbox.Tools;
namespace PathFinder.Cosmos.Store.Application
{
public static class CosmosPathFinderOptionExtensions
{
public static void Verify(this ICosmosPathFinderOption option)
{
op... |
// <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
{
using Microsoft.Rest;
using Models;
using Newtonsoft.Json;
using ... |
using SolidEdgeSDK.AddIn;
using SolidEdgeSDK.InteropServices;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
// Please refer to Instructions.txt.
namespace EmptyAddIn
{
// MUST UPDATE MyConstants.cs!
[Guid(MyConstants.AddInGuid), ProgId(MyConstants.Add... |
#region Using directives
using System;
using System.Collections;
using System.Text;
using System.Xml.Serialization;
#if !NUNIT
using Microsoft.VisualStudio.TestTools.UnitTesting;
#else
using NUnit.Framework;
using TestClass = NUnit.Framework.TestFixtureAttribute;
using TestInitialize = NUnit.Framework.SetUpAttribute;
... |
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generi... |
using System;
using System.Diagnostics;
using System.IO;
using System.Threading;
using System.Threading.Tasks;
namespace FFmpeg.NET
{
public class StreamInput : IInputArgument, IProcessExecutionHandler, IDisposable, IAsyncDisposable
{
private const int ChannelClosedHResult = -2147024787;
priva... |
// Copyright (c) Aksio Insurtech. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Aksio.Cratis.Integration;
/// <summary>
/// Defines a builder for building how to handle input changes.
/// </summary>
/// <typeparam name="TModel">Mod... |
using System.Collections.Generic;
using AutoFixture.NUnit3;
using FluentAssertions;
using NUnit.Framework;
using SFA.DAS.FAT.Application.Courses.Queries.GetCourseProviders;
using SFA.DAS.FAT.Domain.Courses;
using SFA.DAS.FAT.Web.Models;
using DeliveryModeType = SFA.DAS.FAT.Web.Models.DeliveryModeType;
using ProviderRa... |
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Tracing;
using System.Net;
using System.Reflection;
using System.Text;
using static System.Buffers.Binary.BinaryPrimitives;
namespace DotNext.Net.Cluster.Consensus.Raft
{
using IO;
using IRaftLog = IO.Log.IAuditTrail<IRaftLogEntry>;
using Log... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Text.RegularExpressions;
using System.Threading.Tasks;
namespace XmlIntelliSense.App.XSemmel
{
public static class XParser
{
/// <summary>
/// Liefert den Namen des Ele... |
namespace Swan.Threading
{
using System;
using System.Threading;
/// <summary>
/// Provides a generic implementation of an Atomic (interlocked) type
///
/// Idea taken from Memory model and .NET operations in article:
/// http://igoro.com/archive/volatile-keyword-in-c-memory-model-explain... |
using UnityEngine;
using System.Collections;
using System.Collections.Generic;
[ExecuteInEditMode]
public class DecalController : MonoBehaviour {
public Material defaultMaterial;
[HideInInspector]
public List<ProjectedStaticDecal> psdList = new List<ProjectedStaticDecal>();
[HideInInspector]
public List<Pro... |
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
using System.Text;
using Silk.NET.Core;
using Silk.NET.Core.Native;
using Silk.NET.Core.At... |
// Copyright © Tanner Gooding and Contributors. Licensed under the MIT License (MIT). See License.md in the repository root for more information.
// Ported from um/WindowsStorageCOM.h in the Windows SDK for Windows 10.0.22000.0
// Original source is Copyright © Microsoft. All rights reserved.
using NUnit.Framework;
u... |
using Microsoft.EntityFrameworkCore;
using SEDC.NotesApp.Domain.Models;
using System;
using System.Collections.Generic;
using System.Text;
namespace SEDC.NotesApp.Domain
{
public class NotesAppDbContext : DbContext
{
public NotesAppDbContext(DbContextOptions options) : base(options)
{
... |
/*
* 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.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("01.... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
namespace Coderr.Client.Contracts
{
/// <summary>
/// DTO for a context collection
/// </summary>
[DataContract]
public class ContextCollectionDTO
{
private string _name;
... |
// 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.
//
// Microsoft Windows Client Platform
//
//
// Contents: Converter to convert StaticExtensions to InstanceDescr... |
using System;
using System.IO;
namespace Snappy
{
/// <summary>
/// Straightforward wrapper around the underlying native Snappy library.
/// You can compress, uncompress, and validate fixed-size buffers without framing overhead.
/// Methods of this class forward their parameters directly to the native ... |
using System;
using System.Collections.Generic;
using System.Linq;
namespace AdventOfCode2020
{
public static class Day7
{
public static readonly string RelativeInputPath = "Day7/input.txt";
public static readonly string[] RelativeOutputPaths =
{
"Day7/output1.txt",
... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;
namespace Openpay.Utils
{
internal static class ParameterBuilder
{
public static string ApplyParameterToUrl(string url, string argument, string value)
{
UrlUtils urlUtils = new U... |
using System;
using Tweetinvi.Models;
namespace Tweetinvi.Events
{
public enum UserFollowedRaisedInResultOf
{
/// <summary>
/// This case should not happen and is here in case Twitter changes when they trigger the Followed event.
/// If you happen to receive this mode, please report to... |
//------------------------------------------------------------------------------
// <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;
using BehaviorLibrary;
using BehaviorLibrary.Components;
using BehaviorLibrary.Components.Composites;
using BehaviorLibrary.Components.Actions;
using BehaviorLibrary.Components.Conditionals;
using BehaviorLibrary.Components.Decorators;
using BehaviorLibrary.Components.Utility;
namespace BehaviorLibrary.C... |
using System;
using System.Reflection;
using System.Runtime.InteropServices;
using System.Runtime.CompilerServices;
// 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: Asse... |
using System;
namespace Lessons_4
{
class Body : Part
{
public override string Content
{
get
{
if (content != null)
return content;
else
return "Тело документа отсутствует.";
}
... |
using Newtonsoft.Json;
using Newtonsoft.Json.Serialization;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
namespace Sutro.Core.Persistence
{
/// <summary>
/// Special JsonConvert resolver that allows you to ignore properties.
/// </summary>
/// <remarks>
... |
/*
* 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 System;
public class Validator
{
public static void AuthorName(string authorName)
{
string[] names = authorName.Split();
if (names.Length == 2 && Char.IsDigit(names[1][0]))
{
throw new ArgumentException("Author not valid!");
}
}
public static void Ti... |
using System;
using System.Linq;
using System.IO;
using EasyNet.Comment.Logging;
using log4net;
using log4net.Appender;
using log4net.Config;
using log4net.Layout;
namespace EasyNet.Comment.Log4Net
{
/// <summary>Log4Net based logger factory.
/// </summary>
public class Log4NetLoggerFactory : ILoggerFacto... |
using UnityEngine;
using System.Collections;
/// <summary>
/// Base class for all the TB* gesture components (TBDrag, TBTap, TBLongPress, TBSwipe...).
/// Implements commonly use methods and data structures.
///
/// NOTE: the GameObject must have a collider (it's used by the TBInputManager when raycasting into the sc... |
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using NetPro.CsRedis;
using System;
namespace NetPro.Analysic
{
/// <summary>
///
/// </summary>
public static class RequestAnalysisExtensionService
{
/// <summary>
... |
using System;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interop;
using Meshellator.Viewer.Framework.Rendering;
using Meshellator.Viewer.Modules.ModelEditor.ViewModels;
namespace Meshellator.Viewer.Modules.ModelEditor.Views
{
/// <summary>
/// Interaction logic for ModelEditorView.xam... |
// 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.Diagnostics;
using System.Collections.Immutable;
using System.Reflection.Metadata;
namespace System.Re... |
using System.Reflection;
using System.Runtime.InteropServices;
// 어셈블리에 대한 일반 정보는 다음 특성 집합을 통해
// 제어됩니다. 어셈블리와 관련된 정보를 수정하려면
// 이러한 특성 값을 변경하세요.
[assembly: AssemblyTitle("DevFlow.Controls")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyP... |
using System;
using System.Web;
namespace Uintra.Infrastructure.Providers
{
public interface ICookieProvider
{
HttpCookie Get(string name);
void Save(HttpCookie cookie);
void Save(string name, string value, DateTime expireDate);
bool Exists(string name);
void Delete... |
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using Dbg = System.Management.Automation.Diagnostics;
namespace System.Management.Automation
{
/// <summary>
/// This class provides functionality for serializing a PSObject.
/// </summary>
internal class CustomSerialization
... |
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using Sys... |
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="MappingViewModel.cs" company="Catel development team">
// Copyright (c) 2008 - 2017 Catel development team. All rights reserved.
// </copyright>
// ------------------------------... |
using System;
namespace Meziantou.Framework.Globbing.Internals
{
internal sealed class CharacterSetInverseSegment : Segment
{
private readonly StringComparison _stringComparison;
public CharacterSetInverseSegment(string set, bool ignoreCase)
{
Set = set;
_strin... |
using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;
// Information about this assembly is defined by the following attributes.
// Change them to the values specific to your project.
[assembly: AssemblyTitle ("SampleStopwatch")]
[assembly: AssemblyDescription ("")]
[assembly: AssemblyConf... |
using System.Collections.Generic;
using System.Linq;
namespace csharpcore
{
public class GildedRose
{
private readonly Dictionary<string, IItemCategory> _categories;
private readonly IItemCategory _defaultCategory;
private readonly List<Item> _items;
public GildedRose(IEnumera... |
/*
* service.proto
*
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: version not set
*
* Generated by: https://github.com/swagger-api/swagger-codegen.git
*/
using System;
using System.Linq;
using System.IO;
using System.Text;
u... |
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
namespace Lohcoh.Core.ContributionProviders
{
public class ProvidesAttributeHandler
{
/// <summary>
/// Registers the services export from a module
... |
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public abstract class AbilityRenderer : MonoBehaviour
{
protected Vector2 TargetPosition
{
get => targetPosition;
set => targetPosition = value;
}
private Vector2 targetPosition;
public virtual void Upd... |
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("Gam... |
namespace FortnoxNET.Communication.TrustedEmailDomains
{
public class TrustedEmailDomainListRequest : FortnoxApiListedResourceRequest
{
public TrustedEmailDomainListRequest(string accessToken, string clientSecret) : base(accessToken, clientSecret)
{
}
}
} |
using Pure.Core;
using System;
namespace Pure.Implementations.Wallets.EntityFramework
{
internal class Coin : IComparable<Coin>
{
public byte[] TxId { get; set; }
public ushort Index { get; set; }
public byte[] AssetId { get; set; }
public long Value { get; set; }
public... |
//------------------------------------------------------------------------------
// <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;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using NewLife.Threading;
namespace NewLife.Collections
{
/// <summary>字典缓存。当指定键的缓存项不存在时,调用委托获取值,并写入缓存。</summary>
/// <remarks>... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Wing.WeiXin.MP.SDK.Lib.Serialize;
namespace Wing.WeiXin.MP.SDK.Entities.QRCode
{
/// <summary>
/// 临时二维码ticket请求
/// </summary>
public class QRCodeTicketRequest : IEntity
{
/// <summary>
///... |
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel;
using System.Runtime.CompilerServices;
namespace Aldentea.SweetMutus
{
// (0.2.6)
#region ExportTextSettingsクラス
public class ExportTextSettings : Data.IExportQuestionsLi... |
#Thu Jan 06 20:33:14 EET 2022
lib/com.ibm.ws.org.apache.cxf.cxf.rt.rs.service.description.3.2_1.0.59.jar=1ff0bd547d504c393569bbe9eebc96e2
bin/jaxrs/wadl2java=f221daec79188ab703cadeba0f941db0
dev/api/spec/com.ibm.websphere.javaee.jws.1.0_1.0.59.jar=22d5c6844c4c1451262cc608873dd8b1
dev/api/ibm/com.ibm.websphere.appserver... |
using dtos;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace libraries
{
public class Synchronizer
{
public string synchronize_table(string table)
{
RandomAccessLibrary ral = new Rand... |
// 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 Microsoft.AspNet.Builder;
using Microsoft.AspNet.Mvc;
using Microsoft.AspNet.Routing;
using Microsoft.Extensions.DependencyInjection;
using Micros... |
using System;
using System.Net;
namespace Facility.Core.Http
{
/// <summary>
/// Defines the HTTP mapping for a service method response.
/// </summary>
public sealed class HttpResponseMapping<TResponse>
where TResponse : ServiceDto, new()
{
/// <summary>
/// The status code used by this mapping.
/// </sum... |
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Runtime.CompilerServices;
using System.Text;
namespace MinaxWebTranslator.Desktop.ViewModels
{
/// <summary>
/// Base ViewModel with general/comman commands or properties
/// </summary>
public class BaseViewModel : INotifyPro... |
namespace Basic.Azure.Storage.Communications.BlobService
{
public static class BlobServiceConstants
{
private const int Megabye = 1024 * 1024;
public const int MaxSingleBlobUploadSize = 64 * Megabye;
public const int MaxSingleBlockUploadSize = 4 * Megabye;
}
} |
using System;
using Microsoft.Extensions.Options;
using R5T.T0064;
namespace R5T.L0018.D001
{
[ServiceDefinitionMarker]
[UnboundGenericServiceDefinitionMarker(typeof(IOptionsMonitorCache<>))]
public interface IOptionsMonitorCacheUnbound : IServiceDefinition, IUnboundGenericServiceDefinition
{
}... |
using System;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
using System.Runtime.InteropServices.ComTypes;
using NetOffice;
namespace NetOffice.AccessApi
{
#pragma warning disable
#region SinkPoint Interface
[SupportByVersionAttribute("Access", 12,14,15)]
[ComImport, Guid("2E7052... |
/*
* Exchange Web Services Managed API
*
* Copyright (c) Microsoft Corporation
* All rights reserved.
*
* MIT License
*
* 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 restr... |
// Copyright 2011-2015 Chris Patterson, Dru Sellers
//
// 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 ap... |
using System;
using System.Collections.Generic;
using System.Linq;
using Microsoft.Xrm.Client;
using Moq;
using NUnit.Framework;
using Sample.Crm.Entities;
namespace Sample.Crm.Business.Agents.Tests
{
[TestFixture]
public class IncidentsCustomerContactUpdaterTests : CrmBusinessAgentTestBase
{
priv... |
using System;
using System.Collections.Generic;
using System.Numerics;
using MessagePack;
using OPS.Serialization.Attributes;
namespace DefaultNamespace
{
[SerializeAbleClass]
public class CustomPackets
{
/*
public enum PacketsDNA : ushort
{
[Key(7)]
... |
// Copyright (C) 2015-2021 The Neo Project.
//
// The Neo.SmartContract.Framework is free software distributed under the MIT
// software license, see the accompanying file LICENSE in the main directory
// of the project or http://www.opensource.org/licenses/mit-license.php
// for more details.
//
// Redistribution... |
using System;
using System.Collections.Generic;
namespace Wlniao.Handler
{
/// <summary>
/// 错误输出内容
/// </summary>
public class ErrorResponse : ApiResult<String>, Wlniao.Handler.IResponse
{
}
} |
// Copyright (c) Martin Costello, 2015. All rights reserved.
// Licensed under the Apache 2.0 license. See the LICENSE file in the project root for full license information.
namespace MartinCostello.ProjectEuler.Puzzles;
/// <summary>
/// A class containing tests for the <see cref="Puzzle033"/> class. This class can... |
using System;
using System.Linq.Expressions;
using System.Reflection;
using Lux.Extensions;
using Lux.Interfaces;
namespace Lux.Model
{
public class MirrorProperty : IProperty
{
private readonly object _instance;
private readonly PropertyInfo _propertyInfo;
private readonly IConverter ... |
// *** 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.Drawing;
namespace Bloom
{
class Palette
{
public static Color TextAgainstDarkBackground = Color.WhiteSmoke;
public static Color DarkBackground = Color.FromArgb(64, 64, 64);
public static Color SILInternationalBlue = Color.FromArgb(0,101,163);//NB: the "official" RGB is 0,91,163, but all samples... |
/***************************************************************************************
DocX – DocX is the community edition of Xceed Words for .NET
Copyright (C) 2009-2017 Xceed Software Inc.
This program is provided to you under the terms of the Microsoft Public
License (Ms-PL) as published at http:/... |
using System;
using JetBrains.Annotations;
namespace CodeJam.PerfTests.Running.SourceAnnotations
{
/// <summary>
/// Base class for annotation documents
/// </summary>
internal abstract class AnnotationDocument: IDisposable
{
/// <summary>Initializes a new instance of the <see cref="AnnotationDocument"/> clas... |
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
/... |
namespace Ardalis.SmartEnum.Dapper.UnitTests
{
using FluentAssertions;
using Moq;
using System;
using System.Data;
using Xunit;
public class SmartEnumTypeHandlerTests
{
[Fact]
public void SetValue_SetsDbParameterValueToDbNull_GivenNullValue()
{
var typeHa... |
using System;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Authentication.JwtBearer;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.IdentityModel.Tokens;
using Abp.Runtime.Security;
namespace BrandChallenge.We... |
using System.Reflection;
using System.Runtime.CompilerServices;
//
// 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("")]
[assembly: AssemblyDescription(... |
namespace Lucene.Net.Search
{
using NUnit.Framework;
using Directory = Lucene.Net.Store.Directory;
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional informatio... |
using System.Collections.Generic;
using System.Linq;
namespace Barcoder.Utils
{
internal struct BitList
{
#pragma warning disable IDE0032 // Use auto property
private int _count;
#pragma warning restore IDE0032 // Use auto property
private uint[] _data;
/// <summary>
/// Create... |
// *****************************************************************************
//
// (c) Crownwood Consulting Limited 2002
// All rights reserved. The software and associated documentation
// supplied hereunder are the proprietary information of Crownwood Consulting
// Limited, Haxey, North Lincolnshire, Engla... |
using System;
using System.Windows.Forms;
using DirectShowLib;
namespace camtracer
{
public partial class SelectCameraDialog : Form
{
private int _cameraIndex;
private string _cameraName;
public SelectCameraDialog(int camerIndex)
{
_cameraIndex = camerIndex;
... |
/*
* Based on OpenIZ - Based on OpenIZ, Copyright (C) 2015 - 2019 Mohawk College of Applied Arts and Technology
* Portions Copyright 2019-2020, Fyfe Software Inc. and the SanteSuite Contributors (See NOTICE)
*
* Licensed under the Apache License, Version 2.0 (the "License"); you
* may not use this file except i... |
using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using UnityEngine;
using UnityEditor;
namespace LlockhamIndustries.Decals
{
[CustomEditor(typeof(ProjectionRenderer))]
public class ProjectionRendererEditor : Editor
{
//Renderer Properties
intern... |
namespace StudentSystem.Data
{
using StudentSystem.Data.Migrations;
using StudentSystem.Models;
using System.Data.Entity;
public class StudentSystemDbContext : DbContext, IStudentSystemDbContext
{
public StudentSystemDbContext()
: base("StudentSystemConnection")
{
... |
namespace Funcky.Monads;
public static class EitherExtensions
{
/// <summary>Returns the left value or <see cref="Option{TItem}.None()"/> if the <paramref name="either"/> is a right value.</summary>
public static Option<TLeft> LeftOrNone<TLeft, TRight>(this Either<TLeft, TRight> either)
where TLeft : n... |
using NodaTime;
using System;
namespace N3O.Umbraco.Extensions {
public static class LocalDateExtensions {
public static LocalDate EndOfMonth(this LocalDate date) {
var daysInMonth = DateTime.DaysInMonth(date.Year, date.Month);
return new LocalDate(date.Year, date.Month, daysInMon... |
@using Microsoft.AspNetCore.Identity
@using Auth
@using Auth.Data
@namespace Auth.Pages
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers |
//------------------------------------------------------------------------------
// <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;
using System.Linq;
public class EnduranceRally
{
public static void Main()
{
string[] participantInfo = Console.ReadLine()
.Split(new char[] { ' ' }, StringSplitOptions.RemoveEmptyEntries);
double[] zonesInfo = Console.ReadLine().Split(' ')... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
/*
* Copyright(c) 2017 Samsung Electronics Co., Ltd.
*
* 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 ... |
@model IntermediateAssessment.Storage.Exercise
@{
ViewBag.Title = Model.Assessment.Name;
}
<h1>@Model.Assessment.Name</h1>
<h2>Студент</h2>
<table class="table-bordered col-md-6">
<tr>
<td class="bg-light col-2">@Html.DisplayNameFor(model => model.Student.FirstName)</td>
<td class="col-4">@H... |
// <copyright file="ControlHelper.cs" company="PlaceholderCompany">
// Copyright (c) PlaceholderCompany. All rights reserved.
// </copyright>
namespace Dgiot_dtu
{
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Runtime.InteropServices;
using System.Text;
... |
using System;
using System.Collections.Generic;
namespace CustomStack
{
public class StartUp
{
static void Main(string[] args)
{
StackOfStrings stack = new StackOfStrings();
Console.WriteLine(stack.IsEmpty());
stack.AddRange(new List<string>()
{
... |
//------------------------------------------------------------------------------
// This code was generated by a tool.
//
// Tool : Bond Compiler 3.02
// File : SessionStateData_types.cs
//
// Changes to this file may cause incorrect behavior and will be lost when
// the code is regenerated.
// <auto-generated />
/... |
using System;
using System.IO;
using System.Windows.Forms;
using libazuworker;
namespace moe.yo3explorer.azusa.Utilities.BandcampImporter
{
public partial class BandcampImportForm : Form
{
public BandcampImportForm()
{
InitializeComponent();
shelfSelector1.TrySetShelfBy... |
using Akavache;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.ComponentModel;
using System.Linq;
using System.Reactive.Linq;
using System.Text;
using System.Threading.Tasks;
using WTAnalyzer.Models;
using WTAnalyzer.ViewModels;
using WTAnalyzer.XmlHandler;
using Xam... |
using System.Collections.Generic;
using System;
using System.Security.Cryptography;
using SaaSPro.Common.Helpers;
namespace SaaSPro.Domain
{
public class Customer : AuditedEntity
{
public string Hostname { get; set; }
public string FullName { get; set; }
public string Company { get; set; }
public bool Enabl... |
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
using System;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Threading.Tasks;
using Pulumi.Serialization;
names... |
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.269
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//----... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.