/// <summary> /// Removes the named flag. /// </summary> /// <param name="appId">identifies the application to use.</param> /// <param name="flag">unique string identifier for this flag.</param> public void RemoveFlag(string appId, string flag) { var flagIdType = new FullyQualifiedFlagIDType { applicationID = appId, flagID = flag }; syncSvc.removeFlag(flagIdType); }
/// <summary> /// Creates a new flag, identified by flagID, that is associated with the named application. /// </summary> /// <param name="appId">identifies the application to use.</param> /// <param name="flag">unique string identifier for this flag.</param> /// <returns>Trues if successful, false if flag is already set.</returns> public bool SetFlag(string appId, string flag) { var flagIdType = new FullyQualifiedFlagIDType { applicationID = appId, flagID = flag }; return(syncSvc.setFlag(flagIdType)); }
/// <summary> /// Creates a new flag, identified by flagID, that is associated with the named application. /// </summary> /// <param name="appId">identifies the application to use.</param> /// <param name="flag">unique string identifier for this flag.</param> /// <returns>Trues if successful, false if flag is already set.</returns> public bool SetFlag(string appId, string flag) { var flagIdType = new FullyQualifiedFlagIDType {applicationID = appId, flagID = flag}; return syncSvc.setFlag(flagIdType); }
/// <summary> /// Removes the named flag. /// </summary> /// <param name="appId">identifies the application to use.</param> /// <param name="flag">unique string identifier for this flag.</param> public void RemoveFlag(string appId, string flag) { var flagIdType = new FullyQualifiedFlagIDType {applicationID = appId, flagID = flag}; syncSvc.removeFlag(flagIdType); }
/// <remarks/> public void setFlagAsync(FullyQualifiedFlagIDType setFlagInput, object userState) { if ((this.setFlagOperationCompleted == null)) { this.setFlagOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetFlagOperationCompleted); } this.InvokeAsync("setFlag", new object[] { setFlagInput}, this.setFlagOperationCompleted, userState); }
/// <remarks/> public void setFlagAsync(FullyQualifiedFlagIDType setFlagInput) { this.setFlagAsync(setFlagInput, null); }
/// <remarks/> public void removeFlagAsync(FullyQualifiedFlagIDType removeFlagInput) { this.removeFlagAsync(removeFlagInput, null); }
/// <remarks/> public System.IAsyncResult BeginsetFlag(FullyQualifiedFlagIDType setFlagInput, System.AsyncCallback callback, object asyncState) { return this.BeginInvoke("setFlag", new object[] { setFlagInput}, callback, asyncState); }