Esempio n. 1
0
 public ApplicationStatus(
     ResourceHealthStatus health,
     IEnumerable <ApplicationHistoryItem> history,
     string observedAt,
     ApplicationOperationState operationState,
     string reconciledAt,
     List <ArgoApplicationRelatedResourceStatus> resources,
     string sourceType,
     ArgoApplicationStatusSummary summary,
     ArgoApplicationSyncStatus syncStatus)
 {
     Health = health;
     //History = history;
     ObservedAt     = observedAt;
     OperationState = operationState;
     ReconciledAt   = reconciledAt;
     Resources      = resources;
     SourceType     = sourceType;
     Summary        = summary;
     SyncStatus     = syncStatus;
 }
 protected bool Equals(ArgoApplicationSyncStatus other)
 {
     return(Revision == other.Revision &&
            Status == other.Status);
 }