Download AzureContainerEcho.zip version 1.0.0.0, last updated 08/09/2013 (341.35 KB)

Download
  • md5: 08cb1fda4e8e679d8fec0608417e3910
using System;

namespace Cyotek.AzureContainerEcho
{
  [Serializable]
  public class EchoScheduledTaskOptions : ICloneable
  {
    #region Constructors

    public EchoScheduledTaskOptions()
    {
      this.Id = Guid.NewGuid();
    }

    #endregion

    #region Properties

    public string AccountKey { get; set; }

    public string AccountName { get; set; }

    public bool AllowUploads { get; set; }

    public string ContainerName { get; set; }

    public Guid Id { get; set; }

    public TimeSpan Interval { get; set; }

    public string LocalPath { get; set; }

    #endregion

    #region Members

    public EchoScheduledTaskOptions Clone()
    {
      return (EchoScheduledTaskOptions)this.MemberwiseClone();
    }

    public bool Equals(EchoScheduledTaskOptions obj)
    {
      return obj != null && this.Id == obj.Id && this.AccountName == obj.AccountName && this.AccountKey == obj.AccountKey && this.ContainerName == obj.ContainerName && this.LocalPath == obj.LocalPath && this.AllowUploads == obj.AllowUploads;
    }

    #endregion

    #region ICloneable Members

    object ICloneable.Clone()
    {
      return this.Clone();
    }

    #endregion
  }
}

Donate

Donate