Skip to content

Commit

Permalink
Update WildCardContainer.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzhang authored May 23, 2019
1 parent a3a1b0d commit b44ec29
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions neo/SmartContract/Manifest/WildCardContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class WildCardContainer<T> : IReadOnlyList<T>
public int Count => _data?.Length ?? 0;

/// <summary>
/// Is will card?
/// Is wildcard?
/// </summary>
public bool IsWildcard => _data is null;

Expand All @@ -32,16 +32,16 @@ private WildCardContainer(T[] data)
}

/// <summary>
/// Create a new WillCardContainer
/// Create a new WildCardContainer
/// </summary>
/// <param name="data">Data</param>
/// <returns>WillCardContainer</returns>
/// <returns>WildCardContainer</returns>
public static WildCardContainer<T> Create(params T[] data) => new WildCardContainer<T>(data);

/// <summary>
/// Create a will card
/// Create a wildcard
/// </summary>
/// <returns>WillCardContainer</returns>
/// <returns>WildCardContainer</returns>
public static WildCardContainer<T> CreateWildcard() => new WildCardContainer<T>(null);

public static WildCardContainer<T> FromJson(JObject json, Func<JObject, T> elementSelector)
Expand Down

0 comments on commit b44ec29

Please sign in to comment.