public GetRepeatedFieldCount ( FieldDescriptor field ) : int | ||
field | FieldDescriptor | |
리턴 | int |
/// <summary> /// Returns the number of elements in a repeated extension. /// </summary> public int GetExtensionCount <TExtension>(GeneratedExtensionBase <IList <TExtension> > extension) { return(extensions.GetRepeatedFieldCount(extension.Descriptor)); }
/// <summary> /// Returns the number of elements in a repeated extension. /// </summary> public int GetExtensionCount <TExtension>(GeneratedExtensionLite <TMessage, IList <TExtension> > extension) { VerifyExtensionContainingType(extension); return(extensions.GetRepeatedFieldCount(extension.Descriptor)); }
public override int GetRepeatedFieldCount(FieldDescriptor field) { VerifyContainingType(field); return(fields.GetRepeatedFieldCount(field)); }