code
stringlengths
1
2.01M
repo_name
stringlengths
3
62
path
stringlengths
1
267
language
stringclasses
231 values
license
stringclasses
13 values
size
int64
1
2.01M
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion namespace Lokad.Cloud.Storage.Shared.Logging { /// <remarks></remarks> public enum LogLevel { /// <summary> Message is intended for deb...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Logging/LogLevel.cs
C#
bsd
907
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Logging { /// <summary> /// Basic logging abstraction. /// </summary> public interface ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Logging/ILog.cs
C#
bsd
1,351
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion namespace Lokad.Cloud.Storage.Shared.Logging { /// <remarks></remarks> public interface ILogProvider { /// <remarks></remarks> ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Logging/ILogProvider.cs
C#
bsd
356
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Policies { sealed class RetryStateWithCount : IRetryState { int _errorCount; ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/RetryStateWithCount.cs
C#
bsd
900
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Policies { interface IRetryState { bool CanRetry(Exception ex); } }
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/IRetryState.cs
C#
bsd
311
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; using System.Collections.Generic; namespace Lokad.Cloud.Storage.Shared.Policies { /// <summary> Fluent API for defining <see cref="Polic...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/ExceptionHandlerSyntax.cs
C#
bsd
4,660
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Policies { sealed class RetryState : IRetryState { readonly Action<Exception> _onRetry...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/RetryState.cs
C#
bsd
572
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System.ComponentModel; namespace Lokad.Cloud.Storage.Shared.Policies { /// <summary> /// Helper class for creating fluent APIs, that hides u...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/Syntax.cs
C#
bsd
3,288
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Policies { /// <summary> This delegate represents <em>catch</em> block.</summary> /// <param na...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/ExceptionHandler.cs
C#
bsd
491
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; using System.Collections.Generic; using System.Threading; namespace Lokad.Cloud.Storage.Shared.Policies { sealed class RetryStateWithSl...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/RetryStateWithSleep.cs
C#
bsd
1,024
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared.Policies { static class RetryPolicy { internal static void Implementation(Action actio...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/RetryPolicy.cs
C#
bsd
953
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; using System.Diagnostics; namespace Lokad.Cloud.Storage.Shared.Policies { /// <summary> /// Policy that could be applied to delegat...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/Policies/ActionPolicy.cs
C#
bsd
5,063
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; using System.IO; namespace Lokad.Cloud.Storage.Shared { /// <summary> /// Generic data serializer interface. /// </summary> ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/IDataSerializer.cs
C#
bsd
1,011
#region (c)2009-2011 Lokad - New BSD license // Company: http://www.lokad.com // This code is released under the terms of the new BSD licence #endregion using System; namespace Lokad.Cloud.Storage.Shared { /// <summary>Pretty format utils.</summary> public static class FormatUtil { stat...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Shared/FormatUtil.cs
C#
bsd
3,951
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; // ReSharper disable UnusedMember.Global // ReSharper disable UnusedMethodReturnValue.Global namespace Lokad.Clou...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Queues/QueueStorageExtensions.cs
C#
bsd
2,063
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Runtime.Serialization; namespace Lokad.Cloud.Storage { /// <summary> /// The purpose of the <see cref="MessageEnvelope"/> is to provide /// ad...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Queues/MessageEnvelope.cs
C#
bsd
595
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Runtime.Serialization; namespace Lokad.Cloud.Storage { /// <summary>The purpose of the <see cref="MessageWrapper"/> is to gracefully /// handle mes...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Queues/MessageWrapper.cs
C#
bsd
677
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Xml.Linq; namespace Lokad.Cloud.Storage { /// <summary>Abstraction of the Queue Storage.</summary> ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Queues/IQueueStorageProvider.cs
C#
bsd
9,981
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Reflection; using System.Security.Cryptography; ...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/BlobStorageProvider.cs
C#
bsd
36,425
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Runtime.Serialization; using System.Xml.Linq; using Lokad.Cloud.St...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/QueueStorageProvider.cs
C#
bsd
40,416
#region Copyright (c) Lokad 2010-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Data.Services.Client; using System.Diagnostics; using System.Linq; using System.Text; using System.Web...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/TableStorageProvider.cs
C#
bsd
30,326
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Storage.Azure { /// <summary> /// Exception indicating that received data has been dete...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/DataCorruptionException.cs
C#
bsd
812
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Linq; using System.Data.Services.Client; using System.Net; using System.Text.RegularExpressions; using System.Threading; using Lokad.Clo...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/AzurePolicies.cs
C#
bsd
13,683
#region Copyright (c) Lokad 2010-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.IO; using System.Linq; using Lokad.Cloud.Storage.Shared; using Microsoft.WindowsAzure.StorageClient; n...
zyyin2005-lokad
Source/Lokad.Cloud.Storage/Azure/FatEntity.cs
C#
bsd
6,799
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Runtime; using Lokad.Cloud.ServiceFabric; using Lokad.Cloud.ServiceFabric.Runtime; namespace Lokad.Cloud.Services { /// <summary> /// Checks...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Services/AssemblyConfigurationUpdateService.cs
C#
bsd
1,481
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.ServiceFabric; using Lokad.Cloud.Storage; namespace Lokad.Cloud.Services { /// <summary> /// Garbage collects temporary items stored...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Services/GarbageCollectorService.cs
C#
bsd
1,894
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Diagnostics; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Services { /// <summary> /// Collects and persists monitoring statistics. ///...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Services/MonitoringService.cs
C#
bsd
969
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.ServiceFabric; using Lokad.Cloud.Storage; using Lokad.Cloud.Storage.Shared.Logging; // HACK: the delayed queue service does not pro...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Services/DelayedQueueService.cs
C#
bsd
1,597
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Diagnostics; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Services { /// <summary> /// Removes monitoring statistics after a retention pe...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Services/MonitoringDataRetentionService.cs
C#
bsd
999
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Security; using System.Xml.XPath; usi...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/CloudLogger.cs
C#
bsd
11,650
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using Lokad.Cloud.Storage; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Cloud Diagnostics Repository /// ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ICloudDiagnosticsRepository.cs
C#
bsd
1,989
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Diagnostics; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Cloud Partition and Worker Monitoring Data Provider /// </summary> ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/PartitionMonitor.cs
C#
bsd
6,108
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Cloud Service Monitoring Instrumentation /// </summary> publ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/IServiceMonitor.cs
C#
bsd
504
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud.Diagnostics { public enum TimeSegmentPeriod { Day, Month } /// <remarks> /// Generated time segments are strictly or...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/TimeSegments.cs
C#
bsd
1,278
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; using Lokad.Cloud.Diagnostics.Persistence; using Lokad.Cloud.Storage; using Microsoft.WindowsAzure; namespace Lokad.Cloud.Di...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/DiagnosticsModule.cs
C#
bsd
1,993
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Collections.Generic; using System.IO; using System.Runtime.Serialization; using System.Text; namespace Lokad.Cloud.Diagnostics.Rsm { /// <remark...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Rsm/RsmReport.cs
C#
bsd
2,022
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Diagnostics.Rsm { [Serializable] [DataContract(Name = "indicator", Namespace = "ht...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Rsm/RsmIndicatorReport.cs
C#
bsd
1,117
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Diagnostics.Rsm { [Serializable] [DataContract(Name = "message", Namespace = "http...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Rsm/RsmMessageReport.cs
C#
bsd
978
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; using Lokad.Diagnostics.Persist; namespace Lokad.Cloud.Diagnostics { [Serializable] [DataContract] public c...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ExecutionProfilingStatistics.cs
C#
bsd
491
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Linq; using System.Collections.Generic; using System.Diagnostics; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Diagnostics { //...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ServiceMonitor.cs
C#
bsd
6,692
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Storage; namespace Lokad.Cloud.Diagnostics.Persistence { internal class ServiceStatisticsName : BlobName<ServiceStatistics> { pu...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Persistence/ServiceStatisticsName.cs
C#
bsd
1,249
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using Lokad.Cloud.Runtime; using Lokad.Cloud.Storage; namespace Lokad.Cloud.Diagnostics.Persist...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Persistence/BlobDiagnosticsRepository.cs
C#
bsd
5,231
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Storage; namespace Lokad.Cloud.Diagnostics.Persistence { internal class PartitionStatisticsName : BlobName<PartitionStatistics> { ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Persistence/PartitionStatisticsName.cs
C#
bsd
1,275
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Storage; namespace Lokad.Cloud.Diagnostics.Persistence { internal class ExecutionProfilingStatisticsName : BlobName<ExecutionProfilingStatisti...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/Persistence/ExecutionProfilingStatisticsName.cs
C#
bsd
1,348
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using Lokad.Cloud.Storage.Shared.Diagnostics; using Lokad.Diagnostics.Persist; namespace Lokad.Cloud...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ExecutionProfilingMonitor.cs
C#
bsd
4,309
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using Lokad.Diagnostics.Persist; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Facade to collect internal an...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/DiagnosticsAcquisition.cs
C#
bsd
2,564
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Cloud Service Monitoring Statistics /// </summary> [Seria...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ServiceStatistics.cs
C#
bsd
1,035
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using Lokad.Diagnostics.Persist; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Extension interface for custo...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/ICloudDiagnosticsSource.cs
C#
bsd
743
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Diagnostics { /// <summary> /// Cloud Partition and Worker Monitoring Statistics /// </summ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Diagnostics/PartitionStatistics.cs
C#
bsd
2,650
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; namespace Lokad.Cloud { /// <summary> /// IoC configuration module for Azure storage and management credentials. /// Rec...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/CloudConfigurationModule.cs
C#
bsd
2,603
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Linq; using System.Runtime.Serialization; using Lokad.Cloud.Storage; using Lokad.Cloud.Storage.Shared.Logging; namespace Lokad.Cloud.Se...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/ScheduledService.cs
C#
bsd
12,165
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud.ServiceFabric { /// <summary>Shared settings for all <see cref="CloudService"/>s.</summary> [AttributeUsage(AttributeTargets.Class...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/CloudServiceSettingsAttribute.cs
C#
bsd
1,165
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.ServiceFabric { /// <summary>Synchronization Lease.</summary> [DataContract] public cl...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/SynchronizationLeaseState.cs
C#
bsd
960
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion namespace Lokad.Cloud.ServiceFabric { /// <summary>Schedule settings for the execution of a <see cref="ScheduledService"/>.</summary> /// <remarks>The implementation is ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/ScheduledServiceSettingsAttribute.cs
C#
bsd
1,270
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion namespace Lokad.Cloud.ServiceFabric { public interface IInitializable { void Initialize(); } }
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/IInitializable.cs
C#
bsd
270
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using Lokad.Cloud.Jobs; using Lokad.Cloud.Runtime; using Lokad.Cloud.Storage; using Lokad.Cloud....
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/CloudService.cs
C#
bsd
10,950
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion namespace Lokad.Cloud.ServiceFabric { /// <summary> /// The execution result of a scheduled action, providing information that /// might be considered for further...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/ServiceExecutionFeedback.cs
C#
bsd
1,073
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; namespace Lokad.Cloud.ServiceFabric { /// <summary>Strongly-type queue service (inheritors ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/QueueService.cs
C#
bsd
7,138
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.Application; using Lokad.Cloud.Runtime; using Lokad.Cloud.Storage; namespace Lokad.Cloud.ServiceFabric.Runtime { /// <remarks> ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/AssemblyLoader.cs
C#
bsd
4,708
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; // IDEA: the message of the exception could be logged in to the cloud logs. // (issue: how to avoid N identical message...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/TriggerRestartException.cs
C#
bsd
1,147
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.IO; using System.Reflection; using System.Security; using System.Threading; using Autofac; using Autofac.Builder; using Lokad.Cloud.Sto...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/SingleRuntimeHost.cs
C#
bsd
7,265
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Threading; using Autofac; using Autofac.Builder; using Autofac.Co...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/Runtime.cs
C#
bsd
10,536
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Linq; using Microsoft.WindowsAzure.ServiceRuntime; namespace Lokad.Cloud.ServiceFabric.Runtime { /// <summary> /// Entry point, hosting the service...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/ServiceFabricHost.cs
C#
bsd
1,924
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using System.Threading; using Lokad.Cloud.Storage.Shared.Diagnostics; using Lokad.Diagnostics; ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/Scheduler.cs
C#
bsd
4,746
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Threading; namespace Lokad.Cloud.ServiceFabric.Runtime { /// <summary> /// Helper class to deal with pathological situations where a ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/Runtime/NoRestartFloodPolicy.cs
C#
bsd
2,157
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion namespace Lokad.Cloud.ServiceFabric { /// <summary>Default settings for the <see cref="QueueService{T}"/>. Once the queue /// service is deployed, settings are stored in...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/QueueServiceSettingsAttribute.cs
C#
bsd
1,553
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; namespace Lokad.Cloud.ServiceFabric { /// <summary>High-priority runtime finalizer. Attempts to finalize key cloud resour...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/ServiceFabric/RuntimeFinalizer.cs
C#
bsd
1,642
using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Jobs { [DataContract(Namespace = "http://schemas.lokad.com/lokad-cloud/jobs/1.1"), Serializable] public class Job { [DataMember(IsRequired = true)] public string JobId { get; set; } } }
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Jobs/Job.cs
C#
bsd
306
using System; using Lokad.Cloud.Storage.Shared.Logging; namespace Lokad.Cloud.Jobs { /// <summary>NOT IMPLEMENTED YET.</summary> public class JobManager { private readonly Storage.Shared.Logging.ILog _log; public JobManager(Storage.Shared.Logging.ILog log) { ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Jobs/JobManager.cs
C#
bsd
1,202
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; namespace Lokad.Cloud { /// <summary> /// IoC module that registers all usually required components, including ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/CloudModule.cs
C#
bsd
1,477
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.Storage; namespace Lokad.Cloud { [Serializable] public class RoleConfigurationSettings : ICloudConfigurationSettings { public st...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/RoleConfigurationSettings.cs
C#
bsd
1,955
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.IO; using System.Linq; using System.Net; using System.Security.Cryptography.X509Certificates; using Lokad.Cloud.Storage; using Microsoft.Wind...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/CloudEnvironment.cs
C#
bsd
4,020
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Diagnostics; using Lokad.Cloud.Storage; namespace Lokad.Cloud.Runtime { public static class CloudStorageExtensions { public sta...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Runtime/CloudStorageExtensions.cs
C#
bsd
1,113
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Storage; namespace Lokad.Cloud.Runtime { /// <remarks> /// The purpose of having a separate class mirroring CloudStorageProviders ///...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Runtime/RuntimeProviders.cs
C#
bsd
1,992
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the fo...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Properties/AssemblyInfo.cs
C#
bsd
834
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; using Autofac.Configuration; namespace Lokad.Cloud { /// <summary> /// Provider factory for standalone use of the cloud storag...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Standalone.cs
C#
bsd
2,663
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Runtime.Serialization; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Storage { /// <summar...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Storage/DelayedQueue.cs
C#
bsd
3,933
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Core; using Autofac.Core.Registration; namespace Lokad.Cloud.Storage { /// <summary> /// Verifies that storage credentials are correct ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Storage/StorageCredentialsVerifier.cs
C#
bsd
1,428
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud.Storage { /// <summary>Simple non-sharded counter shared among several workers.</summary> /// <remarks>The content of the cou...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Storage/BlobCounter.cs
C#
bsd
3,032
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Net; using Autofac; using Autofac.Builder; using Lokad.Cloud.Storage.Shared; using Lokad.Cloud.Management; using Lokad.Cloud.Runtime; u...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Storage/Azure/StorageModule.cs
C#
bsd
6,350
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; namespace Lokad.Cloud.Mock { public class MemoryLogger : Storage.Shared.Logging.ILog { public bool IsEnabled(Storage.Shared.Logging.Log...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Mock/MemoryLogger.cs
C#
bsd
617
using Lokad.Cloud.Management; using Lokad.Cloud.Storage; namespace Lokad.Cloud.Mock { public class MemoryProvisioning : IProvisioningProvider { public bool IsAvailable { get { return false; } } public void SetWorkerInstanceCount(int count) { } public Maybe<int> GetWorkerInstanceCo...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Mock/MemoryProvisioning.cs
C#
bsd
375
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; using Lokad.Cloud.Diagnostics; using Lokad.Cloud.Management; using Lokad.Cloud.Storage; using Lokad.Cloud.Storage.InMemory; ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Mock/MockStorageModule.cs
C#
bsd
1,019
using System; using Lokad.Cloud.Diagnostics; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Mock { public class MemoryMonitor : IServiceMonitor { public IDisposable Monitor(CloudService service) { return new DisposableAction(() => { }); } } }
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Mock/MemoryMonitor.cs
C#
bsd
281
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using Lokad.Cloud.Runtime; using Lokad.Cloud.Storage; using Lokad.Cloud.ServiceFabric.Runtime; namespace Lokad.Cloud.Application { public class...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/CloudApplicationInspector.cs
C#
bsd
2,767
#region Copyright (c) Lokad 2009 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Reflection; namespace Lokad.Cloud.Application { /// <summary>Resolves assemblies by caching assemblies...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/AssemblyResolver.cs
C#
bsd
3,928
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Application { [DataContract(Namespace = "http://schemas.lokad.com/lokad-cloud/applicati...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/CloudApplicationDefinition.cs
C#
bsd
2,163
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Reflection; namespace Lokad.Cloud.Application { /// <summary> /// Utility to inspect assemblies in an isolated AppDomain. ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/AssemblyVersionInspector.cs
C#
bsd
2,161
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.IO; using ICSharpCode.SharpZipLib.Zip; namespace Lokad.Cloud.Application { public class CloudApp...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/CloudApplicationPackageReader.cs
C#
bsd
3,690
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Runtime.Serialization; namespace Lokad.Cloud.Application { [DataContract(Namespace = "http://schemas.lokad.com/lokad-cloud/applicati...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/CloudApplicationAssemblyInfo.cs
C#
bsd
1,328
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Collections.Generic; using System.Reflection; namespace Lokad.Cloud.Application { public class CloudApplicationPackage { public List...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/CloudApplicationPackage.cs
C#
bsd
1,806
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using System.Reflection; using Lokad.Cloud.ServiceFabric; namespace Lokad.Cloud.Application { ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Application/ServiceInspector.cs
C#
bsd
5,776
#region Copyright (c) Lokad 2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Lokad.Cloud.Storage; namespace Lokad.Cloud.Management { /// <summary>Defines an interface to auto-scale your cloud app.</summary> /// <remarks>The implementatio...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/IProvisioningProvider.cs
C#
bsd
1,010
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Linq; using System.Collections.Generic; using Lokad.Cloud.Management.Api10; using Lokad.Cloud.Runtime; using Lokad.Cloud.ServiceFabric; ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudServiceScheduling.cs
C#
bsd
6,231
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using Autofac; using Autofac.Builder; using Lokad.Cloud.Management.Api10; namespace Lokad.Cloud.Management { /// <summary> /// IoC module for Lokad.Cloud manag...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/ManagementModule.cs
C#
bsd
1,494
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Collections.Generic; using System.IO; using System.Linq; using ICSharpCode.SharpZipLib.Zip; using Lokad.Cloud.Application; using Lokad.Cloud.Management...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudAssemblies.cs
C#
bsd
3,494
#region Copyright (c) Lokad 2010-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using System.Security.Cryptography.X509Certificates; using System.ServiceModel.Security; using Sy...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudProvisioning.cs
C#
bsd
12,767
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Text; using Lokad.Cloud.Management.Api10; using Lokad.Cloud.Runtime; using Lokad.Cloud.ServiceFabric.Runtime; using Lokad.Cloud.Storage; ...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudConfiguration.cs
C#
bsd
2,380
#region Copyright (c) Lokad 2009-2010 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System; using System.Collections.Generic; using System.Linq; using Lokad.Cloud.Diagnostics; using Lokad.Cloud.Management.Api10; namespace Lokad.Cloud.Manage...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudStatistics.cs
C#
bsd
2,820
#region Copyright (c) Lokad 2009-2011 // This code is released under the terms of the new BSD licence. // URL: http://www.lokad.com/ #endregion using System.Collections.Generic; using System.Linq; using Lokad.Cloud.Management.Api10; using Lokad.Cloud.Runtime; using Lokad.Cloud.ServiceFabric; using Lokad.Clo...
zyyin2005-lokad
Source/Lokad.Cloud.Framework/Management/CloudServices.cs
C#
bsd
4,633