Sitecore.Foundation.Assets.Models.Asset.GetDataLength C# (CSharp) 메소드

GetDataLength() 공개 메소드

public GetDataLength ( ) : long
리턴 long
    public long GetDataLength()
    {
      var total = 0L;

      if (this.File != null)
      {
        total += this.File.Length;
      }

      if (this.Inline != null)
      {
        total += this.Inline.Length;
      }

      if (this.AddOnceToken != null)
      {
        total += this.AddOnceToken.Length;
      }

      return total;
    }
  }