Class KeychainAttribute
Attribute to add to fields of the Password and Login type to set the service and user (for Password) used for the Keychain.
Inheritance
System.Object
    System.Attribute
    KeychainAttribute
  Implements
System.Runtime.InteropServices._Attribute
  Namespace: sttz.Trimmer.Editor
Assembly: Trimmer-Editor.dll
Syntax
public class KeychainAttribute : Attribute, _Attribute
  Constructors
| Improve this Doc View SourceKeychainAttribute(String, String)
Set the service and user (for fields of type Password) for storing the password in the Keychain.
Declaration
public KeychainAttribute(string keychainInfo, string userLabel = null)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | keychainInfo | Service name and user name separated by a colon.  | 
      
| System.String | userLabel | Override label before user field (does not apply to Password fields).  | 
      
Properties
| Improve this Doc View SourceService
Declaration
public string Service { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
User
Declaration
public string User { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
UserLabel
Declaration
public string UserLabel { get; protected set; }
  Property Value
| Type | Description | 
|---|---|
| System.String | 
Methods
| Improve this Doc View SourceParseKeychainInfo(String, out String, out String)
Declaration
public static void ParseKeychainInfo(string keychainInfo, out string service, out string user)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.String | keychainInfo | |
| System.String | service | |
| System.String | user | 
Implements
      System.Runtime.InteropServices._Attribute