示例#1
0
        public void InitializeTest()
        {
            // Clear out the old fields
            this.UpdatedRanges = new List <UpdateRange>();
            this.ClearedRanges = new List <string>();

            IGoogleSheetsApi googleSheetsApi = this.CreateGoogleSheetsApi();

            this.Generator = this.CreateGenerator(googleSheetsApi);
        }
示例#2
0
 protected override BaseGoogleSheetsGenerator CreateGenerator(IGoogleSheetsApi sheetsApi)
 {
     return(new UCSDGoogleSheetsGenerator(sheetsApi));
 }
示例#3
0
 public BaseGoogleSheetsGenerator(IGoogleSheetsApi sheetsApi)
 {
     this.SheetsApi = sheetsApi;
 }
示例#4
0
 protected abstract BaseGoogleSheetsGenerator CreateGenerator(IGoogleSheetsApi sheetsApi);
示例#5
0
 public TJSheetsGenerator(IGoogleSheetsApi sheetsApi) : base(sheetsApi)
 {
 }
示例#6
0
 protected BaseGoogleSheetsGenerator(IGoogleSheetsApi sheetsApi)
 {
     this.SheetsApi = sheetsApi;
 }
示例#7
0
 public GoogleSheetsGeneratorFactory(IGoogleSheetsApi sheetsApi)
 {
     this.SheetsApi = sheetsApi;
 }