internal static ReadOnlyListImpl GetInstance([CallerMemberName] string callerName = "") { var instance = new ReadOnlyListImpl(); InstanceFactory(ref instance, callerName); return(instance); }
public FieldDefinitionCollectionImpl(JToken json) : base(json) { var list = new List <IFieldDefinition>(); foreach (JsonFieldDefinition item in ItemList) { list.Add((FieldDefinitionImpl)item); } Items = new ReadOnlyListImpl <IFieldDefinition>(list); }
static partial void InstanceFactory(ref ReadOnlyListImpl instance, [CallerMemberName] string callerName = "");