コード例 #1
0
ファイル: TypeBitSet.cs プロジェクト: secc/RockPlugins
        /// <summary>
        /// Returns true if TypeBitSet instances are equal
        /// </summary>
        /// <param name="input">Instance of TypeBitSet to be compared</param>
        /// <returns>Boolean</returns>
        public bool Equals(TypeBitSet input)
        {
            if (input == null)
            {
                return(false);
            }

            return(base.Equals(input));
        }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Location" /> class.
 /// </summary>
 /// <param name="id">Unique identifier of location object.</param>
 /// <param name="appKey">Six character app code.</param>
 /// <param name="createdAt">Moment when the location was created.</param>
 /// <param name="updatedAt">Moment when the location was updated.</param>
 /// <param name="deletedAt">Moment when the location was deleted.</param>
 /// <param name="title">The title of the location.</param>
 /// <param name="subtitle">The subtitle of the location.</param>
 /// <param name="websiteUrl">The url of the website.</param>
 /// <param name="email">The email of the location.</param>
 /// <param name="phone">The phone number of the location.</param>
 /// <param name="type">type.</param>
 /// <param name="embedded">embedded.</param>
 public Location(Guid?id = default(Guid?), string appKey = default(string), DateTime?createdAt = default(DateTime?), DateTime?updatedAt = default(DateTime?), DateTime?deletedAt = default(DateTime?), string title = default(string), string subtitle = default(string), string websiteUrl = default(string), string email = default(string), string phone = default(string), TypeBitSet type = default(TypeBitSet), LocationEmbedded embedded = default(LocationEmbedded))
 {
     this.Id         = id;
     this.AppKey     = appKey;
     this.CreatedAt  = createdAt;
     this.UpdatedAt  = updatedAt;
     this.DeletedAt  = deletedAt;
     this.Title      = title;
     this.Subtitle   = subtitle;
     this.WebsiteUrl = websiteUrl;
     this.Email      = email;
     this.Phone      = phone;
     this.Type       = type;
     this.Embedded   = embedded;
 }