public ActionsUpdateResource()
 {
     ActionIdsByProcessId  = new Dictionary <string, string[]>();
     DefaultPropertyValues = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
     Overrides             = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
     Links = new LinkCollection();
 }
Example #2
0
 public void WithLinks(LinkCollection links)
 {
     Links.Clear();
     foreach (var link in links)
     {
         Links.Add(link.Key, link.Value);
     }
 }
Example #3
0
        public ActionsUpdateResource()
        {
#pragma warning disable 618
            ActionIdsByProcessId = new Dictionary <string, string[]>();
#pragma warning restore 618
            DefaultPropertyValues = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
            Overrides             = new Dictionary <string, PropertyValueResource>(StringComparer.OrdinalIgnoreCase);
            Links = new LinkCollection();
        }
 public ResourceCollection(IEnumerable <TResource> items, LinkCollection links)
 {
     if (items == null)
     {
         throw new ArgumentNullException("items");
     }
     if (links == null)
     {
         throw new ArgumentNullException("links");
     }
     Items = items.ToList();
     Links = links;
 }
Example #5
0
 public MissingVariableResource()
 {
     Links = new LinkCollection();
 }
Example #6
0
 public TenantsMissingVariablesResource(string tenantId)
 {
     TenantId = tenantId;
     Links    = new LinkCollection();
 }
 public VersionControlBranchResource(string name)
 {
     Name  = name;
     Links = new LinkCollection();
 }
Example #8
0
 public ActionUpdateResultResource()
 {
     Links = new LinkCollection();
 }
Example #9
0
 public TaskResourceCollection(IEnumerable <TaskResource> items, LinkCollection links) : base(items, links)
 {
 }
Example #10
0
 public ValidatedGitReferenceResource(string canonicalName)
 {
     CanonicalName = canonicalName;
     Links         = new LinkCollection();
 }
Example #11
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Resource" /> class.
 /// </summary>
 protected Resource()
 {
     Links = new LinkCollection();
 }