public Store(StoreEnum scheme, String address)
 {
     this.scheme = scheme;
     this.address = address;
 }
 public Store(StoreEnum scheme, String address)
 {
     this.scheme  = scheme;
     this.address = address;
 }
        private static Store StoreFrom(Alfresco.RepositoryWebService.Store contentStore)
        {
            StoreEnum scheme = (StoreEnum)StoreEnum.Parse(typeof(StoreEnum), contentStore.scheme.ToString());

            return(new Store(scheme, contentStore.address));
        }
Beispiel #4
0
 public StoreException(StoreEnum status, string message) : base((int)status, message)
 {
 }
Beispiel #5
0
        /// 由ID取得特定Prototype
        public IPrototype Get(StoreEnum store)
        {
            var prototype = (IPrototype)this.prototypes[store].Clone();

            return(prototype);
        }
Beispiel #6
0
 /// 加入新的Prototype
 public void Add(StoreEnum store, IPrototype prototype)
 {
     prototypes.Add(store, prototype);
 }
Beispiel #7
0
 public StoreAnswer(StoreEnum status, string answer, string[] report) : base((int)status, answer, report)
 {
 }
Beispiel #8
0
 public StoreAnswer(StoreEnum status, string answer) : base((int)status, answer)
 {
 }